![]() |
CASToR
3.0
Tomographic Reconstruction (PET/SPECT/CT)
|
This class is a child of the iLinearModel class implementing the Nested Spectral reconsutction. More...
#include <iLinearSpectralModel.hh>
Public Member Functions | |
iLinearSpectralModel () | |
Constructor of iLinearSpectralModel. Simply set all data members to default values. More... | |
~iLinearSpectralModel () | |
Destructor of iLinearSpectralModel. 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) |
This function is used to read parameters from a string. More... | |
int | InitializeSpecific () |
This function is used to initialize the model parametric images and basis functions. More... | |
void | ShowHelp () |
This function is used to print out specific help about the model and its options. 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) |
Estimate model parameters (parametric images and basis functions) More... | |
int | EstimateImageWithModel (oImageSpace *ap_Image, int a_ite, int a_sset) |
Re-estimate image using the linear parametric images and basis functions. More... | |
int | NestedEM (oImageSpace *ap_ImageS, int a_ite) |
Estimate parametric images and basis functions (if enabled) using the nested EM method. More... | |
int | EstimateParametersWithNNLS (oImageSpace *ap_ImageS, int a_ite) |
Estimate parametric images using the NNLS method. More... | |
int | Patlak_LS (oImageSpace *ap_ImageS, int a_ite) |
Estimate parametric images using linear regression. More... | |
![]() | |
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... | |
int | ReadAndCheckConfigurationFile (string a_fileOptions) |
This function is used to read options from a configuration file. It looks for the parameters implemented by the mother class, such as 'No image update', 'No parameters update', or 'Save parametric images'. More... | |
int | Initialize () |
A public function used to initialize the dynamic model. More... | |
virtual int | EstimateModel (oImageSpace *ap_Image, int a_ite, int a_sset) |
This function checks if the EstimateModelParameters() function (specific to each model) must be called at this stage of the reconstruction depending on the m_xxxUpdateflags. More... | |
virtual int | EstimateImage (oImageSpace *ap_Image, int a_ite, int a_sset) |
int | SaveParametricImages (int a_iteration, int a_subset=-1) |
This function is virtual it can be overloaded by children if required. More... | |
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... | |
int | NNLS (FLTNB **A, int m, int n, FLTNB *B, FLTNB *X, FLTNB *rnorm, FLTNB *wp, FLTNB *zzp, int *indexp) |
Implementation of NNLS (non-negative least squares) algorithm Derived from Turku PET center libraries (authors: Vesa Oikonen and Kaisa Sederholm) This routine is based on the text and fortran code in C.L. Lawson and R.J. Hanson, Solving Least Squares Problems, Prentice-Hall, Englewood Cliffs, New Jersey, 1974. More... | |
This class is a child of the iLinearModel class implementing the Nested Spectral reconsutction.
Definition at line 46 of file iLinearSpectralModel.hh.
iLinearSpectralModel::iLinearSpectralModel | ( | ) |
Constructor of iLinearSpectralModel. Simply set all data members to default values.
Definition at line 44 of file iLinearSpectralModel.cc.
iLinearSpectralModel::~iLinearSpectralModel | ( | ) |
Destructor of iLinearSpectralModel.
Definition at line 73 of file iLinearSpectralModel.cc.
|
virtual |
This function is used to check whether all member variables have been correctly initialized or not.
Reimplemented from iLinearModel.
Definition at line 258 of file iLinearSpectralModel.cc.
|
virtual |
This function is used to initialize the model parametric images and basis functions.
Reimplemented from iLinearModel.
Definition at line 286 of file iLinearSpectralModel.cc.
|
virtual |
This function is used to read options from a configuration file, specific to this model.
Reimplemented from iLinearModel.
Definition at line 141 of file iLinearSpectralModel.cc.
|
virtual |
This function is used to read parameters from a string.
a_optionsList | : a list of parameters separated by commas |
Reimplemented from iLinearModel.
Definition at line 226 of file iLinearSpectralModel.cc.
|
virtual |
This function is used to print out specific help about the model and its options.
Reimplemented from iLinearModel.
Definition at line 88 of file iLinearSpectralModel.cc.
|
protected |
Size of additional basis functions required for the model (eg. constant etc) .
Definition at line 115 of file iLinearSpectralModel.hh.
|
protected |
Value for constant basis function to be added.
Definition at line 113 of file iLinearSpectralModel.hh.
|
protected |
Fastest spectral function.
Definition at line 111 of file iLinearSpectralModel.hh.
|
protected |
Fastest spectral function.
Definition at line 112 of file iLinearSpectralModel.hh.
|
protected |
requested number for size Bank of spectral function decay rates.
Definition at line 114 of file iLinearSpectralModel.hh.
|
protected |
Bank of spectral function decay rates.
Definition at line 116 of file iLinearSpectralModel.hh.