CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
Main Page
Modules
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
b
c
d
e
f
g
i
l
m
o
p
r
s
t
w
Variables
Typedefs
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
s
t
u
v
w
include
image
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
23
class
iDeformationTemplate
:
public
vDeformation
24
{
25
// -----------------------------------------------------------------------------------------
26
// Constructor & Destructor
27
public
:
32
iDeformationTemplate
();
37
~iDeformationTemplate
();
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)
44
FUNCTION_DEFORMATION
(
iDeformationTemplate
)
51
int
ReadAndCheckConfigurationFile
(
const
string
& a_fileOptions);
58
int
ReadAndCheckOptionsList
(
const
string
& a_listOptions);
65
int
CheckSpecificParameters
();
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)
102
CLASS_DEFORMATION
(
template
,
iDeformationTemplate
)
103
104
#endif
FLTNB
#define FLTNB
Definition:
code/include/management/gVariables.hh:59
oImageSpace.hh
Declaration of class oImageSpace.
iDeformationTemplate::CheckSpecificParameters
int CheckSpecificParameters()
This function is an implementation of the pure virtual mother function. It is used to check parameter...
Definition:
code/src/image/iDeformationTemplate.cc:123
vDeformation.hh
Declaration of class vDeformation.
FUNCTION_DEFORMATION
#define FUNCTION_DEFORMATION(CLASS)
Definition:
code/include/image/vDeformation.hh:249
iDeformationTemplate::~iDeformationTemplate
~iDeformationTemplate()
Destructor of iDeformationTemplate. Free memory from all allocated tabs.
Definition:
code/src/image/iDeformationTemplate.cc:33
iDeformationTemplate::Initialize
int Initialize()
This function is an implementation of the pure virtual mother function. It is used to initialize spec...
Definition:
code/src/image/iDeformationTemplate.cc:150
vDeformation
This is the mother class of image-based transformation class.
Definition:
code/include/image/vDeformation.hh:42
iDeformationTemplate::ReadAndCheckConfigurationFile
int ReadAndCheckConfigurationFile(const string &a_fileOptions)
Definition:
code/src/image/iDeformationTemplate.cc:70
iDeformationTemplate::ShowHelp
void ShowHelp()
This function is used to print out specific help about the deformation model and its options...
Definition:
code/src/image/iDeformationTemplate.cc:48
CLASS_DEFORMATION
#define CLASS_DEFORMATION(NAME, CLASS)
Definition:
code/include/image/vDeformation.hh:253
iDeformationTemplate::ReadAndCheckOptionsList
int ReadAndCheckOptionsList(const string &a_listOptions)
Definition:
code/src/image/iDeformationTemplate.cc:97
iDeformationTemplate
This class is a child of the vDeformation class implementing a template squeleton.
Definition:
code/include/image/iDeformationTemplate.hh:23
iDeformationTemplate::iDeformationTemplate
iDeformationTemplate()
Constructor of iDeformationTemplate. Simply set all data members to default values.
Definition:
code/src/image/iDeformationTemplate.cc:18
iDeformationTemplate::ApplyDeformations
int ApplyDeformations(FLTNB *ap_inputImage, FLTNB *ap_outputImage, int a_direction, int a_defIdx)
Definition:
code/src/image/iDeformationTemplate.cc:185
Generated on Tue Oct 22 2024 21:49:43 for CASToR by
1.8.13