CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
iDynamicModelTemplate.hh
Go to the documentation of this file.
1 
9 #ifndef IPATLAKMODEL_HH
10 #define IPATLAKMODEL_HH 1
11 
12 // Mother class of dynamic model
13 #include "vDynamicModel.hh"
14 // Required to automatically add the class in the CASToR code
15 #include "sAddonManager.hh"
16 
17 
18 
25 {
26  // -----------------------------------------------------------------------------------------
27  // Constructor & Destructor
28  public:
39 
40 
41  // -----------------------------------------------------------------------------------------
42  // Public member functions related to the initialization of the model
43  public:
44  // Function for automatic insertion (put the class name as the parameters and do not add semi-colon at the end of the line)
59  int ReadAndCheckConfigurationFile(string a_fileOptions);
66  int ReadAndCheckOptionsList(string a_listOptions);
73  int Initialize();
78  void ShowHelp();
79 
80 
81  // -----------------------------------------------------------------------------------------
82  // Public member functions called by the main iterative algorithm class
91  int EstimateModelParameters(oImageSpace* ap_Image, int a_ite, int a_sset);
100  int FitModel(oImageSpace* ap_Image, int a_ite, int a_sset);
107  int SaveParametricImages(int a_iteration);
108 
109 
110  // -----------------------------------------------------------------------------------------
111  // Data members
112  protected:
115 };
116 
117 // Class for automatic insertion (set here the visible dynamic model's name, put the class name as the parameters and do not add semi-colon at the end of the line)
119 
120 #endif
int Initialize()
This function is used to initialize Patlak parametric images and basis functions. ...
#define FLTNB
Definition: gVariables.hh:55
int FitModel(oImageSpace *ap_Image, int a_ite, int a_sset)
Estimate image using Patlak parametric images and basis functions.
This is the mother class of dynamic model classes.
This class is a child of the vDynamicModel class implementing a template squeleton.
int SaveParametricImages(int a_iteration)
Write parametric images on disk.
iDynamicModelTemplate()
Constructor of iDynamicModelTemplate. Simply set all data members to default values.
#define FUNCTION_DYNAMICMODEL(CLASS)
int ReadAndCheckConfigurationFile(string a_fileOptions)
This function is used to read options from a configuration file.
int CheckSpecificParameters()
This function is used to check whether all member variables have been correctly initialized or not...
int EstimateModelParameters(oImageSpace *ap_Image, int a_ite, int a_sset)
Estimate Patlak parametric images.
void ShowHelp()
This function is used to print out specific help about the deformation model and its options...
#define CLASS_DYNAMICMODEL(NAME, CLASS)
This class holds all the matrices in the image domain that can be used in the algorithm: image...
Definition: oImageSpace.hh:41
int ReadAndCheckOptionsList(string a_listOptions)
This function is used to read parameters from a string.
Declaration of class vDynamicModel.
~iDynamicModelTemplate()
Destructor of iDynamicModelTemplate.
Declaration of class sAddonManager.