CASToR
1.1
Tomographic Reconstruction (PET/SPECT)
|
This is the mother class of dynamic model classes. More...
#include <vDynamicModel.hh>
Public Member Functions | |
vDynamicModel () | |
Constructor of vDynamicModel. Simply set all data members to default values. More... | |
virtual | ~vDynamicModel () |
Destructor of vDynamicModel. More... | |
void | SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification) |
Set the image dimensions in use. More... | |
void | SetVerbose (int a_verbose) |
Set the verbose level. More... | |
virtual int | CheckParameters () |
This function is used to check parameters after the latter have been all set using Set functions. More... | |
virtual int | CheckSpecificParameters ()=0 |
This function is used to check the parameters of the child functions before initialization if required. More... | |
virtual int | ReadAndCheckConfigurationFile (string a_fileOptions)=0 |
This function is used to read options from a configuration file. It is pure virtual so must be implemented by children. More... | |
virtual int | ReadAndCheckOptionsList (string a_listOptions)=0 |
This function is used to read parameters from a string. It is pure virtual so must be implemented by children. More... | |
virtual int | Initialize ()=0 |
This function is used to initialize specific data related to the child deformation model. It is pure virtual so must be implemented by children. More... | |
virtual void | ShowHelp ()=0 |
This function is used to print out specific help about the deformation and its options. It is pure virtual so must be implemented by children. More... | |
virtual int | EstimateModelParameters (oImageSpace *ap_Image, int a_ite, int a_sset)=0 |
This function is pure virtual so must be implemented by children. It can be used to estimate any temporal functions or coefficients related to the dynamic model, if required. More... | |
virtual int | FitModel (oImageSpace *ap_Image, int a_ite, int a_sset)=0 |
This function is pure virtual so must be implemented by children. It is used to fit the dynamic model to the series of dynamic images. More... | |
virtual int | SaveParametricImages (int a_ite)=0 |
This function is pure virtual so must be implemented by children Call SaveParametricImages() function of the dynamic model object, in order to write on disk any parametric image of the model. More... | |
Protected Attributes | |
oImageDimensionsAndQuantification * | mp_ID |
int | m_verbose |
int | m_nbTimeBF |
bool | m_checked |
bool | m_initialized |
This is the mother class of dynamic model classes.
This class is a virtual one, in the sense that it cannot be used on its own
because several pure virtual functions belong to it. Its children are implementations of actual dynamic models.
Everywhere in the code, this parent class should be used instead of any of its children.
It can be used during the reconstruction process by the oDynamicModelManager through the use of the EstimateModelParameters() and FitModel() functions
All children must implement the following pure virtual functions:
Definition at line 43 of file vDynamicModel.hh.
vDynamicModel::vDynamicModel | ( | ) |
Constructor of vDynamicModel. Simply set all data members to default values.
Definition at line 31 of file vDynamicModel.cc.
|
virtual |
Destructor of vDynamicModel.
Definition at line 51 of file vDynamicModel.cc.
|
virtual |
This function is used to check parameters after the latter have been all set using Set functions.
Definition at line 66 of file vDynamicModel.cc.
|
pure virtual |
This function is used to check the parameters of the child functions before initialization if required.
It could be overloaded by the child if needed. Default implementation is empty and return 0.
Implemented in iDynamicModelTemplate, and iPatlakModel.
|
pure virtual |
This function is pure virtual so must be implemented by children.
It can be used to estimate any temporal functions or coefficients related to the dynamic model, if required.
ap_ImageS | : pointer to the ImageSpace |
a_ite | : index of the actual iteration |
a_sset | : index of the actual subset |
Implemented in iDynamicModelTemplate, and iPatlakModel.
|
pure virtual |
This function is pure virtual so must be implemented by children.
It is used to fit the dynamic model to the series of dynamic images.
ap_ImageS | : pointer to the ImageSpace |
a_ite | : index of the actual iteration |
a_sset | : index of the actual subset |
Implemented in iDynamicModelTemplate, and iPatlakModel.
|
pure virtual |
This function is used to initialize specific data related to the child deformation model.
It is pure virtual so must be implemented by children.
Implemented in iDynamicModelTemplate, and iPatlakModel.
|
pure virtual |
This function is used to read options from a configuration file.
It is pure virtual so must be implemented by children.
const | string& a_configurationFile : ASCII file containing informations about a dynamic model |
Implemented in iDynamicModelTemplate, and iPatlakModel.
|
pure virtual |
This function is used to read parameters from a string.
It is pure virtual so must be implemented by children.
const | string& a_optionsList : a list of parameters separated by commas |
Implemented in iDynamicModelTemplate, and iPatlakModel.
|
pure virtual |
This function is pure virtual so must be implemented by children
Call SaveParametricImages() function of the dynamic model object, in order to write on disk any parametric image of the model.
a_ite |
Implemented in iDynamicModelTemplate, and iPatlakModel.
|
inline |
Set the image dimensions in use.
ap_ImageDimensionsAndQuantification |
Definition at line 68 of file vDynamicModel.hh.
|
inline |
Set the verbose level.
a_verboseLevel |
Definition at line 75 of file vDynamicModel.hh.
|
pure virtual |
This function is used to print out specific help about the deformation and its options. It is pure virtual so must be implemented by children.
Implemented in iDynamicModelTemplate, and iPatlakModel.
|
protected |
Boolean indicating whether the parameters were checked or not
Definition at line 163 of file vDynamicModel.hh.
|
protected |
Boolean indicating whether the manager was initialized or not
Definition at line 164 of file vDynamicModel.hh.
|
protected |
Number of time basis functions in the model
Definition at line 162 of file vDynamicModel.hh.
|
protected |
The verbose level
Definition at line 161 of file vDynamicModel.hh.
|
protected |
Pointer to the oImageDimensionsAndQuantification object in use
Definition at line 160 of file vDynamicModel.hh.