Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Components
Transforms
AffineDTITransform
itkAffineDTI2DTransform.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright UMC Utrecht and contributors
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef __itkAffineDTI2DTransform_h
19
#define __itkAffineDTI2DTransform_h
20
21
#include <iostream>
22
#include "
itkAdvancedMatrixOffsetTransformBase.h
"
23
24
namespace
itk
25
{
26
62
template
<
class
TScalarType =
double
>
63
// Data type for scalars (float or double)
64
class
AffineDTI2DTransform
:
65
public
AdvancedMatrixOffsetTransformBase
< TScalarType, 2, 2 >
66
{
67
public
:
68
70
typedef
AffineDTI2DTransform
Self
;
71
typedef
AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 >
Superclass
;
72
typedef
SmartPointer< Self >
Pointer
;
73
typedef
SmartPointer< const Self >
ConstPointer
;
74
76
itkNewMacro(
Self
);
77
79
itkTypeMacro(
AffineDTI2DTransform
,
AdvancedMatrixOffsetTransformBase
);
80
82
itkStaticConstMacro
( SpaceDimension,
unsigned
int
, 2 );
83
itkStaticConstMacro
( InputSpaceDimension,
unsigned
int
, 2 );
84
itkStaticConstMacro
( OutputSpaceDimension,
unsigned
int
, 2 );
85
itkStaticConstMacro
( ParametersDimension,
unsigned
int
, 7 );
86
87
typedef
typename
Superclass::ParametersType
ParametersType
;
88
typedef
typename
Superclass::NumberOfParametersType
NumberOfParametersType
;
89
typedef
typename
Superclass::JacobianType
JacobianType
;
90
typedef
typename
Superclass::ScalarType
ScalarType
;
91
typedef
typename
Superclass::InputVectorType
InputVectorType
;
92
typedef
typename
Superclass::OutputVectorType
OutputVectorType
;
93
typedef
typename
Superclass::InputCovariantVectorType
InputCovariantVectorType
;
94
typedef
typename
Superclass::OutputCovariantVectorType
OutputCovariantVectorType
;
95
typedef
typename
Superclass::InputVnlVectorType
InputVnlVectorType
;
96
typedef
typename
Superclass::OutputVnlVectorType
OutputVnlVectorType
;
97
typedef
typename
Superclass::InputPointType
InputPointType
;
98
typedef
typename
Superclass::OutputPointType
OutputPointType
;
99
typedef
typename
Superclass::MatrixType
MatrixType
;
100
typedef
typename
Superclass::InverseMatrixType
InverseMatrixType
;
101
typedef
typename
Superclass::CenterType
CenterType
;
102
typedef
typename
Superclass::TranslationType
TranslationType
;
103
typedef
typename
Superclass::OffsetType
OffsetType
;
104
typedef
typename
Superclass::ScalarType
AngleType
;
105
106
typedef
typename
Superclass
107
::NonZeroJacobianIndicesType
NonZeroJacobianIndicesType
;
108
typedef
typename
Superclass::SpatialJacobianType
SpatialJacobianType
;
109
typedef
typename
Superclass
110
::JacobianOfSpatialJacobianType
JacobianOfSpatialJacobianType
;
111
typedef
typename
Superclass::SpatialHessianType
SpatialHessianType
;
112
typedef
typename
Superclass
113
::JacobianOfSpatialHessianType
JacobianOfSpatialHessianType
;
114
typedef
typename
Superclass::InternalMatrixType
InternalMatrixType
;
115
116
typedef
FixedArray< ScalarType >
ScalarArrayType
;
117
123
void
SetParameters
(
const
ParametersType
& parameters )
override
;
124
125
const
ParametersType
&
GetParameters
(
void
)
const override
;
126
128
void
GetJacobian
(
129
const
InputPointType
&,
130
JacobianType
&,
131
NonZeroJacobianIndicesType
& )
const override
;
132
133
void
SetIdentity
(
void
)
override
;
134
135
protected
:
136
137
AffineDTI2DTransform
();
138
AffineDTI2DTransform
(
const
MatrixType
& matrix,
139
const
OutputPointType
& offset );
140
AffineDTI2DTransform
(
unsigned
int
outputSpaceDims,
141
unsigned
int
paramsSpaceDims );
142
143
~AffineDTI2DTransform
()
override
{}
144
145
void
PrintSelf
( std::ostream & os, Indent indent )
const override
;
146
148
void
SetVarAngleScaleShear
(
149
ScalarArrayType
angle,
150
ScalarArrayType
shear,
151
ScalarArrayType
scale );
152
154
void
ComputeMatrix
(
void
)
override
;
155
156
void
ComputeMatrixParameters
(
void
)
override
;
157
159
virtual
void
PrecomputeJacobianOfSpatialJacobian
(
void
);
160
161
private
:
162
163
AffineDTI2DTransform
(
const
Self
& );
// purposely not implemented
164
void
operator=
(
const
Self
& );
// purposely not implemented
165
166
ScalarArrayType
m_Angle
;
167
ScalarArrayType
m_Shear
;
168
ScalarArrayType
m_Scale
;
169
170
};
171
172
}
// namespace itk
173
174
#ifndef ITK_MANUAL_INSTANTIATION
175
#include "itkAffineDTI2DTransform.hxx"
176
#endif
177
178
#endif
/* __itkAffineDTI2DTransform_h */
SmartPointer< Self >
itk::AdvancedMatrixOffsetTransformBase
Definition:
itkAdvancedMatrixOffsetTransformBase.h:99
itk::AdvancedMatrixOffsetTransformBase::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:135
itk::AdvancedMatrixOffsetTransformBase::InverseMatrixType
Matrix< TScalarType, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension) > InverseMatrixType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:158
itk::AdvancedMatrixOffsetTransformBase::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:137
itk::AdvancedMatrixOffsetTransformBase::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:145
itk::AdvancedMatrixOffsetTransformBase::InputPointType
Superclass::InputPointType InputPointType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:136
itk::AdvancedMatrixOffsetTransformBase::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:131
itk::AdvancedMatrixOffsetTransformBase::NonZeroJacobianIndicesType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:141
itk::AdvancedMatrixOffsetTransformBase::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:129
itk::AdvancedMatrixOffsetTransformBase::InputVectorType
Superclass::InputVectorType InputVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:128
itk::AdvancedMatrixOffsetTransformBase::ScalarType
Superclass::ScalarType ScalarType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:122
itk::AdvancedMatrixOffsetTransformBase::JacobianOfSpatialJacobianType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:144
itk::AdvancedMatrixOffsetTransformBase::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:123
itk::AdvancedMatrixOffsetTransformBase::OffsetType
OutputVectorType OffsetType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:162
itk::AdvancedMatrixOffsetTransformBase::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:142
itk::AdvancedMatrixOffsetTransformBase::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:134
itk::AdvancedMatrixOffsetTransformBase::CenterType
InputPointType CenterType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:161
itk::AdvancedMatrixOffsetTransformBase::JacobianOfSpatialHessianType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:147
itk::AdvancedMatrixOffsetTransformBase::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:133
itk::AdvancedMatrixOffsetTransformBase::TranslationType
OutputVectorType TranslationType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:163
itk::AdvancedMatrixOffsetTransformBase::MatrixType
Matrix< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension) > MatrixType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:153
itk::AdvancedMatrixOffsetTransformBase::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:126
itk::AdvancedMatrixOffsetTransformBase::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:127
itk::AdvancedMatrixOffsetTransformBase::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition:
itkAdvancedMatrixOffsetTransformBase.h:148
itk::AffineDTI2DTransform
Definition:
itkAffineDTI2DTransform.h:66
itk::AffineDTI2DTransform::InputVectorType
Superclass::InputVectorType InputVectorType
Definition:
itkAffineDTI2DTransform.h:91
itk::AffineDTI2DTransform::GetParameters
const ParametersType & GetParameters(void) const override
itk::AffineDTI2DTransform::AffineDTI2DTransform
AffineDTI2DTransform(const MatrixType &matrix, const OutputPointType &offset)
itk::AffineDTI2DTransform::ScalarType
Superclass::ScalarType ScalarType
Definition:
itkAffineDTI2DTransform.h:90
itk::AffineDTI2DTransform::Self
AffineDTI2DTransform Self
Definition:
itkAffineDTI2DTransform.h:70
itk::AffineDTI2DTransform::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkAffineDTI2DTransform.h:98
itk::AffineDTI2DTransform::itkStaticConstMacro
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 2)
itk::AffineDTI2DTransform::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkAffineDTI2DTransform.h:87
itk::AffineDTI2DTransform::SetVarAngleScaleShear
void SetVarAngleScaleShear(ScalarArrayType angle, ScalarArrayType shear, ScalarArrayType scale)
itk::AffineDTI2DTransform::TranslationType
Superclass::TranslationType TranslationType
Definition:
itkAffineDTI2DTransform.h:102
itk::AffineDTI2DTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkAffineDTI2DTransform.h:73
itk::AffineDTI2DTransform::SetIdentity
void SetIdentity(void) override
itk::AffineDTI2DTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::AffineDTI2DTransform::JacobianOfSpatialHessianType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition:
itkAffineDTI2DTransform.h:113
itk::AffineDTI2DTransform::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition:
itkAffineDTI2DTransform.h:96
itk::AffineDTI2DTransform::m_Shear
ScalarArrayType m_Shear
Definition:
itkAffineDTI2DTransform.h:167
itk::AffineDTI2DTransform::OffsetType
Superclass::OffsetType OffsetType
Definition:
itkAffineDTI2DTransform.h:103
itk::AffineDTI2DTransform::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition:
itkAffineDTI2DTransform.h:93
itk::AffineDTI2DTransform::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition:
itkAffineDTI2DTransform.h:111
itk::AffineDTI2DTransform::PrecomputeJacobianOfSpatialJacobian
virtual void PrecomputeJacobianOfSpatialJacobian(void)
itk::AffineDTI2DTransform::CenterType
Superclass::CenterType CenterType
Definition:
itkAffineDTI2DTransform.h:101
itk::AffineDTI2DTransform::operator=
void operator=(const Self &)
itk::AffineDTI2DTransform::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition:
itkAffineDTI2DTransform.h:108
itk::AffineDTI2DTransform::m_Angle
ScalarArrayType m_Angle
Definition:
itkAffineDTI2DTransform.h:166
itk::AffineDTI2DTransform::Pointer
SmartPointer< Self > Pointer
Definition:
itkAffineDTI2DTransform.h:72
itk::AffineDTI2DTransform::ScalarArrayType
FixedArray< ScalarType > ScalarArrayType
Definition:
itkAffineDTI2DTransform.h:116
itk::AffineDTI2DTransform::m_Scale
ScalarArrayType m_Scale
Definition:
itkAffineDTI2DTransform.h:168
itk::AffineDTI2DTransform::AffineDTI2DTransform
AffineDTI2DTransform()
itk::AffineDTI2DTransform::AffineDTI2DTransform
AffineDTI2DTransform(unsigned int outputSpaceDims, unsigned int paramsSpaceDims)
itk::AffineDTI2DTransform::Superclass
AdvancedMatrixOffsetTransformBase< TScalarType, 2, 2 > Superclass
Definition:
itkAffineDTI2DTransform.h:71
itk::AffineDTI2DTransform::GetJacobian
void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
itk::AffineDTI2DTransform::JacobianOfSpatialJacobianType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition:
itkAffineDTI2DTransform.h:110
itk::AffineDTI2DTransform::SetParameters
void SetParameters(const ParametersType ¶meters) override
itk::AffineDTI2DTransform::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition:
itkAffineDTI2DTransform.h:114
itk::AffineDTI2DTransform::AffineDTI2DTransform
AffineDTI2DTransform(const Self &)
itk::AffineDTI2DTransform::InputPointType
Superclass::InputPointType InputPointType
Definition:
itkAffineDTI2DTransform.h:97
itk::AffineDTI2DTransform::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition:
itkAffineDTI2DTransform.h:94
itk::AffineDTI2DTransform::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkAffineDTI2DTransform.h:89
itk::AffineDTI2DTransform::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition:
itkAffineDTI2DTransform.h:95
itk::AffineDTI2DTransform::AngleType
Superclass::ScalarType AngleType
Definition:
itkAffineDTI2DTransform.h:104
itk::AffineDTI2DTransform::itkStaticConstMacro
itkStaticConstMacro(ParametersDimension, unsigned int, 7)
itk::AffineDTI2DTransform::MatrixType
Superclass::MatrixType MatrixType
Definition:
itkAffineDTI2DTransform.h:99
itk::AffineDTI2DTransform::ComputeMatrix
void ComputeMatrix(void) override
itk::AffineDTI2DTransform::InverseMatrixType
Superclass::InverseMatrixType InverseMatrixType
Definition:
itkAffineDTI2DTransform.h:100
itk::AffineDTI2DTransform::~AffineDTI2DTransform
~AffineDTI2DTransform() override
Definition:
itkAffineDTI2DTransform.h:143
itk::AffineDTI2DTransform::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition:
itkAffineDTI2DTransform.h:88
itk::AffineDTI2DTransform::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition:
itkAffineDTI2DTransform.h:92
itk::AffineDTI2DTransform::NonZeroJacobianIndicesType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition:
itkAffineDTI2DTransform.h:107
itk::AffineDTI2DTransform::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, 2)
itk::AffineDTI2DTransform::itkStaticConstMacro
itkStaticConstMacro(InputSpaceDimension, unsigned int, 2)
itk::AffineDTI2DTransform::ComputeMatrixParameters
void ComputeMatrixParameters(void) override
itkAdvancedMatrixOffsetTransformBase.h
itk
Definition:
itkAdvancedImageToImageMetric.h:42
Generated on 1667476801 for elastix by
1.9.4