![]() |
CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
|
This is the mother class of image-based transformation class. More...
#include <vDeformation.hh>
Public Member Functions | |
vDeformation () | |
Constructor of vDeformation. Simply set all data members to default values. More... | |
virtual | ~vDeformation () |
Destructor of vDeformation. More... | |
void | SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification) |
void | SetVerbose (int a_verbose) |
void | SetNbTransformations (int a_nbTransformations) |
virtual int | CheckParameters () |
This function is used to check parameters after the latter have been all set using Set functions. More... | |
virtual int | CheckSpecificParameters ()=0 |
This function is used to check the parameters of the child functions before initialization if required. More... | |
virtual int | ReadAndCheckConfigurationFile (const string &a_fileOptions)=0 |
virtual int | ReadAndCheckOptionsList (const string &a_listOptions)=0 |
virtual int | Initialize ()=0 |
This function is used to initialize specific data related to the child deformation model. It is pure virtual so must be implemented by children. More... | |
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. More... | |
virtual int | PerformDeformation (oImageSpace *ap_Image, int a_defIdx, int a_fr, int a_rimg, int a_cimg) |
virtual int | PerformHistoSensitivityDeformation (oImageSpace *ap_Image, int a_defIdx, int fr, int rimg, int cimg) |
virtual int | ApplyDeformationsToBackwardImage (oImageSpace *ap_Image, int a_fr, int a_defIdx) |
virtual int | ApplyDeformationsToHistoSensitivityImage (oImageSpace *ap_Image, int a_fr, int a_defIdx) |
virtual int | PerformSensitivityDeformation (oImageSpace *ap_Image, int a_defDirection, int a_defIdx, int fr, int rg, int cg) |
virtual int | ApplyDeformations (FLTNB *ap_inputImage, FLTNB *ap_outputImage, int a_direction, int a_defIdx)=0 |
int | Tlerp (HPFLTNB *ap_inputImage, HPFLTNB *ap_outputImage, uint32_t iov, uint32_t iiv, FLTNB dX, FLTNB dY, FLTNB dZ) |
vDeformation () | |
virtual | ~vDeformation () |
void | SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification) |
void | SetVerbose (int a_verbose) |
void | SetNbTransformations (int a_nbTransformations) |
virtual int | CheckParameters () |
virtual int | CheckSpecificParameters ()=0 |
virtual int | ReadAndCheckConfigurationFile (const string &a_fileOptions)=0 |
virtual int | ReadAndCheckOptionsList (const string &a_listOptions)=0 |
virtual int | Initialize ()=0 |
virtual void | ShowHelp ()=0 |
virtual int | PerformDeformation (oImageSpace *ap_Image, int a_defIdx, int a_fr, int a_rimg, int a_cimg) |
virtual int | PerformHistoSensitivityDeformation (oImageSpace *ap_Image, int a_defIdx, int fr, int rimg, int cimg) |
virtual int | ApplyDeformationsToBackwardImage (oImageSpace *ap_Image, int a_fr, int a_defIdx) |
virtual int | ApplyDeformationsToHistoSensitivityImage (oImageSpace *ap_Image, int a_fr, int a_defIdx) |
virtual int | PerformSensitivityDeformation (oImageSpace *ap_Image, int a_defDirection, int a_defIdx, int fr, int rg, int cg) |
virtual int | ApplyDeformations (FLTNB *ap_inputImage, FLTNB *ap_outputImage, int a_direction, int a_defIdx)=0 |
int | Tlerp (HPFLTNB *ap_inputImage, HPFLTNB *ap_outputImage, uint32_t iov, uint32_t iiv, FLTNB dX, FLTNB dY, FLTNB dZ) |
Protected Attributes | |
oImageDimensionsAndQuantification * | mp_ID |
int | m_verbose |
int | m_nbTransformations |
int | m_checked |
int | m_initialized |
This is the mother class of image-based transformation class.
This class is a virtual one, in the sense that it cannot be used on its own because several pure virtual functions belong to it. Its children are implementations of actual deformation models.
Everywhere in the code, this parent class should be used instead of any of its children.
It can be used during the projection/reconstruction process by the oDeformationManager through the use of the Deformation functions that cannot be overloaded:
Definition at line 42 of file code/include/image/vDeformation.hh.
vDeformation::vDeformation | ( | ) |
Constructor of vDeformation. Simply set all data members to default values.
Definition at line 20 of file code/src/image/vDeformation.cc.
|
virtual |
Destructor of vDeformation.
Definition at line 40 of file code/src/image/vDeformation.cc.
vDeformation::vDeformation | ( | ) |
|
virtual |
|
pure virtual |
Implemented in iDeformationRigid, iDeformationRigid, iDeformationTemplate, and iDeformationTemplate.
|
pure virtual |
Implemented in iDeformationRigid, iDeformationRigid, iDeformationTemplate, and iDeformationTemplate.
|
virtual |
Definition at line 112 of file code/src/image/vDeformation.cc.
|
virtual |
|
virtual |
Definition at line 164 of file code/src/image/vDeformation.cc.
|
virtual |
|
virtual |
|
virtual |
This function is used to check parameters after the latter have been all set using Set functions.
Definition at line 55 of file code/src/image/vDeformation.cc.
|
pure virtual |
This function is used to check the parameters of the child functions before initialization if required.
It could be overloaded by the child if needed. Default implementation is empty and return 0.
Implemented in iDeformationRigid, iDeformationTemplate, iDeformationRigid, and iDeformationTemplate.
|
pure virtual |
Implemented in iDeformationRigid, iDeformationTemplate, iDeformationRigid, and iDeformationTemplate.
|
pure virtual |
This function is used to initialize specific data related to the child deformation model.
It is pure virtual so must be implemented by children.
Implemented in iDeformationRigid, iDeformationTemplate, iDeformationRigid, and iDeformationTemplate.
|
pure virtual |
Implemented in iDeformationRigid, iDeformationTemplate, iDeformationRigid, and iDeformationTemplate.
|
virtual |
Definition at line 219 of file code/src/image/vDeformation.cc.
|
virtual |
|
virtual |
|
virtual |
Definition at line 299 of file code/src/image/vDeformation.cc.
|
virtual |
Definition at line 364 of file code/src/image/vDeformation.cc.
|
virtual |
|
pure virtual |
Implemented in iDeformationTemplate, iDeformationTemplate, iDeformationRigid, and iDeformationRigid.
|
pure virtual |
Implemented in iDeformationTemplate, iDeformationTemplate, iDeformationRigid, and iDeformationRigid.
|
pure virtual |
Implemented in iDeformationRigid, iDeformationTemplate, iDeformationRigid, and iDeformationTemplate.
|
pure virtual |
Implemented in iDeformationRigid, iDeformationTemplate, iDeformationRigid, and iDeformationTemplate.
|
inline |
Definition at line 67 of file include/image/vDeformation.hh.
|
inline |
Definition at line 67 of file code/include/image/vDeformation.hh.
|
inline |
Definition at line 82 of file include/image/vDeformation.hh.
|
inline |
Definition at line 82 of file code/include/image/vDeformation.hh.
|
inline |
Definition at line 74 of file code/include/image/vDeformation.hh.
|
inline |
Definition at line 74 of file include/image/vDeformation.hh.
|
pure virtual |
Implemented in iDeformationRigid, iDeformationTemplate, iDeformationRigid, and iDeformationTemplate.
|
pure virtual |
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.
Implemented in iDeformationRigid, iDeformationTemplate, iDeformationRigid, and iDeformationTemplate.
int vDeformation::Tlerp | ( | HPFLTNB * | ap_inputImage, |
HPFLTNB * | ap_outputImage, | ||
uint32_t | iov, | ||
uint32_t | iiv, | ||
FLTNB | dX, | ||
FLTNB | dY, | ||
FLTNB | dZ | ||
) |
Definition at line 425 of file code/src/image/vDeformation.cc.
int vDeformation::Tlerp | ( | HPFLTNB * | ap_inputImage, |
HPFLTNB * | ap_outputImage, | ||
uint32_t | iov, | ||
uint32_t | iiv, | ||
FLTNB | dX, | ||
FLTNB | dY, | ||
FLTNB | dZ | ||
) |
|
protected |
Boolean indicating whether the parameters were checked or not
Definition at line 239 of file code/include/image/vDeformation.hh.
|
protected |
Boolean indicating whether the manager was initialized or not
Definition at line 240 of file code/include/image/vDeformation.hh.
|
protected |
Number of transformations to be performed on the dataset (corresponding to the number of gates subsets of the data)
Definition at line 238 of file code/include/image/vDeformation.hh.
|
protected |
The verbose level
Definition at line 237 of file code/include/image/vDeformation.hh.
|
protected |
Pointer to the oImageDimensionsAndQuantification object in use
Definition at line 236 of file code/include/image/vDeformation.hh.