go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxBSplineInterpolator.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 __elxBSplineInterpolator_h
19#define __elxBSplineInterpolator_h
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
22#include "itkBSplineInterpolateImageFunction.h"
23
24namespace elastix
25{
26
49template< class TElastix >
51 public
52 itk::BSplineInterpolateImageFunction<
53 typename InterpolatorBase< TElastix >::InputImageType,
54 typename InterpolatorBase< TElastix >::CoordRepType,
55 double >, //CoefficientType
56 public
57 InterpolatorBase< TElastix >
58{
59public:
60
63 typedef itk::BSplineInterpolateImageFunction<
66 double > Superclass1;
68 typedef itk::SmartPointer< Self > Pointer;
69 typedef itk::SmartPointer< const Self > ConstPointer;
70
72 itkNewMacro( Self );
73
75 itkTypeMacro( BSplineInterpolator, itk::BSplineInterpolateImageFunction );
76
81 elxClassNameMacro( "BSplineInterpolator" );
82
84 itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
85
87 typedef typename Superclass1::OutputType OutputType;
88 typedef typename Superclass1::InputImageType InputImageType;
89 typedef typename Superclass1::IndexType IndexType;
90 typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
91 typedef typename Superclass1::PointType PointType;
92 typedef typename Superclass1::Iterator Iterator;
93 typedef typename Superclass1::CoefficientDataType CoefficientDataType;
94 typedef typename Superclass1::CoefficientImageType CoefficientImageType;
95 typedef typename Superclass1::CoefficientFilter CoefficientFilter;
96 typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer;
97 typedef typename Superclass1::CovariantVectorType CovariantVectorType;
98
107
111 void BeforeEachResolution( void ) override;
112
113protected:
114
119
120private:
121
123 BSplineInterpolator( const Self & ); // purposely not implemented
125 void operator=( const Self & ); // purposely not implemented
126
127};
128
129} // end namespace elastix
130
131#ifndef ITK_MANUAL_INSTANTIATION
132#include "elxBSplineInterpolator.hxx"
133#endif
134
135#endif // end #ifndef __elxBSplineInterpolator_h
An interpolator based on the itkBSplineInterpolateImageFunction.
itk::BSplineInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType, double > Superclass1
Superclass2::ElastixPointer ElastixPointer
elxClassNameMacro("BSplineInterpolator")
InterpolatorBase< TElastix > Superclass2
void operator=(const Self &)
Superclass1::OutputType OutputType
Superclass1::CoefficientDataType CoefficientDataType
Superclass1::InputImageType InputImageType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::ElastixType ElastixType
Superclass2::ITKBaseType ITKBaseType
itk::SmartPointer< const Self > ConstPointer
void BeforeEachResolution(void) override
Superclass2::RegistrationType RegistrationType
Superclass1::CoefficientFilter CoefficientFilter
BSplineInterpolator(const Self &)
Superclass1::CovariantVectorType CovariantVectorType
Superclass1::IndexType IndexType
Superclass2::ConfigurationType ConfigurationType
Superclass1::ContinuousIndexType ContinuousIndexType
Superclass1::PointType PointType
Superclass1::CoefficientFilterPointer CoefficientFilterPointer
Superclass1::CoefficientImageType CoefficientImageType
Superclass2::RegistrationPointer RegistrationPointer
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
itk::SmartPointer< Self > Pointer
A class that deals with user given parameters and command line arguments.
This class is the elastix base class for all Interpolators.
Superclass::ElastixPointer ElastixPointer
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::RegistrationType RegistrationType
ElastixType::MovingImageType InputImageType
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationPointer RegistrationPointer
Superclass::ElastixType ElastixType
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo