CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
include/image/iDeformationTemplate.hh
Go to the documentation of this file.
1 
8 #ifndef IDEFORMATIONTEMPLATE_HH
9 #define IDEFORMATIONTEMPLATE_HH 1
10 
11 // (Optional) may be required if one want access to the image matrices
12 #include "oImageSpace.hh"
13 // Required to automatically add the class in the CASToR code
14 #include "sAddonManager.hh"
15 // Mother class of deformation model
16 #include "vDeformation.hh"
17 
24 {
25  // -----------------------------------------------------------------------------------------
26  // Constructor & Destructor
27  public:
38 
39 
40  // -----------------------------------------------------------------------------------------
41  // Public member functions
42  public:
43  // Function for automatic insertion (put the class name as the parameters and do not add semi-colon at the end of the line)
51  int ReadAndCheckConfigurationFile(const string& a_fileOptions);
58  int ReadAndCheckOptionsList(const string& a_listOptions);
72  int Initialize();
77  void ShowHelp();
87  int ApplyDeformations(FLTNB* ap_inputImage, FLTNB* ap_outputImage, int a_direction, int a_defIdx);
88 
89 
90  // -----------------------------------------------------------------------------------------
91  // Private member functions
92  private:
93 
94 
95  // -----------------------------------------------------------------------------------------
96  // Data members
97  private:
98 
99 };
100 
101 // Class for automatic insertion (set here the visible image deformation's name, put the class name as the parameters and do not add semi-colon at the end of the line)
103 
104 #endif
Declaration of class oImageSpace.
int CheckSpecificParameters()
This function is an implementation of the pure virtual mother function. It is used to check parameter...
Declaration of class vDeformation.
#define FUNCTION_DEFORMATION(CLASS)
~iDeformationTemplate()
Destructor of iDeformationTemplate. Free memory from all allocated tabs.
int Initialize()
This function is an implementation of the pure virtual mother function. It is used to initialize spec...
This is the mother class of image-based transformation class.
int ReadAndCheckConfigurationFile(const string &a_fileOptions)
void ShowHelp()
This function is used to print out specific help about the deformation model and its options...
#define CLASS_DEFORMATION(NAME, CLASS)
int ReadAndCheckOptionsList(const string &a_listOptions)
This class is a child of the vDeformation class implementing a template squeleton.
iDeformationTemplate()
Constructor of iDeformationTemplate. Simply set all data members to default values.
int ApplyDeformations(FLTNB *ap_inputImage, FLTNB *ap_outputImage, int a_direction, int a_defIdx)