ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkThinPlateSplineKernelTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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 #ifndef itkThinPlateSplineKernelTransform_h
19 #define itkThinPlateSplineKernelTransform_h
20 
21 #include "itkKernelTransform.h"
22 
23 namespace itk
24 {
33 template<typename TParametersValueType,
34  unsigned int NDimensions = 3>
35 // Number of dimensions
37  public KernelTransform<TParametersValueType, NDimensions>
38 {
39 public:
45 
47  itkNewMacro(Self);
48 
51 
53  typedef typename Superclass::ScalarType ScalarType;
54 
58 
61 
63  itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension);
64 
73 
74 protected:
77 
80 
89  virtual void ComputeG(const InputVectorType & landmarkVector, GMatrixType & gmatrix) const ITK_OVERRIDE;
90 
93  virtual void ComputeDeformationContribution(const InputPointType & inputPoint,
94  OutputPointType & result) const ITK_OVERRIDE;
95 
96 private:
97  ThinPlateSplineKernelTransform(const Self &) ITK_DELETE_FUNCTION;
98  void operator=(const Self &) ITK_DELETE_FUNCTION;
99 };
100 } // namespace itk
101 
102 #ifndef ITK_MANUAL_INSTANTIATION
103 #include "itkThinPlateSplineKernelTransform.hxx"
104 #endif
105 
106 #endif // itkThinPlateSplineKernelTransform_h
Light weight base class for most itk classes.
PointSetType::PointsContainerIterator PointsIterator
Superclass::InputVectorType InputVectorType
Superclass::InputPointType InputPointType
Superclass::InputCovariantVectorType InputCovariantVectorType
virtual void ComputeG(const InputVectorType &landmarkVector, GMatrixType &gmatrix) const override
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::ScalarType ScalarType
Superclass::ParametersType ParametersType
Superclass::FixedParametersType FixedParametersType
virtual void ComputeDeformationContribution(const InputPointType &inputPoint, OutputPointType &result) const override
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::FixedParametersType FixedParametersType
Superclass::OutputVectorType OutputVectorType
vnl_matrix_fixed< TParametersValueType, NDimensions, NDimensions > GMatrixType
Superclass::InputCovariantVectorType InputCovariantVectorType
static const unsigned int SpaceDimension
Superclass::JacobianType JacobianType
KernelTransform< TParametersValueType, NDimensions > Superclass
Superclass::OutputPointType OutputPointType