go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
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
38namespace itk
39{
50template <class TScalarType, // Data type for scalars (float or double)
51 unsigned int NDimensions = 3>
52// Number of dimensions
53class ITK_TEMPLATE_EXPORT ThinPlateR2LogRSplineKernelTransform2 : public KernelTransform2<TScalarType, NDimensions>
54{
55public:
57
61 using Pointer = SmartPointer<Self>;
62 using ConstPointer = SmartPointer<const Self>;
63
65 itkNewMacro(Self);
66
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
92protected:
93 ThinPlateR2LogRSplineKernelTransform2() { this->m_FastComputationPossible = true; }
94
95
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
typename PointSetType::PointsContainerIterator PointsIterator
ITK_DISALLOW_COPY_AND_MOVE(ThinPlateR2LogRSplineKernelTransform2)
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension)
~ThinPlateR2LogRSplineKernelTransform2() override=default
void ComputeDeformationContribution(const InputPointType &inputPoint, OutputPointType &result) const override
void ComputeG(const InputVectorType &x, GMatrixType &GMatrix) const override


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