9 #ifndef OSENSITIVITYGENERATOR_HH
10 #define OSENSITIVITYGENERATOR_HH 1
oImageSpace * mp_ImageSpace
oImageConvolverManager * mp_ImageConvolverManager
This class is designed to be a mother virtual class for Datafile.
This header file is mainly used to declare some macro definitions and all includes needed from the st...
Declaration of class oDynamicModelManager.
oProjectorManager * mp_ProjectorManager
Declaration of class oImageDimensionsAndQuantification.
void SetPathToAttenuationImage(string a_pathToAttenuationImage)
This function is used to set the path to the attenuation image.
void SetNumberOfAtnGateImages(int a_nbAtnRespGateImages, int a_nbAtnCardGateImages)
int ProcessThisLine(oProjectionLine *ap_Line, vEvent *ap_Event, int a_bed, int a_frame, int a_respGate, int a_cardGate, int a_thread)
This function manages the computation of the sensitivity contribution of the projection line provided...
oSensitivityGenerator()
The constructor of oSensitivityGenerator.
int Initialize()
A public function used to initialize the sensitivity generator.
bool m_oneNormalizationFileForAllBeds
int m_nbAtnRespGateImages
vDataFile *** m3p_NormalizationDataFile
oDeformationManager * mp_DeformationManager
string GetPathToSensitivityImage()
This function return the path to the sensitivity image.
bool m_oneNormalizationFileForAllFrames
void SetDeformationManager(oDeformationManager *ap_DeformationManager)
This function is used to set the pointer to the oDeformationManager in use.
~oSensitivityGenerator()
The destructor of oSensitivityGenerator.
int Launch()
A public function used to launch the sensitivity generator (compute the sensitivity image) ...
void SetVerbose(int a_verboseLevel)
void SetImageConvolverManager(oImageConvolverManager *ap_ImageConvolverManager)
This function is used to set the pointer to the oImageConvolverManager in use.
void SetPathToNormalizationFileName(vector< string > ap_pathToNormalizationFileName, bool a_inverseDataFileOrderFlag)
This function is used to set the path to the normalization file names, and the flag saying if their o...
Declaration of class oImageConvolverManager.
void SetComputeFromHistogramFlag(bool a_computeFromHistogramFlag)
This function is used to set the m_computeFromHistogramFlag.
bool m_computeFromHistogramFlag
bool m_inverseDataFileOrderFlag
int m_nbAtnCardGateImages
Declaration of class vScanner.
int ComputeSensitivityFromNormalizationFile(int a_bed)
Launch the computation of the sensitivity image for this bed, based on normalization data files...
Declaration of class vDataFile.
uint64_t * mp_lineCounter
This class is designed to manage the different image convolvers and to apply them.
int InitializeAttenuationFiles()
Initialize the attenuation images provided for sensitivity computation.
void SetDataFile(vDataFile **a2p_DataFile)
This function is used to set the pointer to the vDataFile array in use.
int LaunchCPU()
Launch the computation of the sensitivity image (CPU version)
bool m_forwardProjectAttenuation
bool m_mumapAttenuationFlag
void SetImageSpace(oImageSpace *ap_ImageSpace)
This function is used to set the pointer to the oImageSpace in use.
void SetScanner(vScanner *ap_Scanner)
This function is used to set the pointer to the vScanner in use.
vDataFile ** m2p_DataFile
This class is designed to manage and store system matrix elements associated to a vEvent...
oImageDimensionsAndQuantification * mp_ImageDimensionsAndQuantification
string m_pathToSensitivityImage
Declaration of class oImageSpace.
This class is designed to manage the projection part of the reconstruction.
Declaration of class sOutputManager.
This class holds all the matrices in the image domain that can be used in the algorithm: image...
Mother class for the Event objects.
string m_pathToAttenuationImage
int InitializeNormalizationFiles()
Initialize the normalization datafiles provided for sensitivity computation.
int CheckParameters()
A public function used to check the parameters settings.
This class is designed to manage all dimensions and quantification related stuff. ...
vector< string > mp_pathToNormalizationFileName
void SetProjectorManager(oProjectorManager *ap_ProjectorManager)
This function is used to set the pointer to the oProjectorManager in use.
void SetImageDimensionsAndQuantification(oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
This function is used to set the pointer to the oImageDimensionsAndQuantification in use...
void SetGPUflag(bool a_flagGPU)
This function is used to set the GPU flag; do we use GPU or not.
int ComputeSensitivityFromHistogramDataFile(int a_bed)
Launch the computation of the sensitivity image for this bed, based on the input histogram data files...
Declaration of class oProjectorManager.
int ComputeSensitivityFromScanner(int a_bed)
Launch the computation of the sensitivity image for this bed, based on a loop over all scanner elemen...
This class is designed to manage the computation of the sensitivity image.
Generic class for scanner objects.