CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
iOptimizerMLMuMap.hh
Go to the documentation of this file.
1 
8 #ifndef iOPTIMIZERMLMUMAP_HH
9 #define iOPTIMIZERMLMUMAP_HH 1
10 
11 #include "gVariables.hh"
12 #include "sAddonManager.hh"
13 #include "vOptimizer.hh"
14 
22 {
23  // -------------------------------------------------------------------
24  // Constructor & Destructor
25  public:
40 
41 
42  // -------------------------------------------------------------------
43  // Public member functions
44  public:
45  // Function for automatic insertion (put the class name as the parameter and do not add semi-column at the end of the line)
57  int ReadConfigurationFile(const string& a_configurationFile);
68  int ReadOptionsList(const string& a_optionsList);
74  int DataStep5ComputeCorrections( oProjectionLine* ap_Line, vEvent* ap_Event,
75  int a_bed, int a_timeFrame, int a_respGate, int a_cardGate,
76  int a_thread );
77 
78  // -------------------------------------------------------------------
79  // Private member functions (pure virtual in vOptimizer)
80  private:
90  void ShowHelpSpecific();
107  int InitializeSpecific();
123  int SensitivitySpecificOperations( FLTNB a_data, FLTNB a_forwardModel, FLTNB* ap_weight,
124  FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue,
125  FLTNB a_quantificationFactor, oProjectionLine* ap_Line );
142  int DataSpaceSpecificOperations( FLTNB a_data, FLTNB a_forwardModel, FLTNB* ap_backwardValues,
143  FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue,
144  FLTNB a_quantificationFactor, oProjectionLine* ap_Line );
160  int ImageSpaceSpecificOperations( FLTNB a_currentImageValue, FLTNB* ap_newImageValue,
161  FLTNB a_sensitivity, FLTNB* ap_correctionValues,
162  INTNB a_voxel, int a_tbf = -1, int a_rbf = -1, int a_cbf = -1 );
163 
164 
165  // -------------------------------------------------------------------
166  // Data members
167  private:
171 };
172 
173 
174 // Class for automatic insertion (set here the visible optimizer's name as the first parameter,
175 // put the class name as the second parameter and do NOT add semi-colon at the end of the line)
177 
178 #endif
179 
int CheckSpecificParameters()
A private function used to check the parameters settings specific to the child optimizer.
~iOptimizerMLMuMap()
The destructor of iOptimizerMLMuMap.
int DataStep5ComputeCorrections(oProjectionLine *ap_Line, vEvent *ap_Event, int a_bed, int a_timeFrame, int a_respGate, int a_cardGate, int a_thread)
Overload of the vOptimizer function. See implementation for more details.
int ImageSpaceSpecificOperations(FLTNB a_currentImageValue, FLTNB *ap_newImageValue, FLTNB a_sensitivity, FLTNB *ap_correctionValues, INTNB a_voxel, int a_tbf=-1, int a_rbf=-1, int a_cbf=-1)
This function perform the image update step specific to the optimizer.
This class implements an adaptation of MLEM to reconstruct an attenuation image from ACF in a PET his...
int SensitivitySpecificOperations(FLTNB a_data, FLTNB a_forwardModel, FLTNB *ap_weight, FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue, FLTNB a_quantificationFactor, oProjectionLine *ap_Line)
This function compute the weight associated to the provided event (for sensitivity computation) ...
int ReadOptionsList(const string &a_optionsList)
A function used to read options from a list of options.
void ShowHelpSpecific()
A function used to show help about the child optimizer.
Declaration of class vOptimizer.
int DataSpaceSpecificOperations(FLTNB a_data, FLTNB a_forwardModel, FLTNB *ap_backwardValues, FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue, FLTNB a_quantificationFactor, oProjectionLine *ap_Line)
This function performs the data space operations specific to the optimizer (computes the values to be...
#define FUNCTION_OPTIMIZER(CLASS)
#define CLASS_OPTIMIZER(NAME, CLASS)
This class is designed to generically described any iterative optimizer.
This class is designed to manage and store system matrix elements associated to a vEvent...
int InitializeSpecific()
This function is used to initialize specific stuff to the child optimizer.
Mother class for the Event objects.
iOptimizerMLMuMap()
The constructor of iOptimizerMLMuMap.
int ReadConfigurationFile(const string &a_configurationFile)
A function used to read options from a configuration file.