STIR  6.2.0
Functions
attenuation_coefficients_to_projections.cxx File Reference

Takes the logarithm of attenuation coefficients to 'convert' them to line integrals. More...

#include "stir/ProjData.h"
#include "stir/ProjDataInterfile.h"
#include "stir/Viewgram.h"
#include "stir/ArrayFunction.h"
#include "stir/thresholding.h"
#include "stir/warning.h"
#include <iostream>

Functions

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

Detailed Description

Takes the logarithm of attenuation coefficients to 'convert' them to line integrals.

Usage
attenuation_coefficients_to_projections \
     --AF|--ACF <output filename > <input proj_data file name>
Use –AF if input are attenuation factors, –ACF for attenuation correction factors (i.e. the inverse of the former).
Warning
Currently thresholds ACF values to maximum 150 (and AF to minimum 1/150) to prevent log() to grow too large.
Todo:
get threshold from command line
Author
Kris Thielemans