![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
This class is a squeleton implementation of the pure virtual vDeformation class. More...
#include <iDeformationElastic.hh>
Public Member Functions | |
iDeformationElastic () | |
Constructor of iDeformationRigid. Simply set all data members to default values. | |
~iDeformationElastic () | |
Destructor of iDeformationRigid. Free memory from all allocated tabs. | |
int | ReadAndCheckConfigurationFile (const string &a_fileOptions) |
This function is an implementation of the pure virtual mother function. It is used to read options from a configuration file. | |
int | ReadAndCheckOptionsList (const string &a_listOptions) |
This function is an implementation of the pure virtual mother function. It is used to read options from a list of options. | |
int | CheckSpecificParameters () |
This function is an implementation of the pure virtual mother function. It is used to check parameters of the child deformation model before initialization. | |
int | Initialize () |
This function is an implementation of the pure virtual mother function. It is used to initialize specific stuff to the child deformation model. | |
void | ShowHelp () |
This function is an implementation of the pure virtual mother function. It is used to print out specific help about the deformation model and its options. | |
int | ApplyDeformations (FLTNB *ap_inputImage, FLTNB *ap_outputImage, int a_direction, int a_defIdx) |
This function is an implementation of the pure virtual mother function. The actual deformation should be implemented here. | |
Private Attributes | |
vector< string > | m_pathToFwdDeformationFiles |
vector< string > | m_pathToBwdDeformationFiles |
This class is a squeleton implementation of the pure virtual vDeformation class.
Use this class to implement your own custom deformation model.
Definition at line 56 of file iDeformationElastic.hh.
Constructor of iDeformationRigid. Simply set all data members to default values.
Definition at line 14 of file iDeformationElastic.cc.
Destructor of iDeformationRigid. Free memory from all allocated tabs.
Definition at line 32 of file iDeformationElastic.cc.
int iDeformationElastic::ApplyDeformations | ( | FLTNB * | ap_inputImage, |
FLTNB * | ap_outputImage, | ||
int | a_direction, | ||
int | a_defIdx | ||
) | [virtual] |
This function is an implementation of the pure virtual mother function. The actual deformation should be implemented here.
FLTNB* | ap_inputImage : input image to deform |
FLTNB* | ap_outputImage : image in which the output of the deformation should be recovered |
int | a_direction : a direction for the deformation to perform (forward or backward) |
int | a_defIdx : index of the deformation |
Implements vDeformation.
Definition at line 240 of file iDeformationElastic.cc.
int iDeformationElastic::CheckSpecificParameters | ( | ) | [virtual] |
This function is an implementation of the pure virtual mother function. It is used to check parameters of the child deformation model before initialization.
Implements vDeformation.
Definition at line 156 of file iDeformationElastic.cc.
int iDeformationElastic::Initialize | ( | ) | [virtual] |
This function is an implementation of the pure virtual mother function. It is used to initialize specific stuff to the child deformation model.
Implements vDeformation.
Definition at line 203 of file iDeformationElastic.cc.
int iDeformationElastic::ReadAndCheckConfigurationFile | ( | const string & | a_fileOptions | ) | [virtual] |
This function is an implementation of the pure virtual mother function. It is used to read options from a configuration file.
const | string& a_configurationFile |
Implements vDeformation.
Definition at line 64 of file iDeformationElastic.cc.
int iDeformationElastic::ReadAndCheckOptionsList | ( | const string & | a_listOptions | ) | [virtual] |
This function is an implementation of the pure virtual mother function. It is used to read options from a list of options.
const | string& a_optionsList |
Implements vDeformation.
Definition at line 139 of file iDeformationElastic.cc.
void iDeformationElastic::ShowHelp | ( | ) | [virtual] |
This function is an implementation of the pure virtual mother function. It is used to print out specific help about the deformation model and its options.
Implements vDeformation.
Definition at line 48 of file iDeformationElastic.cc.
vector<string> iDeformationElastic::m_pathToBwdDeformationFiles [private] |
Containers of the location of backward deformation file. It should be equal to the number of transformations 'm_nbTransformations'
Definition at line 133 of file iDeformationElastic.hh.
vector<string> iDeformationElastic::m_pathToFwdDeformationFiles [private] |
Containers of the location of forward deformation file. It should be equal to the number of transformations 'm_nbTransformations'
Definition at line 132 of file iDeformationElastic.hh.