31 #define VPROJECTOR_HH 1 47 #define USE_TOFHISTO 1 159 int Project(
int a_direction,
oProjectionLine* ap_ProjectionLine, uint32_t* ap_index1, uint32_t* ap_index2,
int a_nbIndices);
424 #define FUNCTION_PROJECTOR(CLASS) \ 425 static vProjector *make_projector() { return new CLASS(); }; 428 #define CLASS_PROJECTOR(NAME,CLASS) \ 429 class NAME##ProjectorCreator \ 432 NAME##ProjectorCreator() \ 433 { sAddonManager::GetInstance()->mp_listOfProjectors[#NAME] = CLASS::make_projector; } \ 435 static NAME##ProjectorCreator ProjectorCreator##NAME;
This header file is mainly used to declare some macro definitions and all includes needed from the st...
bool m_compatibleWithSPECTAttenuationCorrection
Declaration of class oImageDimensionsAndQuantification.
FLTNB GetTOFBinSizeInMm()
This function is used to get the size in mm of a TOF bin.
static void ShowCommonHelp()
This function is used to print out some help about the use of options common to all projectors...
void SetMask(bool *ap_mask)
Set a mask for voxels.
void SetScanner(vScanner *ap_Scanner)
Set the pointer to the scanner in use.
FLTNB m_TOFGaussianNormCoef
oImageDimensionsAndQuantification * mp_ImageDimensionsAndQuantification
This class is designed to generically described any on-the-fly projector.
vProjector()
The constructor of vProjector.
int Initialize()
A public function used to initialize the projector.
bool m_TOFWeightingFcnPrecomputedFlag
bool m_TOFBinProperProcessingFlag
HPFLTNB * mp_TOFWeightingFcn
virtual int ProjectWithoutTOF(int a_direction, oProjectionLine *ap_ProjectionLine)=0
A function to project without TOF.
int Project(int a_direction, oProjectionLine *ap_ProjectionLine, uint32_t *ap_index1, uint32_t *ap_index2, int a_nbIndices)
A function use to computed the projection elements with respect to the provided parameters.
FLTNB GetTOFMeasurementRangeInMm()
This function is used to get the TOF measurement range in mm.
bool GetCompatibilityWithSPECTAttenuationCorrection()
void SetTOFBinSizeInMm(FLTNB a_TOFBinSizeInMm)
This function is used to set the size of a TOF bin in mm.
virtual int CheckSpecificParameters()=0
A private function used to check the parameters settings specific to the child projector.
void SetApplyTOF(int a_applyTOF)
Set the TOF mode.
int ReadCommonOptionsList(const string &a_optionsList)
This function is used to read options common to all projectors given as a string. ...
void SetVerbose(int a_verbose)
Set the verbose level.
Declaration of class oProjectionLine.
virtual void ShowHelpSpecific()=0
A function used to show help about the child module.
virtual ~vProjector()
The destructor of vProjector.
void SetSensitivityMode(bool a_sensitivityMode)
Set the sensitivity mode on or off.
Declaration of class vScanner.
virtual int ProjectTOFHistogram(int a_direction, oProjectionLine *ap_ProjectionLine)=0
A function to project with TOF binned information.
int CheckParameters()
A public function used to check the parameters settings.
virtual int ReadOptionsList(const string &a_optionsList)=0
A function used to read options from a list of options.
FLTNB m_TOFResolutionInMm
virtual int ReadConfigurationFile(const string &a_configurationFile)=0
A function used to read options from a configuration file.
void SetTOFMeasurementRangeInMm(FLTNB a_TOFMeasurementRangeInMm)
This function is used to set the TOF measurement range in mm.
Declaration of class vEvent.
virtual int ProjectTOFListmode(int a_direction, oProjectionLine *ap_ProjectionLine)=0
A function to project with TOF continuous information.
FLTNB GetTOFResolutionInMm()
This function is used to get the TOF resolution in mm.
void SetTOFResolutionInMm(FLTNB a_TOFResolutionInMm)
This function is used to set the TOF resolution in use.
bool GetCompatibilityWithCompression()
This class is designed to manage and store system matrix elements associated to a vEvent...
FLTNB m_TOFPrecomputedSamplingFactor
virtual int InitializeSpecific()=0
A private function used to initialize everything specific to the child projector. ...
FLTNB m_TOFMeasurementRangeInMm
This class is designed to manage all dimensions and quantification related stuff. ...
void SetApplyPOI(bool a_applyPOI)
Set the POI mode.
virtual INTNB EstimateMaxNumberOfVoxelsPerLine()
This function is used to compute and provide an estimate of the maximum number of voxels that could c...
bool m_compatibleWithCompression
void ShowHelp()
A function used to show help about the projector.
int SetImageDimensionsAndQuantification(oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
Set the pointer to the image dimensions in use and copy locally some often use variables.
Generic class for scanner objects.
INTNB m_TOFWeightingFcnNbSamples