Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Common
Transforms
itkAdvancedSimilarity2DTransform.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
/*=========================================================================
19
20
Program: Insight Segmentation & Registration Toolkit
21
Module: $RCSfile: itkAdvancedSimilarity2DTransform.h,v $
22
Language: C++
23
Date: $Date: 2006-06-07 16:06:32 $
24
Version: $Revision: 1.11 $
25
26
Copyright (c) Insight Software Consortium. All rights reserved.
27
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
28
29
This software is distributed WITHOUT ANY WARRANTY; without even
30
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
31
PURPOSE. See the above copyright notices for more information.
32
33
=========================================================================*/
34
#ifndef __itkAdvancedSimilarity2DTransform_h
35
#define __itkAdvancedSimilarity2DTransform_h
36
37
#include <iostream>
38
#include "
itkAdvancedRigid2DTransform.h
"
39
40
namespace
itk
41
{
42
77
template
<
class
TScalarType =
double
>
78
// Data type for scalars (float or double)
79
class
ITK_EXPORT
AdvancedSimilarity2DTransform
:
80
public
AdvancedRigid2DTransform
< TScalarType >
81
{
82
public
:
83
85
typedef
AdvancedSimilarity2DTransform
Self
;
86
typedef
AdvancedRigid2DTransform< TScalarType >
Superclass
;
87
typedef
SmartPointer< Self >
Pointer
;
88
typedef
SmartPointer< const Self >
ConstPointer
;
89
91
itkNewMacro(
Self
);
92
94
itkTypeMacro(
AdvancedSimilarity2DTransform
,
AdvancedRigid2DTransform
);
95
97
itkStaticConstMacro
( SpaceDimension,
unsigned
int
, 2 );
98
itkStaticConstMacro
( InputSpaceDimension,
unsigned
int
, 2 );
99
itkStaticConstMacro
( OutputSpaceDimension,
unsigned
int
, 2 );
100
itkStaticConstMacro
( ParametersDimension,
unsigned
int
, 4 );
101
103
typedef
typename
Superclass::ScalarType
ScalarType
;
104
typedef
TScalarType
ScaleType
;
105
107
typedef
typename
Superclass::ParametersType
ParametersType
;
108
typedef
typename
Superclass::NumberOfParametersType
NumberOfParametersType
;
109
111
typedef
typename
Superclass::JacobianType
JacobianType
;
112
114
typedef
typename
Superclass::OffsetType
OffsetType
;
115
117
typedef
typename
Superclass::MatrixType
MatrixType
;
118
120
typedef
typename
Superclass::InputPointType
InputPointType
;
121
typedef
typename
Superclass::OutputPointType
OutputPointType
;
122
124
typedef
typename
Superclass::InputVectorType
InputVectorType
;
125
typedef
typename
Superclass::OutputVectorType
OutputVectorType
;
126
128
typedef
typename
Superclass::InputCovariantVectorType
InputCovariantVectorType
;
129
typedef
typename
Superclass::OutputCovariantVectorType
OutputCovariantVectorType
;
130
132
typedef
typename
Superclass::InputVnlVectorType
InputVnlVectorType
;
133
typedef
typename
Superclass::OutputVnlVectorType
OutputVnlVectorType
;
134
135
typedef
typename
Superclass
136
::NonZeroJacobianIndicesType
NonZeroJacobianIndicesType
;
137
typedef
typename
Superclass::SpatialJacobianType
SpatialJacobianType
;
138
typedef
typename
Superclass
139
::JacobianOfSpatialJacobianType
JacobianOfSpatialJacobianType
;
140
typedef
typename
Superclass::SpatialHessianType
SpatialHessianType
;
141
typedef
typename
Superclass
142
::JacobianOfSpatialHessianType
JacobianOfSpatialHessianType
;
143
typedef
typename
Superclass::InternalMatrixType
InternalMatrixType
;
144
146
void
SetScale
(
ScaleType
scale );
147
148
itkGetConstReferenceMacro( Scale,
ScaleType
);
149
159
void
SetParameters
(
const
ParametersType
& parameters )
override
;
160
170
const
ParametersType
&
GetParameters
(
void
)
const override
;
171
178
void
GetJacobian
(
179
const
InputPointType
&,
180
JacobianType
&,
181
NonZeroJacobianIndicesType
& )
const override
;
182
184
void
SetIdentity
(
void
)
override
;
185
190
void
CloneInverseTo
(
Pointer
& newinverse )
const
;
191
196
void
CloneTo
(
Pointer
& clone )
const
;
197
211
void
SetMatrix
(
const
MatrixType
& matrix )
override
;
212
213
protected
:
214
215
AdvancedSimilarity2DTransform
();
216
AdvancedSimilarity2DTransform
(
unsigned
int
spaceDimension,
217
unsigned
int
parametersDimension );
218
219
~AdvancedSimilarity2DTransform
()
override
{}
220
void
PrintSelf
( std::ostream & os, Indent indent )
const override
;
221
225
void
ComputeMatrix
(
void
)
override
;
226
231
void
ComputeMatrixParameters
(
void
)
override
;
232
234
void
SetVarScale
(
ScaleType
scale )
235
{ m_Scale = scale; }
236
238
void
PrecomputeJacobianOfSpatialJacobian
(
void
)
override
;
239
240
private
:
241
242
AdvancedSimilarity2DTransform
(
const
Self
& );
//purposely not implemented
243
void
operator=
(
const
Self
& );
//purposely not implemented
244
245
ScaleType
m_Scale
;
246
247
};
248
249
//class AdvancedSimilarity2DTransform
250
251
}
// namespace itk
252
253
#ifndef ITK_MANUAL_INSTANTIATION
254
#include "itkAdvancedSimilarity2DTransform.hxx"
255
#endif
256
257
#endif
/* __itkAdvancedSimilarity2DTransform_h */
SmartPointer< Self >
TScalarType
itk::AdvancedRigid2DTransform
AdvancedRigid2DTransform of a vector space (e.g. space coordinates)
Definition:
itkAdvancedRigid2DTransform.h:78
itk::AdvancedRigid2DTransform::OffsetType
Superclass::OffsetType OffsetType
Standard vector type for this class.
Definition:
itkAdvancedRigid2DTransform.h:112
itk::AdvancedRigid2DTransform::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Standard covariant vector type for this class.
Definition:
itkAdvancedRigid2DTransform.h:119
itk::AdvancedRigid2DTransform::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Standard vnl_vector type for this class.
Definition:
itkAdvancedRigid2DTransform.h:123
itk::AdvancedRigid2DTransform::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition:
itkAdvancedRigid2DTransform.h:135
itk::AdvancedRigid2DTransform::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition:
itkAdvancedRigid2DTransform.h:138
itk::AdvancedRigid2DTransform::ScalarType
Superclass::ScalarType ScalarType
Definition:
itkAdvancedRigid2DTransform.h:99
itk::AdvancedRigid2DTransform::MatrixType
Superclass::MatrixType MatrixType
Standard matrix type for this class.
Definition:
itkAdvancedRigid2DTransform.h:109
itk::AdvancedRigid2DTransform::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkAdvancedRigid2DTransform.h:106
itk::AdvancedRigid2DTransform::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition:
itkAdvancedRigid2DTransform.h:120
itk::AdvancedRigid2DTransform::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition:
itkAdvancedRigid2DTransform.h:103
itk::AdvancedRigid2DTransform::InputPointType
Superclass::InputPointType InputPointType
Standard coordinate point type for this class.
Definition:
itkAdvancedRigid2DTransform.h:127
itk::AdvancedRigid2DTransform::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition:
itkAdvancedRigid2DTransform.h:124
itk::AdvancedRigid2DTransform::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkAdvancedRigid2DTransform.h:102
itk::AdvancedRigid2DTransform::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition:
itkAdvancedRigid2DTransform.h:116
itk::AdvancedRigid2DTransform::InputVectorType
Superclass::InputVectorType InputVectorType
Standard vector type for this class.
Definition:
itkAdvancedRigid2DTransform.h:115
itk::AdvancedRigid2DTransform::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition:
itkAdvancedRigid2DTransform.h:132
itk::AdvancedRigid2DTransform::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkAdvancedRigid2DTransform.h:128
itk::AdvancedSimilarity2DTransform
AdvancedSimilarity2DTransform of a vector space (e.g. space coordinates)
Definition:
itkAdvancedSimilarity2DTransform.h:81
itk::AdvancedSimilarity2DTransform::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition:
itkAdvancedSimilarity2DTransform.h:133
itk::AdvancedSimilarity2DTransform::SetScale
void SetScale(ScaleType scale)
itk::AdvancedSimilarity2DTransform::GetJacobian
void GetJacobian(const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
itk::AdvancedSimilarity2DTransform::GetParameters
const ParametersType & GetParameters(void) const override
itk::AdvancedSimilarity2DTransform::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition:
itkAdvancedSimilarity2DTransform.h:108
itk::AdvancedSimilarity2DTransform::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkAdvancedSimilarity2DTransform.h:111
itk::AdvancedSimilarity2DTransform::JacobianOfSpatialJacobianType
Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
Definition:
itkAdvancedSimilarity2DTransform.h:139
itk::AdvancedSimilarity2DTransform::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkAdvancedSimilarity2DTransform.h:107
itk::AdvancedSimilarity2DTransform::ScaleType
TScalarType ScaleType
Definition:
itkAdvancedSimilarity2DTransform.h:104
itk::AdvancedSimilarity2DTransform::InternalMatrixType
Superclass::InternalMatrixType InternalMatrixType
Definition:
itkAdvancedSimilarity2DTransform.h:143
itk::AdvancedSimilarity2DTransform::InputPointType
Superclass::InputPointType InputPointType
Definition:
itkAdvancedSimilarity2DTransform.h:120
itk::AdvancedSimilarity2DTransform::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, 2)
itk::AdvancedSimilarity2DTransform::~AdvancedSimilarity2DTransform
~AdvancedSimilarity2DTransform() override
Definition:
itkAdvancedSimilarity2DTransform.h:219
itk::AdvancedSimilarity2DTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::AdvancedSimilarity2DTransform::ComputeMatrixParameters
void ComputeMatrixParameters(void) override
itk::AdvancedSimilarity2DTransform::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkAdvancedSimilarity2DTransform.h:121
itk::AdvancedSimilarity2DTransform::CloneTo
void CloneTo(Pointer &clone) const
itk::AdvancedSimilarity2DTransform::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition:
itkAdvancedSimilarity2DTransform.h:132
itk::AdvancedSimilarity2DTransform::CloneInverseTo
void CloneInverseTo(Pointer &newinverse) const
itk::AdvancedSimilarity2DTransform::AdvancedSimilarity2DTransform
AdvancedSimilarity2DTransform(unsigned int spaceDimension, unsigned int parametersDimension)
itk::AdvancedSimilarity2DTransform::operator=
void operator=(const Self &)
itk::AdvancedSimilarity2DTransform::SpatialJacobianType
Superclass::SpatialJacobianType SpatialJacobianType
Definition:
itkAdvancedSimilarity2DTransform.h:137
itk::AdvancedSimilarity2DTransform::m_Scale
ScaleType m_Scale
Definition:
itkAdvancedSimilarity2DTransform.h:245
itk::AdvancedSimilarity2DTransform::Pointer
SmartPointer< Self > Pointer
Definition:
itkAdvancedSimilarity2DTransform.h:87
itk::AdvancedSimilarity2DTransform::SetParameters
void SetParameters(const ParametersType ¶meters) override
itk::AdvancedSimilarity2DTransform::AdvancedSimilarity2DTransform
AdvancedSimilarity2DTransform(const Self &)
itk::AdvancedSimilarity2DTransform::ComputeMatrix
void ComputeMatrix(void) override
itk::AdvancedSimilarity2DTransform::NonZeroJacobianIndicesType
Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
Definition:
itkAdvancedSimilarity2DTransform.h:136
itk::AdvancedSimilarity2DTransform::MatrixType
Superclass::MatrixType MatrixType
Definition:
itkAdvancedSimilarity2DTransform.h:117
itk::AdvancedSimilarity2DTransform::JacobianOfSpatialHessianType
Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
Definition:
itkAdvancedSimilarity2DTransform.h:142
itk::AdvancedSimilarity2DTransform::itkStaticConstMacro
itkStaticConstMacro(ParametersDimension, unsigned int, 4)
itk::AdvancedSimilarity2DTransform::OffsetType
Superclass::OffsetType OffsetType
Definition:
itkAdvancedSimilarity2DTransform.h:114
itk::AdvancedSimilarity2DTransform::SetMatrix
void SetMatrix(const MatrixType &matrix) override
itk::AdvancedSimilarity2DTransform::Superclass
AdvancedRigid2DTransform< TScalarType > Superclass
Definition:
itkAdvancedSimilarity2DTransform.h:86
itk::AdvancedSimilarity2DTransform::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition:
itkAdvancedSimilarity2DTransform.h:125
itk::AdvancedSimilarity2DTransform::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition:
itkAdvancedSimilarity2DTransform.h:128
itk::AdvancedSimilarity2DTransform::PrecomputeJacobianOfSpatialJacobian
void PrecomputeJacobianOfSpatialJacobian(void) override
itk::AdvancedSimilarity2DTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkAdvancedSimilarity2DTransform.h:88
itk::AdvancedSimilarity2DTransform::itkStaticConstMacro
itkStaticConstMacro(InputSpaceDimension, unsigned int, 2)
itk::AdvancedSimilarity2DTransform::InputVectorType
Superclass::InputVectorType InputVectorType
Definition:
itkAdvancedSimilarity2DTransform.h:124
itk::AdvancedSimilarity2DTransform::ScalarType
Superclass::ScalarType ScalarType
Definition:
itkAdvancedSimilarity2DTransform.h:103
itk::AdvancedSimilarity2DTransform::SetVarScale
void SetVarScale(ScaleType scale)
Definition:
itkAdvancedSimilarity2DTransform.h:234
itk::AdvancedSimilarity2DTransform::SpatialHessianType
Superclass::SpatialHessianType SpatialHessianType
Definition:
itkAdvancedSimilarity2DTransform.h:140
itk::AdvancedSimilarity2DTransform::Self
AdvancedSimilarity2DTransform Self
Definition:
itkAdvancedSimilarity2DTransform.h:85
itk::AdvancedSimilarity2DTransform::SetIdentity
void SetIdentity(void) override
itk::AdvancedSimilarity2DTransform::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition:
itkAdvancedSimilarity2DTransform.h:129
itk::AdvancedSimilarity2DTransform::itkStaticConstMacro
itkStaticConstMacro(OutputSpaceDimension, unsigned int, 2)
itk::AdvancedSimilarity2DTransform::AdvancedSimilarity2DTransform
AdvancedSimilarity2DTransform()
itkAdvancedRigid2DTransform.h
itk
Definition:
itkAdvancedImageToImageMetric.h:42
Generated on 1667476801 for elastix by
1.9.4