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  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 
15 #ifndef __elxBSplineResampleInterpolator_h
16 #define __elxBSplineResampleInterpolator_h
17 
18 #include "itkBSplineInterpolateImageFunction.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
51  template < class TElastix >
53  public
54  itk::BSplineInterpolateImageFunction<
55  typename ResampleInterpolatorBase<TElastix>::InputImageType,
56  typename ResampleInterpolatorBase<TElastix>::CoordRepType,
57  double >, //CoefficientType
58  public ResampleInterpolatorBase<TElastix>
59  {
60  public:
61 
64  typedef itk::BSplineInterpolateImageFunction<
67  double > Superclass1;
69  typedef itk::SmartPointer<Self> Pointer;
70  typedef itk::SmartPointer<const Self> ConstPointer;
71 
73  itkNewMacro( Self );
74 
76  itkTypeMacro( BSplineResampleInterpolator, itk::BSplineInterpolateImageFunction );
77 
82  elxClassNameMacro( "FinalBSplineInterpolator" );
83 
85  itkStaticConstMacro( ImageDimension, unsigned int,Superclass1::ImageDimension );
86 
88  typedef typename Superclass1::OutputType OutputType;
89  typedef typename Superclass1::InputImageType InputImageType;
90  typedef typename Superclass1::IndexType IndexType;
91  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
92  typedef typename Superclass1::PointType PointType;
93  typedef typename Superclass1::Iterator Iterator;
94  typedef typename Superclass1::CoefficientDataType CoefficientDataType;
95  typedef typename Superclass1::CoefficientImageType CoefficientImageType;
96  typedef typename Superclass1::CoefficientFilter CoefficientFilter;
97  typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer;
98  typedef typename Superclass1::CovariantVectorType CovariantVectorType;
99 
108 
112  virtual void BeforeRegistration( void );
113 
115  virtual void ReadFromFile( void );
116 
118  virtual void WriteToFile( void ) const;
119 
120  protected:
121 
126 
127  private:
128 
130  BSplineResampleInterpolator( const Self& ); // purposely not implemented
132  void operator=( const Self& ); // purposely not implemented
133 
134  }; // end class BSplineResampleInterpolator
135 
136 
137 } // end namespace elastix
138 
139 #ifndef ITK_MANUAL_INSTANTIATION
140 #include "elxBSplineResampleInterpolator.hxx"
141 #endif
142 
143 #endif // end __elxBSplineResampleInterpolator_h
144 
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, double > Superclass1
Superclass::RegistrationType RegistrationType
ResampleInterpolatorBase< TElastix > Superclass2
Superclass1::CoefficientDataType CoefficientDataType
ElastixType::MovingImageType InputImageType
Superclass1::CovariantVectorType CovariantVectorType
Superclass2::RegistrationPointer RegistrationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::ContinuousIndexType ContinuousIndexType
A resample-interpolator based on B-splines.
Superclass::ConfigurationPointer ConfigurationPointer
Superclass1::CoefficientFilter CoefficientFilter
Superclass1::CoefficientImageType CoefficientImageType
This class is the elastix base class for all ResampleInterpolators.
Superclass::RegistrationPointer RegistrationPointer
elxClassNameMacro("FinalBSplineInterpolator")
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
Superclass1::CoefficientFilterPointer CoefficientFilterPointer
virtual void WriteToFile(void) const
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass::ConfigurationType ConfigurationType


Generated on 04-01-2014 for elastix by doxygen 1.8.5 elastix logo