ITK  5.2.0
Insight Toolkit
itkVolumeSplineKernelTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
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 itkVolumeSplineKernelTransform_h
19 #define itkVolumeSplineKernelTransform_h
20 
21 #include "itkKernelTransform.h"
22 
23 namespace itk
24 {
33 template <typename TParametersValueType, unsigned int NDimensions = 3>
34 // Number of dimensions
35 class ITK_TEMPLATE_EXPORT VolumeSplineKernelTransform : public KernelTransform<TParametersValueType, NDimensions>
36 {
37 public:
38  ITK_DISALLOW_COPY_AND_MOVE(VolumeSplineKernelTransform);
39 
45 
47  itkNewMacro(Self);
48 
51 
53  using ScalarType = typename Superclass::ScalarType;
54 
56  using ParametersType = typename Superclass::ParametersType;
57  using FixedParametersType = typename Superclass::FixedParametersType;
58 
60  using JacobianType = typename Superclass::JacobianType;
61  using JacobianPositionType = typename Superclass::JacobianPositionType;
62  using InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType;
63 
65  static constexpr unsigned int SpaceDimension = Superclass::SpaceDimension;
66 
68  using InputPointType = typename Superclass::InputPointType;
69  using OutputPointType = typename Superclass::OutputPointType;
70  using InputVectorType = typename Superclass::InputVectorType;
71  using OutputVectorType = typename Superclass::OutputVectorType;
72  using InputCovariantVectorType = typename Superclass::InputCovariantVectorType;
73  using OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType;
74  using PointsIterator = typename Superclass::PointsIterator;
75 
76 protected:
77  VolumeSplineKernelTransform() = default;
78  ~VolumeSplineKernelTransform() override = default;
79 
81  using GMatrixType = typename Superclass::GMatrixType;
82 
91  void
92  ComputeG(const InputVectorType & x, GMatrixType & gmatrix) const override;
93 
96  void
97  ComputeDeformationContribution(const InputPointType & thisPoint, OutputPointType & result) const override;
98 };
99 } // namespace itk
100 
101 #ifndef ITK_MANUAL_INSTANTIATION
102 # include "itkVolumeSplineKernelTransform.hxx"
103 #endif
104 
105 #endif // itkVolumeSplineKernelTransform_h
itk::KernelTransform::InverseJacobianPositionType
typename Superclass::InverseJacobianPositionType InverseJacobianPositionType
Definition: itkKernelTransform.h:91
itk::KernelTransform::ScalarType
typename Superclass::ScalarType ScalarType
Definition: itkKernelTransform.h:82
itk::VolumeSplineKernelTransform
Definition: itkVolumeSplineKernelTransform.h:35
itk::KernelTransform::JacobianPositionType
typename Superclass::JacobianPositionType JacobianPositionType
Definition: itkKernelTransform.h:90
itk::SmartPointer< Self >
itkKernelTransform.h
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::KernelTransform::OutputCovariantVectorType
typename Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkKernelTransform.h:106
itk::KernelTransform::InputVectorType
typename Superclass::InputVectorType InputVectorType
Definition: itkKernelTransform.h:101
itk::KernelTransform::JacobianType
typename Superclass::JacobianType JacobianType
Definition: itkKernelTransform.h:89
itk::KernelTransform::OutputVectorType
typename Superclass::OutputVectorType OutputVectorType
Definition: itkKernelTransform.h:102
itk::KernelTransform::OutputPointType
typename Superclass::OutputPointType OutputPointType
Definition: itkKernelTransform.h:98
itk::KernelTransform::FixedParametersType
typename Superclass::FixedParametersType FixedParametersType
Definition: itkKernelTransform.h:85
itk::KernelTransform::InputCovariantVectorType
typename Superclass::InputCovariantVectorType InputCovariantVectorType
Definition: itkKernelTransform.h:105
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::KernelTransform::GMatrixType
vnl_matrix_fixed< TParametersValueType, NDimensions, NDimensions > GMatrixType
Definition: itkKernelTransform.h:254
itk::KernelTransform::PointsIterator
typename PointSetType::PointsContainerIterator PointsIterator
Definition: itkKernelTransform.h:123
itk::KernelTransform
Definition: itkKernelTransform.h:61
itk::KernelTransform::InputPointType
typename Superclass::InputPointType InputPointType
Definition: itkKernelTransform.h:97
itk::KernelTransform::ParametersType
typename Superclass::ParametersType ParametersType
Definition: itkKernelTransform.h:86