CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
code/include/optimizer/iOptimizerTemplate.hh
Go to the documentation of this file.
1 
8 #ifndef IOPTIMIZERTEMPLATE_HH
9 #define IOPTIMIZERTEMPLATE_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);
69 
70  // -------------------------------------------------------------------
71  // Private member functions (virtual in vOptimizer)
72  private:
73 
82 
83  // -----------------------------------------------------------------------------------------
84  // Private member functions (pure virtual in vOptimizer)
85  private:
95  void ShowHelpSpecific();
112  int InitializeSpecific();
128  int SensitivitySpecificOperations( FLTNB a_data, FLTNB a_forwardModel, FLTNB* ap_weight,
129  FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue,
130  FLTNB a_quantificationFactor, oProjectionLine* ap_Line );
147  int DataSpaceSpecificOperations( FLTNB a_data, FLTNB a_forwardModel, FLTNB* ap_backwardValues,
148  FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue,
149  FLTNB a_quantificationFactor, oProjectionLine* ap_Line );
165  int ImageSpaceSpecificOperations( FLTNB a_currentImageValue, FLTNB* ap_newImageValue,
166  FLTNB a_sensitivity, FLTNB* ap_correctionValues,
167  INTNB a_voxel, int a_tbf = -1, int a_rbf = -1, int a_cbf = -1 );
168 
169 
170  // -----------------------------------------------------------------------------------------
171  // Data members
172  private:
173 
174 };
175 
176 
177 // Class for automatic insertion (set here the visible optimizer's name as the first parameter,
178 // put the class name as the second parameter and do NOT add semi-colon at the end of the line)
180 
181 #endif
182 
~iOptimizerTemplate()
The destructor of iOptimizerTemplate.
iOptimizerTemplate()
The constructor of iOptimizerTemplate.
int CheckSpecificParameters()
A private function used to check the parameters settings specific to the child optimizer.
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 class is a child of the vOptimizer class implementing a template squeleton.
Declaration of class vOptimizer.
int ReadOptionsList(const string &a_optionsList)
int InitializeSpecific()
This function is used to initialize specific stuff to the child optimizer.
int PreImageUpdateSpecificStep()
A private function used to compute the penalty term of the OneStepLate algorithm. ...
#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 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)
int ReadConfigurationFile(const string &a_configurationFile)
void ShowHelpSpecific()
A function used to show help about the child optimizer.
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)