CASToR
1.1
Tomographic Reconstruction (PET/SPECT)
|
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) |
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.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 91 of file castor-datafileConversionEx.cc.
void ShowHelp | ( | int | a_returnCode | ) |
Definition at line 38 of file castor-datafileConversionEx.cc.