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 >
55 public
56 itk::BSplineInterpolateImageFunction<
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
78 itkTypeMacro( BSplineResampleInterpolator, itk::BSplineInterpolateImageFunction );
79
84 elxClassNameMacro( "FinalBSplineInterpolator" );
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
113
117 void BeforeRegistration( void ) override;
118
120 void ReadFromFile( void ) override;
121
123 void WriteToFile( void ) const override;
124
126 void CreateTransformParametersMap( ParameterMapType * paramsMap ) const override;
127
128protected:
129
134
135private:
136
138 BSplineResampleInterpolator( const Self & ); // purposely not implemented
140 void operator=( const Self & ); // purposely not implemented
141
142};
143
144} // end namespace elastix
145
146#ifndef ITK_MANUAL_INSTANTIATION
147#include "elxBSplineResampleInterpolator.hxx"
148#endif
149
150#endif // end __elxBSplineResampleInterpolator_h
A resample-interpolator based on B-splines.
Superclass1::CoefficientFilter CoefficientFilter
elxClassNameMacro("FinalBSplineInterpolator")
void BeforeRegistration(void) override
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, double > Superclass1
Superclass1::CoefficientFilterPointer CoefficientFilterPointer
Superclass1::CoefficientImageType CoefficientImageType
void CreateTransformParametersMap(ParameterMapType *paramsMap) const override
Superclass2::RegistrationPointer RegistrationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
Superclass1::CoefficientDataType CoefficientDataType
void WriteToFile(void) const override
ResampleInterpolatorBase< TElastix > Superclass2
Superclass1::ContinuousIndexType ContinuousIndexType
Superclass1::CovariantVectorType CovariantVectorType
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::ParameterMapType ParameterMapType
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