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  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 #ifndef __elxBSplineInterpolator_h
15 #define __elxBSplineInterpolator_h
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
18 #include "itkBSplineInterpolateImageFunction.h"
19 
20 namespace elastix
21 {
22 
45 template< class TElastix >
47  public
48  itk::BSplineInterpolateImageFunction<
49  typename InterpolatorBase< TElastix >::InputImageType,
50  typename InterpolatorBase< TElastix >::CoordRepType,
51  double >, //CoefficientType
52  public
53  InterpolatorBase< TElastix >
54 {
55 public:
56 
59  typedef itk::BSplineInterpolateImageFunction<
62  double > Superclass1;
64  typedef itk::SmartPointer< Self > Pointer;
65  typedef itk::SmartPointer< const Self > ConstPointer;
66 
68  itkNewMacro( Self );
69 
71  itkTypeMacro( BSplineInterpolator, itk::BSplineInterpolateImageFunction );
72 
77  elxClassNameMacro( "BSplineInterpolator" );
78 
80  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
81 
83  typedef typename Superclass1::OutputType OutputType;
84  typedef typename Superclass1::InputImageType InputImageType;
85  typedef typename Superclass1::IndexType IndexType;
86  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
87  typedef typename Superclass1::PointType PointType;
88  typedef typename Superclass1::Iterator Iterator;
89  typedef typename Superclass1::CoefficientDataType CoefficientDataType;
90  typedef typename Superclass1::CoefficientImageType CoefficientImageType;
91  typedef typename Superclass1::CoefficientFilter CoefficientFilter;
92  typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer;
93  typedef typename Superclass1::CovariantVectorType CovariantVectorType;
94 
103 
107  virtual void BeforeEachResolution( void );
108 
109 protected:
110 
114  virtual ~BSplineInterpolator() {}
115 
116 private:
117 
119  BSplineInterpolator( const Self & ); // purposely not implemented
121  void operator=( const Self & ); // purposely not implemented
122 
123 };
124 
125 } // end namespace elastix
126 
127 #ifndef ITK_MANUAL_INSTANTIATION
128 #include "elxBSplineInterpolator.hxx"
129 #endif
130 
131 #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 27-04-2014 for elastix by doxygen 1.8.6 elastix logo