![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
00001 00009 #ifndef IPATLAKMODEL_HH 00010 #define IPATLAKMODEL_HH 1 00011 00012 // Mother class of dynamic model 00013 #include "vDynamicModel.hh" 00014 // Required to automatically add the class in the CASToR code 00015 #include "sAddonManager.hh" 00016 00017 00018 00024 class iDynamicModelTemplate : public vDynamicModel 00025 { 00026 // ----------------------------------------------------------------------------------------- 00027 // Constructor & Destructor 00028 public: 00033 iDynamicModelTemplate(); 00038 ~iDynamicModelTemplate(); 00039 00040 00041 // ----------------------------------------------------------------------------------------- 00042 // Public member functions related to the initialization of the model 00043 public: 00044 // Function for automatic insertion (put the class name as the parameters and do not add semi-colon at the end of the line) 00045 FUNCTION_DYNAMICMODEL(iDynamicModelTemplate) 00052 int CheckSpecificParameters(); 00059 int ReadAndCheckConfigurationFile(string a_fileOptions); 00066 int ReadAndCheckOptionsList(string a_listOptions); 00073 int Initialize(); 00078 void ShowHelp(); 00079 00080 00081 // ----------------------------------------------------------------------------------------- 00082 // Public member functions called by the main iterative algorithm class 00091 int EstimateModelParameters(oImageSpace* ap_Image, int a_ite, int a_sset); 00100 int FitModel(oImageSpace* ap_Image, int a_ite, int a_sset); 00107 int SaveParametricImages(int a_iteration); 00108 00109 00110 // ----------------------------------------------------------------------------------------- 00111 // Data members 00112 protected: 00113 FLTNB** m2p_parametricImages; 00115 }; 00116 00117 // 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) 00118 CLASS_DYNAMICMODEL(template,iDynamicModelTemplate) 00119 00120 #endif