STIR  6.2.0
Typedefs | Functions
ctac_to_mu_values.cxx File Reference

Produces an image of mu-values from a CT/CTAC. More...

#include "stir/info.h"
#include "stir/Succeeded.h"
#include "stir/HUToMuImageProcessor.h"
#include "stir/IO/read_from_file.h"
#include "stir/IO/write_to_file.h"
#include "stir/DiscretisedDensity.h"
#include "stir/getopt.h"
#include "stir/warning.h"
#include <string>
#include <exception>

Typedefs

typedef DiscretisedDensity< 3, float > FloatImageType
 

Functions

int main (int argc, char *argv[])
 

Detailed Description

Produces an image of mu-values from a CT/CTAC.

Author
Benjamin A. Thomas
Kris Thielemans
Usage:
ctac_to_mu_values -o output_filename -i input_volume -j slope_filename -m manufacturer_name [-v kilovoltage_peak] -k
target_photon_energy
Default value for tube voltage is 120 kV. For PET, the target_photon_energy has to be 511.

This convert HU to mu-values using a piece-wise linear curve.

See also
HUToMuImageProcessor for details on file format etc
Warning
This utility currently does not implement post-filtering to PET resolution, nor resampling to the PET voxel-size.