go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxBSplineResampleInterpolatorFloat.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 elxBSplineResampleInterpolatorFloat_h
19#define elxBSplineResampleInterpolatorFloat_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
22#include "itkBSplineInterpolateImageFunction.h"
23
24namespace elastix
25{
26
53template <class TElastix>
54class ITK_TEMPLATE_EXPORT BSplineResampleInterpolatorFloat
55 : public itk::BSplineInterpolateImageFunction<typename ResampleInterpolatorBase<TElastix>::InputImageType,
56 typename ResampleInterpolatorBase<TElastix>::CoordRepType,
57 float>
58 , // CoefficientType
59 public ResampleInterpolatorBase<TElastix>
60{
61public:
63
66 using Superclass1 = itk::BSplineInterpolateImageFunction<typename ResampleInterpolatorBase<TElastix>::InputImageType,
68 float>;
70 using Pointer = itk::SmartPointer<Self>;
71 using ConstPointer = itk::SmartPointer<const Self>;
72
74 itkNewMacro(Self);
75
77 itkTypeMacro(BSplineResampleInterpolatorFloat, BSplineInterpolateImageFunction);
78
83 elxClassNameMacro("FinalBSplineInterpolatorFloat");
84
86 itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension);
87
89 using typename Superclass1::OutputType;
90 using typename Superclass1::InputImageType;
91 using typename Superclass1::IndexType;
92 using typename Superclass1::ContinuousIndexType;
93 using typename Superclass1::PointType;
94 using typename Superclass1::Iterator;
95 using typename Superclass1::CoefficientDataType;
96 using typename Superclass1::CoefficientImageType;
97 using typename Superclass1::CoefficientFilter;
98 using typename Superclass1::CoefficientFilterPointer;
99 using typename Superclass1::CovariantVectorType;
100
102 using typename Superclass2::ElastixType;
103 using typename Superclass2::RegistrationType;
105 using typename Superclass2::ParameterMapType;
106
110 void
112
114 void
115 ReadFromFile() override;
116
117protected:
122
123private:
125
129};
130
131} // end namespace elastix
132
133#ifndef ITK_MANUAL_INSTANTIATION
134# include "elxBSplineResampleInterpolatorFloat.hxx"
135#endif
136
137#endif // end elxBSplineResampleInterpolatorFloat_h
A resample-interpolator based on B-splines.
~BSplineResampleInterpolatorFloat() override=default
ITK_DISALLOW_COPY_AND_MOVE(BSplineResampleInterpolatorFloat)
typename ElastixType::ParameterMapType ParameterMapType
ParameterMapType CreateDerivedTransformParameterMap() const override
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, float > Superclass1
elxClassNameMacro("FinalBSplineInterpolatorFloat")
This class is the elastix base class for all ResampleInterpolators.
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
typename ElastixType::ParameterMapType ParameterMapType
typename ElastixType::RegistrationBaseType RegistrationType


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