go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxBSplineResampleInterpolatorFloat.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 __elxBSplineResampleInterpolatorFloat_h
15 #define __elxBSplineResampleInterpolatorFloat_h
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
18 #include "itkBSplineInterpolateImageFunction.h"
19 
20 namespace elastix
21 {
22 
49 template< class TElastix >
51  public
52  itk::BSplineInterpolateImageFunction<
53  typename ResampleInterpolatorBase< TElastix >::InputImageType,
54  typename ResampleInterpolatorBase< TElastix >::CoordRepType,
55  float >, //CoefficientType
56  public ResampleInterpolatorBase< TElastix >
57 {
58 public:
59 
62  typedef itk::BSplineInterpolateImageFunction<
65  float > Superclass1;
67  typedef itk::SmartPointer< Self > Pointer;
68  typedef itk::SmartPointer< const Self > ConstPointer;
69 
71  itkNewMacro( Self );
72 
74  itkTypeMacro( BSplineResampleInterpolatorFloat, BSplineInterpolateImageFunction );
75 
80  elxClassNameMacro( "FinalBSplineInterpolatorFloat" );
81 
83  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
84 
86  typedef typename Superclass1::OutputType OutputType;
87  typedef typename Superclass1::InputImageType InputImageType;
88  typedef typename Superclass1::IndexType IndexType;
89  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
90  typedef typename Superclass1::PointType PointType;
91  typedef typename Superclass1::Iterator Iterator;
92  typedef typename Superclass1::CoefficientDataType CoefficientDataType;
93  typedef typename Superclass1::CoefficientImageType CoefficientImageType;
94  typedef typename Superclass1::CoefficientFilter CoefficientFilter;
95  typedef typename Superclass1::CoefficientFilterPointer CoefficientFilterPointer;
96  typedef typename Superclass1::CovariantVectorType CovariantVectorType;
97 
106 
110  virtual void BeforeRegistration( void );
111 
113  virtual void ReadFromFile( void );
114 
116  virtual void WriteToFile( void ) const;
117 
118 protected:
119 
124 
125 private:
126 
128  BSplineResampleInterpolatorFloat( const Self & ); // purposely not implemented
130  void operator=( const Self & ); // purposely not implemented
131 
132 };
133 
134 } // end namespace elastix
135 
136 #ifndef ITK_MANUAL_INSTANTIATION
137 #include "elxBSplineResampleInterpolatorFloat.hxx"
138 #endif
139 
140 #endif // end __elxBSplineResampleInterpolatorFloat_h
Superclass::RegistrationType RegistrationType
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
ElastixType::MovingImageType InputImageType
virtual void WriteToFile(void) const
Superclass1::CoefficientFilterPointer CoefficientFilterPointer
Superclass::ConfigurationPointer ConfigurationPointer
This class is the elastix base class for all ResampleInterpolators.
Superclass::RegistrationPointer RegistrationPointer
elxClassNameMacro("FinalBSplineInterpolatorFloat")
A resample-interpolator based on B-splines.
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass::ConfigurationType ConfigurationType
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, float > Superclass1


Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo