CASToR
1.1
Tomographic Reconstruction (PET/SPECT)
|
This class is designed to manage the use of dynamic model in the reconstruction. More...
#include <oDynamicModelManager.hh>
Public Member Functions | |
oDynamicModelManager () | |
Constructor of oDynamicModelManager. Simply set all data members to default values. More... | |
~oDynamicModelManager () | |
Destructor of oDynamicModelManager. Free memory from all allocated tabs. More... | |
int | CheckParameters () |
This function is used to check parameters after the latter have been all set using Set functions. More... | |
int | Initialize () |
Set the dynamic model flag and instanciate/initialize model objects through the ParseOptionsAndInitializeDeformations() private function. More... | |
int | ApplyDynamicModel (oImageSpace *ap_ImageS, int a_ite, int a_sset) |
int | SaveParametricImages (int a_ite) |
Call SaveParametricImages() function of the dynamic model object is 'm_UseModel' is on, in order to save any parameter image. More... | |
void | SetVerbose (int a_verboseLevel) |
Set the verbose level. More... | |
void | SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification) |
Set the image dimensions in use. More... | |
void | SetOptions (const string &a_options) |
Set the respiratory motion options contained in the provided string. More... | |
bool | UseModel () |
Indicate if the use of a dynamic model is enabled. More... | |
Private Member Functions | |
int | ParseOptionsAndInitializeModel () |
Parse dynamic model options contained in the previously provided strings. This function is called inside the Initialize() function. More... | |
Private Attributes | |
oImageDimensionsAndQuantification * | mp_ID |
string | m_options |
vDynamicModel * | mp_DynamicModel |
bool | m_UseModel |
int | m_verbose |
bool | m_checked |
bool | m_initialized |
This class is designed to manage the use of dynamic model in the reconstruction.
As each manager class, it is created in the main program, all parameters are then set, checked, and the manager is initialized.
The manager is then used by the algorithm itself, where the function ApplyDynamicModel() is called at the end of the subset loop
Definition at line 28 of file oDynamicModelManager.hh.
oDynamicModelManager::oDynamicModelManager | ( | ) |
Constructor of oDynamicModelManager. Simply set all data members to default values.
Definition at line 30 of file oDynamicModelManager.cc.
oDynamicModelManager::~oDynamicModelManager | ( | ) |
Destructor of oDynamicModelManager. Free memory from all allocated tabs.
Definition at line 55 of file oDynamicModelManager.cc.
int oDynamicModelManager::ApplyDynamicModel | ( | oImageSpace * | ap_ImageS, |
int | a_ite, | ||
int | a_sset | ||
) |
Definition at line 276 of file oDynamicModelManager.cc.
int oDynamicModelManager::CheckParameters | ( | ) |
This function is used to check parameters after the latter have been all set using Set functions.
Definition at line 71 of file oDynamicModelManager.cc.
int oDynamicModelManager::Initialize | ( | ) |
Set the dynamic model flag and instanciate/initialize model objects through the ParseOptionsAndInitializeDeformations() private function.
Definition at line 105 of file oDynamicModelManager.cc.
|
private |
Parse dynamic model options contained in the previously provided strings. This function is called inside the Initialize() function.
Manage the options reading and initialize specific vDynamicModel
Options are a string containing first the name of the model, then either a ':' and a configuration file specific to the model
Definition at line 155 of file oDynamicModelManager.cc.
int oDynamicModelManager::SaveParametricImages | ( | int | a_ite | ) |
Call SaveParametricImages() function of the dynamic model object is 'm_UseModel' is on, in order to save any parameter image.
a_ite |
Definition at line 320 of file oDynamicModelManager.cc.
|
inline |
Set the image dimensions in use.
ap_ImageDimensionsAndQuantification |
Definition at line 96 of file oDynamicModelManager.hh.
|
inline |
Set the respiratory motion options contained in the provided string.
a_options |
Definition at line 103 of file oDynamicModelManager.hh.
|
inline |
Set the verbose level.
a_verboseLevel |
Definition at line 89 of file oDynamicModelManager.hh.
|
inline |
Indicate if the use of a dynamic model is enabled.
Definition at line 110 of file oDynamicModelManager.hh.
|
private |
Boolean indicating whether the parameters were checked or not
Definition at line 140 of file oDynamicModelManager.hh.
|
private |
Boolean indicating whether the manager was initialized or not
Definition at line 141 of file oDynamicModelManager.hh.
|
private |
The string containing options for the dynamic model
Definition at line 136 of file oDynamicModelManager.hh.
|
private |
Flag indicating that use of a dynamic model is enabled or not
Definition at line 138 of file oDynamicModelManager.hh.
|
private |
The verbose level
Definition at line 139 of file oDynamicModelManager.hh.
|
private |
Dynamic model object
Definition at line 137 of file oDynamicModelManager.hh.
|
private |
Pointer to the oImageDimensionsAndQuantification object in use
Definition at line 135 of file oDynamicModelManager.hh.