30 #ifndef ILINEARMODEL_HH 31 #define ILINEARMODEL_HH 1 42 #define OPTIMISATION_METHOD_DR 0 44 #define OPTIMISATION_METHOD_NESTEM 1 46 #define OPTIMISATION_METHOD_NNLS 2 48 #define OPTIMISATION_METHOD_LS 3
int EstimateImageWithModel(oImageSpace *ap_Image, int a_ite, int a_sset)
Re-estimate image using the linear parametric images and basis functions.
This is the mother class of dynamic model classes.
FLTNB * mp_corrBasisCoeffs
int InitializeSpecificToAllLinearModels()
This function is used to initialize the parametric images and basis functions for all Linear Models...
This class implements a general linear dynamic model applied between the images of a dynamic acquisit...
#define FUNCTION_DYNAMICMODEL(CLASS)
int ReadAndCheckOptionsList(string a_listOptions)
This function is used to read parameters from a string.
iLinearModel()
Constructor of iLinearModel. Simply set all data members to default values.
void ShowBasisFunctions()
This function is used to print the basis functions.
FLTNB * mp_corrBasisFunctions
int CheckSpecificParametersForAllLinearModels()
This function is used to check parameters for all Linear Models. .
virtual int ReadAndCheckConfigurationFileSpecific()
This function is used to read options from a configuration file.
int EstimateParametersWithNNLS(oImageSpace *ap_ImageS, int a_ite)
Estimate parametric images using the NNLS method.
uint32_t m_nbLinearModelCycles
int InitializeSpecific()
This function is used to initialize the parametric images and basis functions for all Linear Models...
FLTNB ** m2p_cardBasisFunctions
int m_basisFunctionsUpdIdx
#define CLASS_DYNAMICMODEL(NAME, CLASS)
This class holds all the matrices in the image domain that can be used in the algorithm: image...
int CheckSpecificParameters()
This function is used to check whether all member variables have been correctly initialized or not...
~iLinearModel()
Destructor of iLinearModel.
int Patlak_LS(oImageSpace *ap_ImageS, int a_ite)
Estimate parametric images using linear regression.
int m_basisFunctionsUpdRatio
Declaration of class vDynamicModel.
FLTNB ** m2p_respBasisFunctions
int NestedEM(oImageSpace *ap_ImageS, int a_ite)
Estimate parametric images and basis functions (if enabled) using the nested EM method.
int m_basisFunctionsUpdStartIte
int ReadAndCheckConfigurationFileSpecificToAllLinearModels()
This function is used to read parameters that are generic for all Linear Models. ...
int EstimateModelParameters(oImageSpace *ap_Image, int a_ite, int a_sset)
Estimate model parameters (parametric images and basis functions)
void ShowHelp()
Print out specific help about the implementation of this model and its initialization.
Declaration of class sAddonManager.