go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxBSplineResampleInterpolator.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 elxBSplineResampleInterpolator_h
19#define elxBSplineResampleInterpolator_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
22#include "itkBSplineInterpolateImageFunction.h"
23
24namespace elastix
25{
53template <class TElastix>
54class ITK_TEMPLATE_EXPORT BSplineResampleInterpolator
55 : public itk::BSplineInterpolateImageFunction<typename ResampleInterpolatorBase<TElastix>::InputImageType,
56 typename ResampleInterpolatorBase<TElastix>::CoordRepType,
57 double>
58 , // CoefficientType
59 public ResampleInterpolatorBase<TElastix>
60{
61public:
63
66 using Superclass1 = itk::BSplineInterpolateImageFunction<typename ResampleInterpolatorBase<TElastix>::InputImageType,
68 double>;
70 using Pointer = itk::SmartPointer<Self>;
71 using ConstPointer = itk::SmartPointer<const Self>;
72
74 itkNewMacro(Self);
75
77 itkTypeMacro(BSplineResampleInterpolator, itk::BSplineInterpolateImageFunction);
78
83 elxClassNameMacro("FinalBSplineInterpolator");
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
107 using typename Superclass2::ParameterMapType;
108
112 void
114
116 void
117 ReadFromFile() override;
118
119protected:
123 ~BSplineResampleInterpolator() override = default;
124
125private:
127
131};
132
133} // end namespace elastix
134
135#ifndef ITK_MANUAL_INSTANTIATION
136# include "elxBSplineResampleInterpolator.hxx"
137#endif
138
139#endif // end elxBSplineResampleInterpolator_h
A resample-interpolator based on B-splines.
elxClassNameMacro("FinalBSplineInterpolator")
ParameterMapType CreateDerivedTransformParameterMap() const override
typename ElastixType::ParameterMapType ParameterMapType
ITK_DISALLOW_COPY_AND_MOVE(BSplineResampleInterpolator)
~BSplineResampleInterpolator() override=default
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, double > Superclass1
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
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