![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
This class is a child of the vDynamicModel class implementing a template squeleton. More...
#include <iDynamicModelTemplate.hh>
Public Member Functions | |
iDynamicModelTemplate () | |
Constructor of iDynamicModelTemplate. Simply set all data members to default values. | |
~iDynamicModelTemplate () | |
Destructor of iDynamicModelTemplate. | |
int | CheckSpecificParameters () |
This function is used to check whether all member variables have been correctly initialized or not. | |
int | ReadAndCheckConfigurationFile (string a_fileOptions) |
This function is used to read options from a configuration file. | |
int | ReadAndCheckOptionsList (string a_listOptions) |
This function is used to read parameters from a string. | |
int | Initialize () |
This function is used to initialize Patlak parametric images and basis functions. | |
void | ShowHelp () |
This function is used to print out specific help about the deformation model and its options. | |
int | EstimateModelParameters (oImageSpace *ap_Image, int a_ite, int a_sset) |
Estimate Patlak parametric images. | |
int | FitModel (oImageSpace *ap_Image, int a_ite, int a_sset) |
Estimate image using Patlak parametric images and basis functions. | |
int | SaveParametricImages (int a_iteration) |
Write parametric images on disk. | |
Protected Attributes | |
FLTNB ** | m2p_parametricImages |
This class is a child of the vDynamicModel class implementing a template squeleton.
Use this class to implement your own custom deformation model.
Definition at line 24 of file iDynamicModelTemplate.hh.
Constructor of iDynamicModelTemplate. Simply set all data members to default values.
Definition at line 29 of file iDynamicModelTemplate.cc.
Destructor of iDynamicModelTemplate.
Definition at line 46 of file iDynamicModelTemplate.cc.
int iDynamicModelTemplate::CheckSpecificParameters | ( | ) | [virtual] |
This function is used to check whether all member variables have been correctly initialized or not.
Implements vDynamicModel.
Definition at line 134 of file iDynamicModelTemplate.cc.
int iDynamicModelTemplate::EstimateModelParameters | ( | oImageSpace * | ap_Image, |
int | a_ite, | ||
int | a_sset | ||
) | [virtual] |
Estimate Patlak parametric images.
ap_ImageS | : pointer to the ImageSpace |
a_ite | : index of the actual iteration (not used) |
a_sset | : index of the actual subset (not used) |
Implements vDynamicModel.
Definition at line 197 of file iDynamicModelTemplate.cc.
int iDynamicModelTemplate::FitModel | ( | oImageSpace * | ap_Image, |
int | a_ite, | ||
int | a_sset | ||
) | [virtual] |
Estimate image using Patlak parametric images and basis functions.
ap_ImageS | : pointer to the ImageSpace |
a_ite | : index of the actual iteration (not used) |
a_sset | : index of the actual subset (not used) |
Implements vDynamicModel.
Definition at line 254 of file iDynamicModelTemplate.cc.
int iDynamicModelTemplate::Initialize | ( | ) | [virtual] |
This function is used to initialize Patlak parametric images and basis functions.
Implements vDynamicModel.
Definition at line 159 of file iDynamicModelTemplate.cc.
int iDynamicModelTemplate::ReadAndCheckConfigurationFile | ( | string | a_fileOptions | ) | [virtual] |
This function is used to read options from a configuration file.
a_configurationFile | : ASCII file containing informations about a dynamic model |
Implements vDynamicModel.
Definition at line 83 of file iDynamicModelTemplate.cc.
int iDynamicModelTemplate::ReadAndCheckOptionsList | ( | string | a_listOptions | ) | [virtual] |
This function is used to read parameters from a string.
a_optionsList | : a list of parameters separated by commas |
Implements vDynamicModel.
Definition at line 109 of file iDynamicModelTemplate.cc.
int iDynamicModelTemplate::SaveParametricImages | ( | int | a_iteration | ) | [virtual] |
Write parametric images on disk.
a_ite | : index of the actual iteration |
Implements vDynamicModel.
Definition at line 313 of file iDynamicModelTemplate.cc.
void iDynamicModelTemplate::ShowHelp | ( | ) | [virtual] |
This function is used to print out specific help about the deformation model and its options.
Implements vDynamicModel.
Definition at line 62 of file iDynamicModelTemplate.cc.
FLTNB** iDynamicModelTemplate::m2p_parametricImages [protected] |
2 dimensions (or more if required) array containing parametric image. It must be a 2 dimensions array [nb of basis functions][nb of voxels]
Definition at line 113 of file iDynamicModelTemplate.hh.