79 cout <<
"This class is a template class dedicated to add your own dynamic model." << endl;
97 if(
m_verbose >=2)
Cout(
"iDynamicModelTemplate::ReadAndCheckConfigurationFile ..."<< endl);
153 if(
m_verbose >=2)
Cout(
"iDynamicModelTemplate::CheckSpecificParameters ..."<< endl);
173 if(
m_verbose >=2)
Cout(
"iDynamicModelTemplate::Initialize ..."<< endl);
185 Cerr(
"***** oDynamicModelManager::Initialize() -> Must call CheckParameters functions before Initialize() !" << endl);
211 if(
m_verbose >=2)
Cout(
"iDynamicModelTemplate::EstimateModelParameters ..." <<endl);
216 Cerr(
"***** iDynamicModelTemplate::EstimateModelParameters() -> Called while not initialized !" << endl);
268 if(
m_verbose >= 2)
Cout(
"iDynamicModelTemplate::EstimateImageWithModel ... " <<endl);
273 Cerr(
"***** iDynamicModelTemplate::EstimateImageWithModel() -> Called while not initialized !" << endl);
327 if(
m_verbose >=2)
Cout(
"iDynamicModelTemplate::SaveParametricImages ..." <<endl);
343 stringstream ss; ss << a_ite + 1;
344 path_to_image.append(
"dynModel_it").append(ss.str());
357 Cerr(
"***** iDynamicModelTemplate::SaveParametricImages()-> Error writing Interfile of output image !" << endl);
int Initialize()
This function is used to initialize the model parametric images and basis functions.
oImageDimensionsAndQuantification * mp_ID
This is the mother class of dynamic model classes.
FLTNB ** m2p_parametricImages
int SaveParametricImages(int a_iteration)
Write parametric images on disk.
static sOutputManager * GetInstance()
Instanciate the singleton object and Initialize member variables if not already done, return a pointer to this object otherwise.
iDynamicModelTemplate()
Constructor of iDynamicModelTemplate. Simply set all data members to default values.
const string & GetPathName()
int ReadAndCheckConfigurationFile(string a_fileOptions)
This function is used to read options from a configuration file.
Singleton class that manages output writing on disk (images, sinograms, etc). It also manages loggi...
int CheckSpecificParameters()
This function is used to check whether all member variables have been correctly initialized or not...
int EstimateModelParameters(oImageSpace *ap_Image, int a_ite, int a_sset)
Estimate the model parametric images.
void ShowHelp()
This function is used to print out specific help about the deformation model and its options...
int EstimateImageWithModel(oImageSpace *ap_Image, int a_ite, int a_sset)
Estimate image using model parametric images and basis functions.
const string & GetBaseName()
int IntfWriteImgDynCoeffFile(const string &a_pathToImg, FLTNB **a2p_ImgMatrix, oImageDimensionsAndQuantification *ap_ID, int a_nbParImgs, int vb)
Function dedicated to Interfile image writing for dynamic coefficients images.
This class holds all the matrices in the image domain that can be used in the algorithm: image...
int ReadAndCheckOptionsList(string a_listOptions)
This function is used to read parameters from a string.
Declaration of class iDynamicModelTemplate.
~iDynamicModelTemplate()
Destructor of iDynamicModelTemplate.