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 >
55 public
56 itk::BSplineInterpolateImageFunction<
57 typename ResampleInterpolatorBase< TElastix >::InputImageType,
58 typename ResampleInterpolatorBase< TElastix >::CoordRepType,
59 float >, //CoefficientType
60 public ResampleInterpolatorBase< TElastix >
61{
62public:
63
66 typedef itk::BSplineInterpolateImageFunction<
69 float > Superclass1;
71 typedef itk::SmartPointer< Self > Pointer;
72 typedef itk::SmartPointer< const Self > ConstPointer;
73
75 itkNewMacro( Self );
76
78 itkTypeMacro( BSplineResampleInterpolatorFloat, BSplineInterpolateImageFunction );
79
84 elxClassNameMacro( "FinalBSplineInterpolatorFloat" );
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 BSplineResampleInterpolatorFloat( 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 "elxBSplineResampleInterpolatorFloat.hxx"
142#endif
143
144#endif // end __elxBSplineResampleInterpolatorFloat_h
A resample-interpolator based on B-splines.
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, float > Superclass1
Superclass1::CoefficientFilterPointer CoefficientFilterPointer
elxClassNameMacro("FinalBSplineInterpolatorFloat")
void WriteToFile(void) const override
A class that deals with user given parameters and command line arguments.
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


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo