![]() |
CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
|
This class is a child of the vDynamicModel class implementing a template squeleton. More...
#include <iLinearModelTemplate.hh>
Public Member Functions | |
iLinearModelTemplate () | |
Constructor of iLinearModelTemplate. Simply set all data members to default values. More... | |
~iLinearModelTemplate () | |
Destructor of iLinearModelTemplate. More... | |
int | CheckSpecificParameters () |
This function is used to check whether all member variables have been correctly initialized or not. More... | |
int | ReadAndCheckConfigurationFileSpecific () |
This function is used to read options from a configuration file, specific to this model. More... | |
int | ReadAndCheckOptionsList (string a_listOptions) |
int | InitializeSpecific () |
This function is used to initialize the model parametric images and basis functions. More... | |
void | ShowHelpModelSpecific () |
This function is used to print out specific help about the dynamic model and its options. It is pure virtual so must be implemented by children. More... | |
iLinearModelTemplate () | |
~iLinearModelTemplate () | |
int | CheckSpecificParameters () |
This function is used to check whether all member variables have been correctly initialized or not. More... | |
int | ReadAndCheckConfigurationFileSpecific () |
This function is used to read options from a configuration file. More... | |
int | ReadAndCheckOptionsList (string a_listOptions) |
int | InitializeSpecific () |
This function is used to initialize the parametric images and basis functions for all Linear Models. More... | |
void | ShowHelpModelSpecific () |
This function is used to print out specific help about the dynamic model and its options. It is pure virtual so must be implemented by children. More... | |
![]() | |
iLinearModel () | |
Constructor of iLinearModel. Simply set all data members to default values. More... | |
~iLinearModel () | |
Destructor of iLinearModel. More... | |
int | CheckSpecificParametersForAllLinearModels () |
This function is used to check parameters for all Linear Models. . More... | |
int | ReadAndCheckConfigurationFileSpecificToAllLinearModels () |
This function is used to read parameters that are generic for all Linear Models. . More... | |
int | InitializeSpecificToAllLinearModels () |
This function is used to initialize the parametric images and basis functions for all Linear Models. More... | |
void | ShowBasisFunctions () |
This function is used to print the basis functions. More... | |
int | EstimateModelParameters (oImageSpace *ap_Image, int a_ite, int a_sset) |
int | EstimateImageWithModel (oImageSpace *ap_Image, int a_ite, int a_sset) |
int | NestedEM (oImageSpace *ap_ImageS, int a_ite) |
int | EstimateParametersWithNNLS (oImageSpace *ap_ImageS, int a_ite) |
int | Patlak_LS (oImageSpace *ap_ImageS, int a_ite) |
iLinearModel () | |
~iLinearModel () | |
int | CheckSpecificParametersForAllLinearModels () |
int | ReadAndCheckConfigurationFileSpecificToAllLinearModels () |
int | InitializeSpecificToAllLinearModels () |
void | ShowBasisFunctions () |
int | EstimateModelParameters (oImageSpace *ap_Image, int a_ite, int a_sset) |
int | EstimateImageWithModel (oImageSpace *ap_Image, int a_ite, int a_sset) |
int | NestedEM (oImageSpace *ap_ImageS, int a_ite) |
int | EstimateParametersWithNNLS (oImageSpace *ap_ImageS, int a_ite) |
int | Patlak_LS (oImageSpace *ap_ImageS, int a_ite) |
![]() | |
vDynamicModel () | |
Constructor of vDynamicModel. Simply set all data members to default values. More... | |
virtual | ~vDynamicModel () |
Destructor of vDynamicModel. More... | |
void | SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification) |
void | SetVerbose (int a_verbose) |
virtual int | CheckParameters () |
This function is used to check parameters after the latter have been all set using Set functions. More... | |
int | ReadAndCheckConfigurationFile (string a_fileOptions) |
int | Initialize () |
A public function used to initialize the dynamic model. More... | |
void | ShowHelp () |
This function is used to print out general help about dynamic models. More... | |
virtual int | EstimateModel (oImageSpace *ap_Image, int a_ite, int a_sset) |
virtual int | EstimateImage (oImageSpace *ap_Image, int a_ite, int a_sset) |
int | SaveParametricImages (int a_iteration, int a_subset=-1) |
virtual int | ApplyOutputFOVMaskingOnParametricImages () |
Mask the outside of the transaxial FOV based on the m_fovOutPercent. More... | |
bool | GetAICflag () |
bool | GetModelBasisFunctionsRequiredFlag () |
int | GetNbTimeBasisFunctions () |
FLTNB ** | GetTimeBasisFunctions () |
virtual void | ComputeOutputParImage () |
Compute output image using the m2p_parametricImages matrix Store the result in the m2p_outputParImages matrix. More... | |
void | SetUseModelInReconstruction (bool a_useModelInReconstruction) |
int | NNLS (FLTNB **A, int m, int n, FLTNB *B, FLTNB *X, FLTNB *rnorm, FLTNB *wp, FLTNB *zzp, int *indexp) |
vDynamicModel () | |
virtual | ~vDynamicModel () |
void | SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification) |
void | SetVerbose (int a_verbose) |
virtual int | CheckParameters () |
int | ReadAndCheckConfigurationFile (string a_fileOptions) |
int | Initialize () |
void | ShowHelp () |
virtual int | EstimateModel (oImageSpace *ap_Image, int a_ite, int a_sset) |
virtual int | EstimateImage (oImageSpace *ap_Image, int a_ite, int a_sset) |
int | SaveParametricImages (int a_iteration, int a_subset=-1) |
virtual int | ApplyOutputFOVMaskingOnParametricImages () |
bool | GetAICflag () |
bool | GetModelBasisFunctionsRequiredFlag () |
int | GetNbTimeBasisFunctions () |
FLTNB ** | GetTimeBasisFunctions () |
virtual void | ComputeOutputParImage () |
void | SetUseModelInReconstruction (bool a_useModelInReconstruction) |
int | NNLS (FLTNB **A, int m, int n, FLTNB *B, FLTNB *X, FLTNB *rnorm, FLTNB *wp, FLTNB *zzp, int *indexp) |
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 33 of file code/include/dynamic/iLinearModelTemplate.hh.
iLinearModelTemplate::iLinearModelTemplate | ( | ) |
Constructor of iLinearModelTemplate. Simply set all data members to default values.
Definition at line 20 of file code/src/dynamic/iLinearModelTemplate.cc.
iLinearModelTemplate::~iLinearModelTemplate | ( | ) |
Destructor of iLinearModelTemplate.
Definition at line 41 of file code/src/dynamic/iLinearModelTemplate.cc.
iLinearModelTemplate::iLinearModelTemplate | ( | ) |
iLinearModelTemplate::~iLinearModelTemplate | ( | ) |
|
virtual |
This function is used to check whether all member variables have been correctly initialized or not.
Reimplemented from iLinearModel.
Definition at line 143 of file code/src/dynamic/iLinearModelTemplate.cc.
|
virtual |
This function is used to check whether all member variables have been correctly initialized or not.
Reimplemented from iLinearModel.
|
virtual |
This function is used to initialize the model parametric images and basis functions.
Reimplemented from iLinearModel.
Definition at line 176 of file code/src/dynamic/iLinearModelTemplate.cc.
|
virtual |
This function is used to initialize the parametric images and basis functions for all Linear Models.
Reimplemented from iLinearModel.
|
virtual |
This function is used to read options from a configuration file, specific to this model.
Reimplemented from iLinearModel.
Definition at line 82 of file code/src/dynamic/iLinearModelTemplate.cc.
|
virtual |
This function is used to read options from a configuration file.
Reimplemented from iLinearModel.
|
virtual |
Reimplemented from iLinearModel.
|
virtual |
Reimplemented from iLinearModel.
Definition at line 118 of file code/src/dynamic/iLinearModelTemplate.cc.
|
virtual |
This function is used to print out specific help about the dynamic model and its options. It is pure virtual so must be implemented by children.
Reimplemented from iLinearModel.
|
virtual |
This function is used to print out specific help about the dynamic model and its options. It is pure virtual so must be implemented by children.
Reimplemented from iLinearModel.
Definition at line 59 of file code/src/dynamic/iLinearModelTemplate.cc.