67 cout <<
"This class is a template class dedicated to add your own dynamic model." << endl;
85 if(
m_verbose >=2)
Cout(
"iDynamicModelTemplate::ReadAndCheckConfigurationFile ..."<< endl);
141 if(
m_verbose >=2)
Cout(
"iDynamicModelTemplate::CheckSpecificParameters ..."<< endl);
161 if(
m_verbose >=2)
Cout(
"iDynamicModelTemplate::Initialize ..."<< endl);
173 Cerr(
"***** oDynamicModelManager::Initialize() -> Must call CheckParameters functions before Initialize() !" << endl);
199 if(
m_verbose >=2)
Cout(
"iDynamicModelTemplate::EstimateModelParameters ..." <<endl);
204 Cerr(
"***** iDynamicModelTemplate::EstimateModelParameters() -> Called while not initialized !" << endl);
256 if(
m_verbose >= 2)
Cout(
"iDynamicModelTemplate::FitModel ... " <<endl);
261 Cerr(
"***** iDynamicModelTemplate::FitModel() -> Called while not initialized !" << endl);
315 if(
m_verbose >=2)
Cout(
"iDynamicModelTemplate::SaveParametricImages ..." <<endl);
331 stringstream ss; ss << a_ite + 1;
332 path_to_image.append(
"dynModel_it").append(ss.str());
345 Cerr(
"***** iDynamicModelTemplate::SaveParametricImages()-> Error writing Interfile of output image !" << endl);
int Initialize()
This function is used to initialize Patlak parametric images and basis functions. ...
int FitModel(oImageSpace *ap_Image, int a_ite, int a_sset)
Estimate image using Patlak 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 Patlak parametric images.
void ShowHelp()
This function is used to print out specific help about the deformation model and its options...
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.