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 
24 namespace elastix
25 {
26 
49 template< 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 {
59 public:
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  virtual void BeforeEachResolution( void );
112 
113 protected:
114 
118  virtual ~BSplineInterpolator() {}
119 
120 private:
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
Superclass::ElastixType ElastixType
Superclass1::CovariantVectorType CovariantVectorType
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
InterpolatorBase< TElastix > Superclass2
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass1::OutputType OutputType
Superclass::ElastixPointer ElastixPointer
Superclass::RegistrationType RegistrationType
Superclass2::ConfigurationType ConfigurationType
Superclass1::IndexType IndexType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::RegistrationType RegistrationType
Superclass1::CoefficientFilterPointer CoefficientFilterPointer
itk::SmartPointer< Self > Pointer
Superclass::ConfigurationType ConfigurationType
Superclass1::PointType PointType
ElastixType::CoordRepType CoordRepType
This class is the elastix base class for all Interpolators.
Superclass1::InputImageType InputImageType
elxClassNameMacro("BSplineInterpolator")
Superclass2::RegistrationPointer RegistrationPointer
itk::SmartPointer< const Self > ConstPointer
itk::BSplineInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType, double > Superclass1
An interpolator based on the itkBSplineInterpolateImageFunction.
ElastixType::MovingImageType InputImageType
Superclass1::CoefficientFilter CoefficientFilter
Superclass1::CoefficientImageType CoefficientImageType
Superclass::RegistrationPointer RegistrationPointer
void operator=(const Self &)
Superclass::ConfigurationPointer ConfigurationPointer
Superclass1::ContinuousIndexType ContinuousIndexType
Superclass1::CoefficientDataType CoefficientDataType
virtual void BeforeEachResolution(void)
Superclass2::ElastixPointer ElastixPointer
Superclass2::ITKBaseType ITKBaseType
Superclass2::ElastixType ElastixType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo