go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxReducedDimensionBSplineInterpolator.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#ifndef elxReducedDimensionBSplineInterpolator_h
19#define elxReducedDimensionBSplineInterpolator_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
47template <class TElastix>
48class ITK_TEMPLATE_EXPORT ReducedDimensionBSplineInterpolator
49 : public itk::ReducedDimensionBSplineInterpolateImageFunction<typename InterpolatorBase<TElastix>::InputImageType,
50 typename InterpolatorBase<TElastix>::CoordRepType,
51 double>
52 , // CoefficientType
53 public InterpolatorBase<TElastix>
54{
55public:
57
63 double>;
65 using Pointer = itk::SmartPointer<Self>;
66 using ConstPointer = itk::SmartPointer<const Self>;
67
69 itkNewMacro(Self);
70
73
78 elxClassNameMacro("ReducedDimensionBSplineInterpolator");
79
81 itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension);
82
84 using typename Superclass1::OutputType;
85 using typename Superclass1::InputImageType;
86 using typename Superclass1::IndexType;
87 using typename Superclass1::ContinuousIndexType;
88 using typename Superclass1::PointType;
91 using typename Superclass1::CoefficientFilter;
94
96 using typename Superclass2::ElastixType;
97 using typename Superclass2::RegistrationType;
99
103 void
105
106protected:
111
112private:
114};
115
116} // end namespace elastix
117
118#ifndef ITK_MANUAL_INSTANTIATION
119# include "elxReducedDimensionBSplineInterpolator.hxx"
120#endif
121
122#endif // end #ifndef elxReducedDimensionBSplineInterpolator_h
This class is the elastix base class for all Interpolators.
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
typename ElastixType::RegistrationBaseType RegistrationType
An interpolator based on the itkReducedDimensionBSplineInterpolateImageFunction.
ITK_DISALLOW_COPY_AND_MOVE(ReducedDimensionBSplineInterpolator)
elxClassNameMacro("ReducedDimensionBSplineInterpolator")
~ReducedDimensionBSplineInterpolator() override=default
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
Calculates the B-Spline coefficients of an image. Spline order may be per dimension from 0 to 5 per.
Evaluates the B-Spline interpolation of an image. Spline order may be from 0 to 5.


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo