go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRDBSplineResampleInterpolator.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 elxReducedDimensionBSplineResampleInterpolator_h
19#define elxReducedDimensionBSplineResampleInterpolator_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
23
24namespace elastix
25{
26
53template <class TElastix>
56 typename ResampleInterpolatorBase<TElastix>::InputImageType,
57 typename ResampleInterpolatorBase<TElastix>::CoordRepType,
58 double>
59 , // CoefficientType
60 public ResampleInterpolatorBase<TElastix>
61{
62public:
64
70 double>;
72 using Pointer = itk::SmartPointer<Self>;
73 using ConstPointer = itk::SmartPointer<const Self>;
74
76 itkNewMacro(Self);
77
80
85 elxClassNameMacro("FinalReducedDimensionBSplineInterpolator");
86
88 itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension);
89
91 using typename Superclass1::OutputType;
92 using typename Superclass1::InputImageType;
93 using typename Superclass1::IndexType;
94 using typename Superclass1::ContinuousIndexType;
95 using typename Superclass1::PointType;
98 using typename Superclass1::CoefficientFilter;
101
103 using typename Superclass2::ElastixType;
104 using typename Superclass2::RegistrationType;
106 using typename Superclass2::ParameterMapType;
107
111 void
113
115 void
116 ReadFromFile() override;
117
118protected:
123
124private:
126
130};
131
132} // end namespace elastix
133
134#ifndef ITK_MANUAL_INSTANTIATION
135# include "elxRDBSplineResampleInterpolator.hxx"
136#endif
137
138#endif // end elxReducedDimensionBSplineResampleInterpolator_h
A resample-interpolator based on B-splines which ignores the last dimension.
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
elxClassNameMacro("FinalReducedDimensionBSplineInterpolator")
ITK_DISALLOW_COPY_AND_MOVE(ReducedDimensionBSplineResampleInterpolator)
ParameterMapType CreateDerivedTransformParametersMap() const override
This class is the elastix base class for all ResampleInterpolators.
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
typename ElastixType::ParameterMapType ParameterMapType
typename ElastixType::RegistrationBaseType RegistrationType
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