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  Language: C++
23  Date: $Date: 2006/03/19 04:36:59 $
24  Version: $Revision: 1.7 $
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 __itkThinPlateR2LogRSplineKernelTransform2_h
35 #define __itkThinPlateR2LogRSplineKernelTransform2_h
36 
37 #include "itkKernelTransform2.h"
38 
39 namespace itk
40 {
51 template< class TScalarType, // Data type for scalars (float or double)
52 unsigned int NDimensions = 3 >
53 // Number of dimensions
55  public KernelTransform2< TScalarType, NDimensions >
56 {
57 public:
58 
63  typedef SmartPointer< const Self > ConstPointer;
64 
66  itkNewMacro( Self );
67 
70 
72  typedef typename Superclass::ScalarType ScalarType;
73 
76 
79 
81  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass::SpaceDimension );
82 
92 
93 protected:
94 
96  {
97  this->m_FastComputationPossible = true;
98  }
99 
100 
102 
106 
115  void ComputeG( const InputVectorType & x, GMatrixType & GMatrix ) const;
116 
119  virtual void ComputeDeformationContribution( const InputPointType & inputPoint,
120  OutputPointType & result ) const;
121 
122 private:
123 
124  ThinPlateR2LogRSplineKernelTransform2( const Self & ); // purposely not implemented
125  void operator=( const Self & ); // purposely not implemented
126 
127 };
128 
129 } // namespace itk
130 
131 #ifndef ITK_MANUAL_INSTANTIATION
132 #include "itkThinPlateR2LogRSplineKernelTransform2.hxx"
133 #endif
134 
135 #endif // __itkThinPlateR2LogRSplineKernelTransform2_h
vnl_matrix_fixed< TScalarType, NDimensions, NDimensions > GMatrixType
virtual void ComputeDeformationContribution(const InputPointType &inputPoint, OutputPointType &result) const
PointSetType::PointsContainerIterator PointsIterator
KernelTransform2< TScalarType, NDimensions > Superclass
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass::SpaceDimension)
void ComputeG(const InputVectorType &x, GMatrixType &GMatrix) const


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo