Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Components
Transforms
SplineKernelTransform
itkThinPlateSplineKernelTransform2.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: itkThinPlateSplineKernelTransform2.h,v $
22
Language: C++
23
Date: $Date: 2006-11-28 14:22:18 $
24
Version: $Revision: 1.1 $
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 __itkThinPlateSplineKernelTransform2_h
35
#define __itkThinPlateSplineKernelTransform2_h
36
37
#include "
itkKernelTransform2.h
"
38
39
namespace
itk
40
{
49
template
<
class
TScalarType
,
// Data type for scalars (float or double)
50
unsigned
int
NDimensions = 3 >
51
// Number of dimensions
52
class
ThinPlateSplineKernelTransform2
:
53
public
KernelTransform2
< TScalarType, NDimensions >
54
{
55
public
:
56
58
typedef
ThinPlateSplineKernelTransform2
Self
;
59
typedef
KernelTransform2< TScalarType, NDimensions >
Superclass
;
60
typedef
SmartPointer< Self >
Pointer
;
61
typedef
SmartPointer< const Self >
ConstPointer
;
62
64
itkNewMacro(
Self
);
65
67
itkTypeMacro(
ThinPlateSplineKernelTransform2
,
KernelTransform2
);
68
70
typedef
typename
Superclass::ScalarType
ScalarType
;
71
73
typedef
typename
Superclass::ParametersType
ParametersType
;
74
76
typedef
typename
Superclass::JacobianType
JacobianType
;
77
79
itkStaticConstMacro
( SpaceDimension,
unsigned
int
, Superclass::SpaceDimension );
80
84
typedef
typename
Superclass::InputPointType
InputPointType
;
85
typedef
typename
Superclass::OutputPointType
OutputPointType
;
86
typedef
typename
Superclass::InputVectorType
InputVectorType
;
87
typedef
typename
Superclass::OutputVectorType
OutputVectorType
;
88
typedef
typename
Superclass::InputCovariantVectorType
InputCovariantVectorType
;
89
typedef
typename
Superclass::OutputCovariantVectorType
OutputCovariantVectorType
;
90
typedef
typename
Superclass::PointsIterator
PointsIterator
;
91
92
protected
:
93
94
ThinPlateSplineKernelTransform2
()
95
{
96
this->
m_FastComputationPossible
=
true
;
97
}
98
99
100
~ThinPlateSplineKernelTransform2
()
override
{}
101
105
typedef
typename
Superclass::GMatrixType
GMatrixType
;
106
116
void
ComputeG
(
const
InputVectorType
& x,
GMatrixType
& GMatrix )
const override
;
117
121
void
ComputeDeformationContribution
(
122
const
InputPointType
& inputPoint,
OutputPointType
& result )
const override
;
123
124
private
:
125
126
ThinPlateSplineKernelTransform2
(
const
Self
& );
// purposely not implemented
127
void
operator=
(
const
Self
& );
// purposely not implemented
128
129
};
130
131
}
// namespace itk
132
133
#ifndef ITK_MANUAL_INSTANTIATION
134
#include "itkThinPlateSplineKernelTransform2.hxx"
135
#endif
136
137
#endif
// __itkThinPlateSplineKernelTransform2_h
SmartPointer< Self >
TScalarType
itk::KernelTransform2
Definition:
itkKernelTransform2.h:99
itk::KernelTransform2::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition:
itkKernelTransform2.h:126
itk::KernelTransform2::ScalarType
Superclass::ScalarType ScalarType
Definition:
itkKernelTransform2.h:119
itk::KernelTransform2< TScalarType, 3 >::m_FastComputationPossible
bool m_FastComputationPossible
Definition:
itkKernelTransform2.h:523
itk::KernelTransform2::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition:
itkKernelTransform2.h:128
itk::KernelTransform2::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkKernelTransform2.h:120
itk::KernelTransform2::InputPointType
Superclass::InputPointType InputPointType
Definition:
itkKernelTransform2.h:123
itk::KernelTransform2::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkKernelTransform2.h:124
itk::KernelTransform2::PointsIterator
PointSetType::PointsContainerIterator PointsIterator
Definition:
itkKernelTransform2.h:152
itk::KernelTransform2::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition:
itkKernelTransform2.h:127
itk::KernelTransform2::InputVectorType
Superclass::InputVectorType InputVectorType
Definition:
itkKernelTransform2.h:125
itk::KernelTransform2::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkKernelTransform2.h:122
itk::ThinPlateSplineKernelTransform2
Definition:
itkThinPlateSplineKernelTransform2.h:54
itk::ThinPlateSplineKernelTransform2::ThinPlateSplineKernelTransform2
ThinPlateSplineKernelTransform2(const Self &)
itk::ThinPlateSplineKernelTransform2::ComputeDeformationContribution
void ComputeDeformationContribution(const InputPointType &inputPoint, OutputPointType &result) const override
itk::ThinPlateSplineKernelTransform2::InputVectorType
Superclass::InputVectorType InputVectorType
Definition:
itkThinPlateSplineKernelTransform2.h:86
itk::ThinPlateSplineKernelTransform2::ScalarType
Superclass::ScalarType ScalarType
Definition:
itkThinPlateSplineKernelTransform2.h:70
itk::ThinPlateSplineKernelTransform2::JacobianType
Superclass::JacobianType JacobianType
Definition:
itkThinPlateSplineKernelTransform2.h:76
itk::ThinPlateSplineKernelTransform2::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition:
itkThinPlateSplineKernelTransform2.h:88
itk::ThinPlateSplineKernelTransform2::ThinPlateSplineKernelTransform2
ThinPlateSplineKernelTransform2()
Definition:
itkThinPlateSplineKernelTransform2.h:94
itk::ThinPlateSplineKernelTransform2::Self
ThinPlateSplineKernelTransform2 Self
Definition:
itkThinPlateSplineKernelTransform2.h:58
itk::ThinPlateSplineKernelTransform2::OutputPointType
Superclass::OutputPointType OutputPointType
Definition:
itkThinPlateSplineKernelTransform2.h:85
itk::ThinPlateSplineKernelTransform2::Superclass
KernelTransform2< TScalarType, NDimensions > Superclass
Definition:
itkThinPlateSplineKernelTransform2.h:59
itk::ThinPlateSplineKernelTransform2::GMatrixType
Superclass::GMatrixType GMatrixType
Definition:
itkThinPlateSplineKernelTransform2.h:105
itk::ThinPlateSplineKernelTransform2::operator=
void operator=(const Self &)
itk::ThinPlateSplineKernelTransform2::~ThinPlateSplineKernelTransform2
~ThinPlateSplineKernelTransform2() override
Definition:
itkThinPlateSplineKernelTransform2.h:100
itk::ThinPlateSplineKernelTransform2::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition:
itkThinPlateSplineKernelTransform2.h:87
itk::ThinPlateSplineKernelTransform2::PointsIterator
Superclass::PointsIterator PointsIterator
Definition:
itkThinPlateSplineKernelTransform2.h:90
itk::ThinPlateSplineKernelTransform2::ParametersType
Superclass::ParametersType ParametersType
Definition:
itkThinPlateSplineKernelTransform2.h:73
itk::ThinPlateSplineKernelTransform2::InputPointType
Superclass::InputPointType InputPointType
Definition:
itkThinPlateSplineKernelTransform2.h:84
itk::ThinPlateSplineKernelTransform2::Pointer
SmartPointer< Self > Pointer
Definition:
itkThinPlateSplineKernelTransform2.h:60
itk::ThinPlateSplineKernelTransform2::ComputeG
void ComputeG(const InputVectorType &x, GMatrixType &GMatrix) const override
itk::ThinPlateSplineKernelTransform2::ConstPointer
SmartPointer< const Self > ConstPointer
Definition:
itkThinPlateSplineKernelTransform2.h:61
itk::ThinPlateSplineKernelTransform2::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition:
itkThinPlateSplineKernelTransform2.h:89
itk::ThinPlateSplineKernelTransform2::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension)
vnl_matrix_fixed< TScalarType, NDimensions, NDimensions >
itkKernelTransform2.h
itk
Definition:
itkAdvancedImageToImageMetric.h:42
Generated on 1667476801 for elastix by
1.9.4