CASToR  2.0
Tomographic Reconstruction (PET/SPECT/CT)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
toolkits Directory Reference
Directory dependency graph for toolkits:
toolkits

Files

file  castor-datafileConversionEx.cc [code]
 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).
 
file  castor-datafileExplorer.cc [code]
 This program can be used to explore a datafile, event by event.
 
file  castor-GATEMacToGeom.cc [code]
 This code allows the conversion of a GATE macro file defining a cylindricalPET or ecat geometry into a CASToR ASCII .geom file.
This script currently only supports 'cylindricalPET' and 'ecat' systems.
Two arguments are required :
.
 
file  castor-GATERootToCastor.cc [code]
 This program convert a GATE datafile in root format to a list-mode datafile in CASToR format.
 
file  castor-PetScannerLutEx.cc [code]
 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.
 
file  castor-scannerLUTExplorer.cc [code]
 This program can be used to visualize a scanner Look-Up-Table (geometric position and orientation of the system crystals/pixels), element by element.