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 >
55 public
57 typename ResampleInterpolatorBase< TElastix >::InputImageType,
58 typename ResampleInterpolatorBase< TElastix >::CoordRepType,
59 double >, //CoefficientType
60 public ResampleInterpolatorBase< TElastix >
61{
62public:
63
66 typedef itk::BSplineInterpolateImageFunction<
69 double > Superclass1;
71 typedef itk::SmartPointer< Self > Pointer;
72 typedef itk::SmartPointer< const Self > ConstPointer;
73
75 itkNewMacro( Self );
76
79
84 elxClassNameMacro( "FinalReducedDimensionBSplineInterpolator" );
85
87 itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
88
90 typedef typename Superclass1::OutputType OutputType;
91 typedef typename Superclass1::InputImageType InputImageType;
92 typedef typename Superclass1::IndexType IndexType;
93 typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
94 typedef typename Superclass1::PointType PointType;
95 typedef typename Superclass1::Iterator Iterator;
96 typedef typename Superclass1::CoefficientDataType CoefficientDataType;
97 typedef typename Superclass1::CoefficientImageType CoefficientImageType;
98 typedef typename Superclass1::CoefficientFilter CoefficientFilter;
99 typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer;
100 typedef typename Superclass1::CovariantVectorType CovariantVectorType;
101
110
114 void BeforeRegistration( void ) override;
115
117 void ReadFromFile( void ) override;
118
120 void WriteToFile( void ) const override;
121
122protected:
123
128
129private:
130
132 ReducedDimensionBSplineResampleInterpolator( const Self & ); // purposely not implemented
134 void operator=( const Self & ); // purposely not implemented
135
136};
137
138} // end namespace elastix
139
140#ifndef ITK_MANUAL_INSTANTIATION
141#include "elxRDBSplineResampleInterpolator.hxx"
142#endif
143
144#endif // end __elxReducedDimensionBSplineResampleInterpolator_h
A class that deals with user given parameters and command line arguments.
A resample-interpolator based on B-splines which ignores the last dimension.
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, double > Superclass1
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
elxClassNameMacro("FinalReducedDimensionBSplineInterpolator")
This class is the elastix base class for all ResampleInterpolators.
Superclass::RegistrationType RegistrationType
ElastixType::MovingImageType InputImageType
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::RegistrationPointer RegistrationPointer
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Evaluates the B-Spline interpolation of an image. Spline order may be from 0 to 5.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo