![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
00001 00009 #ifndef IPATLAKMODEL_HH 00010 #define IPATLAKMODEL_HH 1 00011 00012 #include "vDynamicModel.hh" 00013 #include "sAddonManager.hh" 00014 00015 00016 00021 class iPatlakModel : public vDynamicModel 00022 { 00023 // ----------------------------------------------------------------------------------------- 00024 // Constructor & Destructor 00025 public: 00030 iPatlakModel(); 00035 ~iPatlakModel(); 00036 00037 00038 // ----------------------------------------------------------------------------------------- 00039 // Public member functions related to the initialization of the model 00040 public: 00041 // Function for automatic insertion (put the class name as the parameters and do not add semi-colon at the end of the line) 00042 FUNCTION_DYNAMICMODEL(iPatlakModel) 00049 int CheckSpecificParameters(); 00056 int ReadAndCheckConfigurationFile(string a_fileOptions); 00063 int ReadAndCheckOptionsList(string a_listOptions); 00070 int Initialize(); 00076 void ShowHelp(); 00077 00078 00079 // ----------------------------------------------------------------------------------------- 00080 // Public member functions called by the main iterative algorithm class 00089 int EstimateModelParameters(oImageSpace* ap_Image, int a_ite, int a_sset); 00098 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; 00117 FLTNB** m2p_patlakTACs; 00121 string m_fileOptions; 00122 string m_listOptions; 00123 bool m_savePImgFlag; 00124 }; 00125 00126 // 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) 00127 CLASS_DYNAMICMODEL(PatlakModel,iPatlakModel) 00128 00129 #endif