CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
code/include/optimizer/iOptimizerOneStepLate.hh
Go to the documentation of this file.
1 
8 #ifndef IOPTIMIZERONESTEPLATE_HH
9 #define IOPTIMIZERONESTEPLATE_HH 1
10 
11 #include "gVariables.hh"
12 #include "sAddonManager.hh"
13 #include "vOptimizer.hh"
14 #include "oImageSpace.hh"
15 
16 
23 {
24  // -------------------------------------------------------------------
25  // Constructor & Destructor
26  public:
41 
42 
43  // -------------------------------------------------------------------
44  // Public member functions
45  public:
46  // Function for automatic insertion (put the class name as the parameter and do not add semi-column at the end of the line)
58  int ReadConfigurationFile(const string& a_configurationFile);
69  int ReadOptionsList(const string& a_optionsList);
70 
71 
72  // -------------------------------------------------------------------
73  // Private member functions (virtual in vOptimizer)
74  private:
75 
84 
85  // -------------------------------------------------------------------
86  // Private member functions (pure virtual in vOptimizer)
87  private:
97  void ShowHelpSpecific();
114  int InitializeSpecific();
129  int SensitivitySpecificOperations( FLTNB a_data, FLTNB a_forwardModel, FLTNB* ap_weight,
130  FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue,
131  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:
178 };
179 
180 
181 // Class for automatic insertion (set here the visible optimizer's name as the first parameter,
182 // put the class name as the second parameter and do NOT add semi-colon at the end of the line)
184 
185 #endif
186 
void ShowHelpSpecific()
A function used to show help about the child optimizer.
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 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)
int ReadOptionsList(const string &a_optionsList)
int ReadConfigurationFile(const string &a_configurationFile)
~iOptimizerOneStepLate()
The destructor of iOptimizerOneStepLate.
Declaration of class vOptimizer.
#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 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)
iOptimizerOneStepLate()
The constructor of iOptimizerOneStepLate.
This class implements the One Step Late algorithm.
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. ...
int CheckSpecificParameters()
A private function used to check the parameters settings specific to the child optimizer.