STIR  6.2.0
Functions
apply_plane_rescale_factors.cxx File Reference

This program rescales planes of an image according to a file with scale factors. More...

#include "stir/DiscretisedDensity.h"
#include "stir_experimental/multiply_plane_scale_factorsImageProcessor.h"
#include "stir/IO/interfile.h"
#include "stir/Succeeded.h"
#include "stir/stream.h"
#include "stir/IO/read_from_file.h"
#include "stir/warning.h"
#include <fstream>
#include <vector>

Functions

int main (int argc, char **argv)
 

Detailed Description

This program rescales planes of an image according to a file with scale factors.

The scale factors should be given in a file as {plane1, plane2,...}, as written by compute_plane_rescale_factors. Planes are multiplied with the relevant scale factor.

Author
Kris Thielemans