8 #ifndef OSENSITIVITYGENERATOR_HH 9 #define OSENSITIVITYGENERATOR_HH 1 11 #include "gVariables.hh" 12 #include "oImageDimensionsAndQuantification.hh" 13 #include "oProjectorManager.hh" 14 #include "oImageConvolverManager.hh" 15 #include "oDeformationManager.hh" 16 #include "oDynamicModelManager.hh" 17 #include "oImageSpace.hh" 18 #include "vDataFile.hh" 19 #include "vDeformation.hh" 20 #include "sOutputManager.hh" 21 #include "vScanner.hh" void SetDataFile(vDataFile **a2p_DataFile)
This class is designed to be a mother virtual class for DataFile.
oImageConvolverManager * mp_ImageConvolverManager
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)
uint64_t * mp_lineCounter
oSensitivityGenerator()
The constructor of oSensitivityGenerator.
int Initialize()
A public function used to initialize the sensitivity generator.
void SetImageConvolverManager(oImageConvolverManager *ap_ImageConvolverManager)
void SetScanner(vScanner *ap_Scanner)
void SetPathToAttenuationImage(string a_pathToAttenuationImage)
bool m_oneNormalizationFileForAllBeds
int m_nbAtnRespGateImages
string GetPathToSensitivityImage()
This function return the path to the sensitivity image.
bool m_oneNormalizationFileForAllFrames
void SetProjectorManager(oProjectorManager *ap_ProjectorManager)
~oSensitivityGenerator()
The destructor of oSensitivityGenerator.
vDataFile *** m3p_NormalizationDataFile
int Launch()
A public function used to launch the sensitivity generator (compute the sensitivity image) ...
void SetVerbose(int a_verboseLevel)
void SetImageDimensionsAndQuantification(oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
void SetDeformationManager(oDeformationManager *ap_DeformationManager)
void SetGPUflag(bool a_flagGPU)
bool m_computeFromHistogramFlag
bool m_inverseDataFileOrderFlag
int m_nbAtnCardGateImages
int ComputeSensitivityFromNormalizationFile(int a_bed)
oDeformationManager * mp_DeformationManager
vector< string > mp_pathToNormalizationFileName
void SetComputeFromHistogramFlag(bool a_computeFromHistogramFlag)
This class is designed to manage the different image convolvers and to apply them.
int InitializeAttenuationFiles()
Initialize the attenuation images provided for sensitivity computation.
int LaunchCPU()
Launch the computation of the sensitivity image (CPU version)
bool m_forwardProjectAttenuation
bool m_mumapAttenuationFlag
void SetImageSpace(oImageSpace *ap_ImageSpace)
oImageSpace * mp_ImageSpace
This class is designed to manage and store system matrix elements associated to a vEvent...
string m_pathToSensitivityImage
void SetPathToNormalizationFileName(vector< string > ap_pathToNormalizationFileName, bool a_inverseDataFileOrderFlag)
This class is designed to manage the projection part of the reconstruction.
This class holds all the matrices in the image domain that can be used in the algorithm: image...
Mother class for the Event objects.
vDataFile ** m2p_DataFile
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. ...
oProjectorManager * mp_ProjectorManager
int ComputeSensitivityFromHistogramDataFile(int a_bed)
oImageDimensionsAndQuantification * mp_ImageDimensionsAndQuantification
int ComputeSensitivityFromScanner(int a_bed)
This class is designed to manage the computation of the sensitivity image.
Generic class for scanner objects.