CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
toolkits Directory Reference

Files

file  toolkits/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  toolkits/castor-datafileExplorer.cc [code]
 This program can be used to explore a datafile, event by event.
 
file  toolkits/castor-datafilePosteriorBootstrap.cc [code]
 This program is used to create a resampled histogram datafile for the posterior bootstrap reconstruction see "Reconstruction, analysis and interpretation of posterior probability distributions of PET images, using the posterior bootstrap" by Marina Filipovic et al., PMB 2021.
 
file  toolkits/castor-datafileShuffler.cc [code]
 This program is used to shuffle the events order of a histogram datafile.
 
file  toolkits/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  toolkits/castor-GATERootToCastor.cc [code]
 This program convert a GATE datafile in root format to a list-mode datafile in CASToR format.
 
file  toolkits/castor-imageDynamicTools.cc [code]
 This program convert a GATE datafile in root format to a list-mode datafile in CASToR format.
 
file  castor-includeNormIntoDatafilePET.cc [code]
 This program is used to merge datafiles.
 
file  toolkits/castor-makeReplicates.cc [code]
 This program is used to build replicates of less statistics than the provided input list-mode file.
 
file  toolkits/castor-mergeBedPositions.cc [code]
 This program is used to merge a group of images corresponding to multiple bed positions reconstructed separately.
 
file  castor-norm.cc [code]
 This program is used to compute normalization factors from a histogram datafile.
 
file  toolkits/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  toolkits/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.
 
file  toolkits/castor-sumImages.cc [code]
 This program is used to merge a group of images corresponding to multiple bed positions reconstructed separately.