CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
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 
15 
24 {
25  // -------------------------------------------------------------------
26  // Constructor & Destructor
27  public:
42 
43 
44  // -------------------------------------------------------------------
45  // Public member functions
46  public:
47  // Function for automatic insertion (put the class name as the parameter and do not add semi-column at the end of the line)
59  int ReadConfigurationFile(const string& a_configurationFile);
70  int ReadOptionsList(const string& a_optionsList);
71 
72 
73  // -------------------------------------------------------------------
74  // Private member functions (pure virtual in vOptimizer)
75  private:
85  void ShowHelpSpecific();
102  int InitializeSpecific();
117  int SensitivitySpecificOperations( FLTNB a_data, FLTNB a_forwardModel, FLTNB* ap_weight,
118  FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections,
119  FLTNB a_quantificationFactor, oProjectionLine* ap_Line );
135  int DataSpaceSpecificOperations( FLTNB a_data, FLTNB a_forwardModel, FLTNB* ap_backwardValues,
136  FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections,
137  FLTNB a_quantificationFactor, oProjectionLine* ap_Line );
149  int ImageSpaceSpecificOperations( FLTNB a_currentImageValue, FLTNB* ap_newImageValue,
150  FLTNB a_sensitivity, FLTNB* ap_correctionValues );
151 
152  // -------------------------------------------------------------------
153  // Data members
154  private:
156 };
157 
158 
159 // Class for automatic insertion (set here the visible optimizer's name as the first parameter,
160 // put the class name as the second parameter and do NOT add semi-colon at the end of the line)
162 
163 #endif
164 
int ReadOptionsList(const string &a_optionsList)
A function used to read options from a list of options.
This header file is mainly used to declare some macro definitions and all includes needed from the st...
void ShowHelpSpecific()
A function used to show help about the child optimizer.
#define FLTNB
Definition: gVariables.hh:55
int DataSpaceSpecificOperations(FLTNB a_data, FLTNB a_forwardModel, FLTNB *ap_backwardValues, FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_quantificationFactor, oProjectionLine *ap_Line)
This function performs the data space operations specific to the optimizer (computes the values to be...
int ReadConfigurationFile(const string &a_configurationFile)
A function used to read options from a configuration file.
~iOptimizerLandweber()
The destructor of iOptimizerLandweber.
int ImageSpaceSpecificOperations(FLTNB a_currentImageValue, FLTNB *ap_newImageValue, FLTNB a_sensitivity, FLTNB *ap_correctionValues)
This function perform the image update step specific to the optimizer.
int InitializeSpecific()
This function is used to initialize specific stuff to the child optimizer.
int SensitivitySpecificOperations(FLTNB a_data, FLTNB a_forwardModel, FLTNB *ap_weight, FLTNB a_multiplicativeCorrections, FLTNB a_additiveCorrections, FLTNB a_quantificationFactor, oProjectionLine *ap_Line)
This function compute the weight associated to the provided event (for sensitivity computation) ...
int CheckSpecificParameters()
A private function used to check the parameters settings specific to the child optimizer.
Declaration of class vOptimizer.
#define FUNCTION_OPTIMIZER(CLASS)
Definition: vOptimizer.hh:619
This class implements the Landweber algorithm.
#define CLASS_OPTIMIZER(NAME, CLASS)
Definition: vOptimizer.hh:623
This class is designed to generically described any iterative optimizer.
Definition: vOptimizer.hh:36
This class is designed to manage and store system matrix elements associated to a vEvent...
iOptimizerLandweber()
The constructor of iOptimizerLandweber.
Declaration of class sAddonManager.