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

This program generates a CASToR Look-Up-Table (LUT) containing geometry information related to each crystal of a PET system.
The LUT contains x,y,z cartesian position of the center of each crystals, as well as their transaxial angular orientations.
The LUT files is composed of two files :
(1) A binary file containing for each crystal: Cartesian positions (X,Y,Z) of the center of the crystals, and Vector orientation (X,Y,Z), corresponding to the angular orientation of each crystal (see documentation)
(2) A header file containing several informations about the system.
CASToR algorithms will keep a similar crystal indexation as the LUT was written, and load it in RAM
This script uses a GATE model of a General Electric PET system as example. More...

#include "gVariables.hh"
#include "gOptions.hh"
#include "sOutputManager.hh"
#include "oMatrix.hh"

Go to the source code of this file.

Functions

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

Detailed Description

This program generates a CASToR Look-Up-Table (LUT) containing geometry information related to each crystal of a PET system.
The LUT contains x,y,z cartesian position of the center of each crystals, as well as their transaxial angular orientations.
The LUT files is composed of two files :
(1) A binary file containing for each crystal: Cartesian positions (X,Y,Z) of the center of the crystals, and Vector orientation (X,Y,Z), corresponding to the angular orientation of each crystal (see documentation)
(2) A header file containing several informations about the system.
CASToR algorithms will keep a similar crystal indexation as the LUT was written, and load it in RAM
This script uses a GATE model of a General Electric PET system as example.

Definition in file castor-PetScannerLutEx.cc.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 69 of file castor-PetScannerLutEx.cc.

Here is the call graph for this function:

void ShowHelp ( int  a_returnCode)

Definition at line 48 of file castor-PetScannerLutEx.cc.

Here is the call graph for this function:

Here is the caller graph for this function: