9 #ifndef VDYNAMICMODEL_HH
10 #define VDYNAMICMODEL_HH 1
69 {
mp_ID = ap_ImageDimensionsAndQuantification;}
172 #define FUNCTION_DYNAMICMODEL(CLASS) \
173 static vDynamicModel *make_dynamic_model() { return new CLASS(); };
176 #define CLASS_DYNAMICMODEL(NAME,CLASS) \
177 class NAME##DynamicModelCreator \
180 NAME##DynamicModelCreator() \
181 { sAddonManager::GetInstance()->mp_listOfDynamicModels[#NAME] = CLASS::make_dynamic_model; } \
183 static NAME##DynamicModelCreator DynamicModelCreator##NAME;
virtual int CheckSpecificParameters()=0
This function is used to check the parameters of the child functions before initialization if require...
This header file is mainly used to declare some macro definitions and all includes needed from the st...
Declaration of class oImageDimensionsAndQuantification.
virtual int CheckParameters()
This function is used to check parameters after the latter have been all set using Set functions...
void SetImageDimensionsAndQuantification(oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
Set the image dimensions in use.
oImageDimensionsAndQuantification * mp_ID
This is the mother class of dynamic model classes.
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 b...
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.
virtual int Initialize()=0
This function is used to initialize specific data related to the child deformation model...
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 mod...
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 impl...
void SetVerbose(int a_verbose)
Set the verbose level.
virtual ~vDynamicModel()
Destructor of vDynamicModel.
vDynamicModel()
Constructor of vDynamicModel. Simply set all data members to default values.
This class holds all the matrices in the image domain that can be used in the algorithm: image...
This class is designed to manage all dimensions and quantification related stuff. ...
Declaration of class oOptimizerManager.
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 te...
virtual int SaveParametricImages(int a_ite)=0
This function is pure virtual so must be implemented by children Call SaveParametricImages() functi...