CASToR  2.0
Tomographic Reconstruction (PET/SPECT/CT)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
castor-datafileConversionEx.cc File Reference

This program is an example code providing guidance regarding how to generate a PET CASToR datafile from any system datafile.
It does not perform any conversion by itself and must be adjusted to the conversion of any system dataset. It uses a GATE model of a General Electric PET system as example.
It implements the required calls to CASToR DataFile and Event objects and functions in order to write a dataset in the CASToR format, with or without optionnal correction factors (scatter, random, normalization coefficients, etc). More...

#include "gVariables.hh"
#include "gOptions.hh"
#include "iDataFilePET.hh"
#include "sOutputManager.hh"
#include "sScannerManager.hh"
#include <iomanip>

Go to the source code of this file.

Functions

void ShowHelp (int a_returnCode)
 
int main (int argc, char **argv)
 

Detailed Description

This program is an example code providing guidance regarding how to generate a PET CASToR datafile from any system datafile.
It does not perform any conversion by itself and must be adjusted to the conversion of any system dataset. It uses a GATE model of a General Electric PET system as example.
It implements the required calls to CASToR DataFile and Event objects and functions in order to write a dataset in the CASToR format, with or without optionnal correction factors (scatter, random, normalization coefficients, etc).

Definition in file castor-datafileConversionEx.cc.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 117 of file castor-datafileConversionEx.cc.

Here is the call graph for this function:

void ShowHelp ( int  a_returnCode)

Definition at line 64 of file castor-datafileConversionEx.cc.

Here is the call graph for this function:

Here is the caller graph for this function: