go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
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 Date: $Date: 2006-11-28 14:22:18 $
23 Version: $Revision: 1.1 $
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 itkThinPlateSplineKernelTransform2_h
34#define itkThinPlateSplineKernelTransform2_h
35
36#include "itkKernelTransform2.h"
37
38namespace itk
39{
48template <class TScalarType, // Data type for scalars (float or double)
49 unsigned int NDimensions = 3>
50// Number of dimensions
51class ITK_TEMPLATE_EXPORT ThinPlateSplineKernelTransform2 : public KernelTransform2<TScalarType, NDimensions>
52{
53public:
55
59 using Pointer = SmartPointer<Self>;
60 using ConstPointer = SmartPointer<const Self>;
61
63 itkNewMacro(Self);
64
67
69 using typename Superclass::ScalarType;
70
72 using typename Superclass::ParametersType;
73
75 using typename Superclass::JacobianType;
76
78 itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension);
79
83 using typename Superclass::InputPointType;
84 using typename Superclass::OutputPointType;
85 using typename Superclass::InputVectorType;
86 using typename Superclass::OutputVectorType;
87 using typename Superclass::InputCovariantVectorType;
88 using typename Superclass::OutputCovariantVectorType;
89 using typename Superclass::PointsIterator;
90
91protected:
92 ThinPlateSplineKernelTransform2() { this->m_FastComputationPossible = true; }
93
94
96
100 using typename Superclass::GMatrixType;
101
111 void
112 ComputeG(const InputVectorType & x, GMatrixType & GMatrix) const override;
113
117 void
118 ComputeDeformationContribution(const InputPointType & inputPoint, OutputPointType & result) const override;
119};
120
121} // namespace itk
122
123#ifndef ITK_MANUAL_INSTANTIATION
124# include "itkThinPlateSplineKernelTransform2.hxx"
125#endif
126
127#endif // itkThinPlateSplineKernelTransform2_h
typename PointSetType::PointsContainerIterator PointsIterator
~ThinPlateSplineKernelTransform2() override=default
void ComputeDeformationContribution(const InputPointType &inputPoint, OutputPointType &result) const override
ITK_DISALLOW_COPY_AND_MOVE(ThinPlateSplineKernelTransform2)
void ComputeG(const InputVectorType &x, GMatrixType &GMatrix) const override
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension)


Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo