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/iDeformationRigid.hh
Go to the documentation of this file.
1
8
#ifndef IDEFORMATIONRIGID_HH
9
#define IDEFORMATIONRIGID_HH 1
10
11
#include "
oImageSpace.hh
"
12
#include "sAddonManager.hh"
13
#include "
vDeformation.hh
"
14
#include "oMatrix.hh"
15
22
class
iDeformationRigid
:
public
vDeformation
23
{
24
// -----------------------------------------------------------------------------------------
25
// Constructor & Destructor
26
public
:
31
iDeformationRigid
();
36
~iDeformationRigid
();
37
38
39
// -----------------------------------------------------------------------------------------
40
// Public member functions
41
public
:
42
// Function for automatic insertion (put the class name as the parameters and do not add semi-colon at the end of the line)
43
FUNCTION_DEFORMATION
(
iDeformationRigid
)
50
int
ReadAndCheckConfigurationFile
(
const
string
& a_fileOptions);
58
int
ReadAndCheckOptionsList
(
const
string
& a_listOptions);
65
int
CheckSpecificParameters
();
72
int
Initialize
();
77
void
ShowHelp
();
91
int
ApplyDeformations
(
FLTNB
* ap_inputImage,
FLTNB
* ap_outputImage,
int
a_direction,
int
a_defIdx);
92
93
94
// -----------------------------------------------------------------------------------------
95
// Private member functions
96
private
:
110
int
TransformImage
(
int
a_direction,
int
a_defIdx,
HPFLTNB
*ap_inputImage,
HPFLTNB
*ap_outputImage);
111
117
int
ComputeTransformationMatrices
();
118
131
int
SetRotationMatrix
(
oMatrix
* apRotMtx,
FLTNB
a_ang1,
FLTNB
a_ang2,
FLTNB
a_ang3,
string
a_cvt);
132
133
//int Tlerp(HPFLTNB *ap_inputImage, HPFLTNB *ap_outputImage, uint32_t iov, uint32_t iiv, FLTNB dX, FLTNB dY, FLTNB dZ);
134
135
// -----------------------------------------------------------------------------------------
136
// Data members
137
private
:
138
vector<string>
139
m_pathToFwdDeformationFiles
;
141
vector<string>
142
m_pathToBwdDeformationFiles
;
144
HPFLTNB
*
mp_OriginalArray
;
145
HPFLTNB
*
mp_OutputArray
;
146
HPFLTNB
*
mp_tX
;
147
HPFLTNB
*
mp_tY
;
148
HPFLTNB
*
mp_tZ
;
149
HPFLTNB
*
mp_rA
;
150
HPFLTNB
*
mp_rB
;
151
HPFLTNB
*
mp_rC
;
152
oMatrix
**
m2p_FTmtx
;
153
oMatrix
**
m2p_BTmtx
;
154
string
m_rotConvention
;
155
bool
m_cmpTransfoFlag
;
157
};
158
159
// 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)
160
CLASS_DEFORMATION
(deformationRigid,
iDeformationRigid
)
161
162
#endif
iDeformationRigid::ShowHelp
void ShowHelp()
This function is used to print out specific help about the deformation and its options.
Definition:
code/src/image/iDeformationRigid.cc:83
iDeformationRigid
This class performs rigid transformation based on a trilinear interpolation It requires ASCII paramet...
Definition:
code/include/image/iDeformationRigid.hh:22
FLTNB
#define FLTNB
Definition:
code/include/management/gVariables.hh:59
iDeformationRigid::mp_rC
HPFLTNB * mp_rC
Definition:
code/include/image/iDeformationRigid.hh:151
iDeformationRigid::~iDeformationRigid
~iDeformationRigid()
Destructor of iDeformationRigid. Free memory from all allocated tabs.
Definition:
code/src/image/iDeformationRigid.cc:45
oImageSpace.hh
Declaration of class oImageSpace.
iDeformationRigid::m_cmpTransfoFlag
bool m_cmpTransfoFlag
Definition:
code/include/image/iDeformationRigid.hh:155
iDeformationRigid::ReadAndCheckConfigurationFile
int ReadAndCheckConfigurationFile(const string &a_fileOptions)
Definition:
code/src/image/iDeformationRigid.cc:136
vDeformation.hh
Declaration of class vDeformation.
HPFLTNB
#define HPFLTNB
Definition:
code/include/management/gVariables.hh:61
FUNCTION_DEFORMATION
#define FUNCTION_DEFORMATION(CLASS)
Definition:
code/include/image/vDeformation.hh:249
iDeformationRigid::mp_rA
HPFLTNB * mp_rA
Definition:
code/include/image/iDeformationRigid.hh:149
iDeformationRigid::m2p_BTmtx
oMatrix ** m2p_BTmtx
Definition:
code/include/image/iDeformationRigid.hh:153
iDeformationRigid::ReadAndCheckOptionsList
int ReadAndCheckOptionsList(const string &a_listOptions)
Definition:
code/src/image/iDeformationRigid.cc:224
iDeformationRigid::m2p_FTmtx
oMatrix ** m2p_FTmtx
Definition:
code/include/image/iDeformationRigid.hh:152
iDeformationRigid::CheckSpecificParameters
int CheckSpecificParameters()
This function is used to check parameters after the latter have been all set using Set functions...
Definition:
code/src/image/iDeformationRigid.cc:410
iDeformationRigid::TransformImage
int TransformImage(int a_direction, int a_defIdx, HPFLTNB *ap_inputImage, HPFLTNB *ap_outputImage)
Definition:
code/src/image/iDeformationRigid.cc:530
iDeformationRigid::SetRotationMatrix
int SetRotationMatrix(oMatrix *apRotMtx, FLTNB a_ang1, FLTNB a_ang2, FLTNB a_ang3, string a_cvt)
This function set the rotation matrix passed in parameter with the provided angles in radian and rota...
Definition:
code/src/image/iDeformationRigid.cc:620
iDeformationRigid::m_pathToBwdDeformationFiles
vector< string > m_pathToBwdDeformationFiles
Definition:
code/include/image/iDeformationRigid.hh:142
iDeformationRigid::mp_OriginalArray
HPFLTNB * mp_OriginalArray
Definition:
code/include/image/iDeformationRigid.hh:144
iDeformationRigid::mp_tX
HPFLTNB * mp_tX
Definition:
code/include/image/iDeformationRigid.hh:146
iDeformationRigid::ComputeTransformationMatrices
int ComputeTransformationMatrices()
Initialize transformation matrices from parameters.
Definition:
code/src/image/iDeformationRigid.cc:293
vDeformation
This is the mother class of image-based transformation class.
Definition:
code/include/image/vDeformation.hh:42
CLASS_DEFORMATION
#define CLASS_DEFORMATION(NAME, CLASS)
Definition:
code/include/image/vDeformation.hh:253
iDeformationRigid::iDeformationRigid
iDeformationRigid()
Constructor of iDeformationRigid. Simply set all data members to default values.
Definition:
code/src/image/iDeformationRigid.cc:18
iDeformationRigid::mp_tZ
HPFLTNB * mp_tZ
Definition:
code/include/image/iDeformationRigid.hh:148
oMatrix
Structure designed for basic matrices operations.
Definition:
code/include/scanner/oMatrix.hh:19
iDeformationRigid::m_rotConvention
string m_rotConvention
Definition:
code/include/image/iDeformationRigid.hh:154
iDeformationRigid::mp_OutputArray
HPFLTNB * mp_OutputArray
Definition:
code/include/image/iDeformationRigid.hh:145
iDeformationRigid::mp_tY
HPFLTNB * mp_tY
Definition:
code/include/image/iDeformationRigid.hh:147
iDeformationRigid::mp_rB
HPFLTNB * mp_rB
Definition:
code/include/image/iDeformationRigid.hh:150
iDeformationRigid::ApplyDeformations
int ApplyDeformations(FLTNB *ap_inputImage, FLTNB *ap_outputImage, int a_direction, int a_defIdx)
Definition:
code/src/image/iDeformationRigid.cc:478
iDeformationRigid::Initialize
int Initialize()
This function is used to initialize specific stuff in the deformation model.
Definition:
code/src/image/iDeformationRigid.cc:441
iDeformationRigid::m_pathToFwdDeformationFiles
vector< string > m_pathToFwdDeformationFiles
Definition:
code/include/image/iDeformationRigid.hh:139
Generated on Tue Oct 22 2024 21:49:43 for CASToR by
1.8.13