STIR  6.2.0
Functions
compute_plane_rescale_factors.cxx File Reference

This programme finds plane rescaling factors. More...

#include "stir/DiscretisedDensity.h"
#include "stir/stream.h"
#include "stir/Array.h"
#include "stir/IO/read_from_file.h"
#include "stir/error.h"
#include "stir/warning.h"
#include <fstream>

Functions

int main (int argc, char **argv)
 

Detailed Description

This programme finds plane rescaling factors.

It requires an input image where each plane total should be rescaled to the same number (e.g. a reconstruction of a uniform cylinder). Scale factors are computed as 1/(plane_total/average_plane_total).

Author
Kris Thielemans