Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Loading...
Searching...
No Matches
Components
Transforms
SplineKernelTransform
itkThinPlateR2LogRSplineKernelTransform2.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: itkThinPlateR2LogRSplineKernelTransform2.h,v $
22
Date: $Date: 2006/03/19 04:36:59 $
23
Version: $Revision: 1.7 $
24
25
Copyright (c) Insight Software Consortium. All rights reserved.
26
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
27
28
This software is distributed WITHOUT ANY WARRANTY; without even
29
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
30
PURPOSE. See the above copyright notices for more information.
31
32
=========================================================================*/
33
#ifndef itkThinPlateR2LogRSplineKernelTransform2_h
34
#define itkThinPlateR2LogRSplineKernelTransform2_h
35
36
#include "
itkKernelTransform2.h
"
37
38
namespace
itk
39
{
50
template
<
class
TScalarType
,
// Data type for scalars (float or double)
51
unsigned
int
NDimensions = 3>
52
// Number of dimensions
53
class
ITK_TEMPLATE_EXPORT
ThinPlateR2LogRSplineKernelTransform2
:
public
KernelTransform2
<TScalarType, NDimensions>
54
{
55
public
:
56
ITK_DISALLOW_COPY_AND_MOVE
(
ThinPlateR2LogRSplineKernelTransform2
);
57
59
using
Self
=
ThinPlateR2LogRSplineKernelTransform2
;
60
using
Superclass
=
KernelTransform2<TScalarType, NDimensions>
;
61
using
Pointer
= SmartPointer<Self>;
62
using
ConstPointer
= SmartPointer<const Self>;
63
65
itkNewMacro(
Self
);
66
68
itkTypeMacro(
ThinPlateR2LogRSplineKernelTransform2
,
KernelTransform2
);
69
71
using
typename Superclass::ScalarType;
72
74
using
typename Superclass::ParametersType;
75
77
using
typename Superclass::JacobianType;
78
80
itkStaticConstMacro
(SpaceDimension,
unsigned
int
, Superclass::SpaceDimension);
81
84
using
typename Superclass::InputPointType;
85
using
typename Superclass::OutputPointType;
86
using
typename Superclass::InputVectorType;
87
using
typename Superclass::OutputVectorType;
88
using
typename Superclass::InputCovariantVectorType;
89
using
typename Superclass::OutputCovariantVectorType;
90
using
typename
Superclass::PointsIterator
;
91
92
protected
:
93
ThinPlateR2LogRSplineKernelTransform2
() { this->m_FastComputationPossible =
true
; }
94
95
96
~ThinPlateR2LogRSplineKernelTransform2
()
override
=
default
;
97
100
using
typename
Superclass::GMatrixType
;
101
110
void
111
ComputeG
(
const
InputVectorType & x,
GMatrixType
& GMatrix)
const override
;
112
115
void
116
ComputeDeformationContribution
(
const
InputPointType & inputPoint, OutputPointType & result)
const override
;
117
};
118
119
}
// namespace itk
120
121
#ifndef ITK_MANUAL_INSTANTIATION
122
# include "itkThinPlateR2LogRSplineKernelTransform2.hxx"
123
#endif
124
125
#endif
// itkThinPlateR2LogRSplineKernelTransform2_h
SmartPointer< Self >
TScalarType
itk::KernelTransform2
Definition
itkKernelTransform2.h:98
itk::KernelTransform2::PointsIterator
typename PointSetType::PointsContainerIterator PointsIterator
Definition
itkKernelTransform2.h:146
itk::ThinPlateR2LogRSplineKernelTransform2
Definition
itkThinPlateR2LogRSplineKernelTransform2.h:54
itk::ThinPlateR2LogRSplineKernelTransform2::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(ThinPlateR2LogRSplineKernelTransform2)
itk::ThinPlateR2LogRSplineKernelTransform2::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension)
itk::ThinPlateR2LogRSplineKernelTransform2::ConstPointer
SmartPointer< const Self > ConstPointer
Definition
itkThinPlateR2LogRSplineKernelTransform2.h:62
itk::ThinPlateR2LogRSplineKernelTransform2::~ThinPlateR2LogRSplineKernelTransform2
~ThinPlateR2LogRSplineKernelTransform2() override=default
itk::ThinPlateR2LogRSplineKernelTransform2::ComputeDeformationContribution
void ComputeDeformationContribution(const InputPointType &inputPoint, OutputPointType &result) const override
itk::ThinPlateR2LogRSplineKernelTransform2::ThinPlateR2LogRSplineKernelTransform2
ThinPlateR2LogRSplineKernelTransform2()
Definition
itkThinPlateR2LogRSplineKernelTransform2.h:93
itk::ThinPlateR2LogRSplineKernelTransform2::ComputeG
void ComputeG(const InputVectorType &x, GMatrixType &GMatrix) const override
vnl_matrix_fixed< TScalarType, NDimensions, NDimensions >
itkKernelTransform2.h
itk
Definition
itkAdvancedImageToImageMetric.h:43
Generated on 1739326392 for elastix by
1.9.8