CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
include/optimizer/iOptimizerLandweber.hh
Go to the documentation of this file.
1 
8 #ifndef IOPTIMIZERLANDWEBER_HH
9 #define IOPTIMIZERLANDWEBER_HH 1
10 
11 #include "gVariables.hh"
12 #include "sAddonManager.hh"
13 #include "vOptimizer.hh"
14 
22 class iOptimizerLandweber : public vOptimizer
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 (pure virtual in vOptimizer)
74  private:
84  void ShowHelpSpecific();
101  int InitializeSpecific();
117  int SensitivitySpecificOperations( FLTNB a_data, FLTNB a_forwardModel, FLTNB* ap_weight,
118  FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue,
119  FLTNB a_quantificationFactor, oProjectionLine* ap_Line );
136  int DataSpaceSpecificOperations( FLTNB a_data, FLTNB a_forwardModel, FLTNB* ap_backwardValues,
137  FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_blankValue,
138  FLTNB a_quantificationFactor, oProjectionLine* ap_Line );
154  int ImageSpaceSpecificOperations( FLTNB a_currentImageValue, FLTNB* ap_newImageValue,
155  FLTNB a_sensitivity, FLTNB* ap_correctionValues,
156  INTNB a_voxel, int a_tbf = -1, int a_rbf = -1, int a_cbf = -1 );
157 
158 
159  // -------------------------------------------------------------------
160  // Data members
161  private:
164 };
165 
166 
167 // Class for automatic insertion (set here the visible optimizer's name as the first parameter,
168 // put the class name as the second parameter and do NOT add semi-colon at the end of the line)
170 
171 #endif
172 
int ReadOptionsList(const string &a_optionsList)
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 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)
void ShowHelpSpecific()
A function used to show help about the child optimizer.
int ReadConfigurationFile(const string &a_configurationFile)
~iOptimizerLandweber()
The destructor of iOptimizerLandweber.
int InitializeSpecific()
This function is used to initialize specific stuff to the child optimizer.
int CheckSpecificParameters()
A private function used to check the parameters settings specific to the child optimizer.
Declaration of class vOptimizer.
This class implements the Landweber 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...
iOptimizerLandweber()
The constructor of iOptimizerLandweber.
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)