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 #ifndef __elxBSplineResampleInterpolator_h
15 #define __elxBSplineResampleInterpolator_h
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
18 #include "itkBSplineInterpolateImageFunction.h"
19 
20 namespace elastix
21 {
49 template< class TElastix >
51  public
52  itk::BSplineInterpolateImageFunction<
53  typename ResampleInterpolatorBase< TElastix >::InputImageType,
54  typename ResampleInterpolatorBase< TElastix >::CoordRepType,
55  double >, //CoefficientType
56  public ResampleInterpolatorBase< TElastix >
57 {
58 public:
59 
62  typedef itk::BSplineInterpolateImageFunction<
65  double > Superclass1;
67  typedef itk::SmartPointer< Self > Pointer;
68  typedef itk::SmartPointer< const Self > ConstPointer;
69 
71  itkNewMacro( Self );
72 
74  itkTypeMacro( BSplineResampleInterpolator, itk::BSplineInterpolateImageFunction );
75 
80  elxClassNameMacro( "FinalBSplineInterpolator" );
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 
109 
113  virtual void BeforeRegistration( void );
114 
116  virtual void ReadFromFile( void );
117 
119  virtual void WriteToFile( void ) const;
120 
122  virtual void CreateTransformParametersMap( ParameterMapType * paramsMap ) const;
123 
124 protected:
125 
130 
131 private:
132 
134  BSplineResampleInterpolator( const Self & ); // purposely not implemented
136  void operator=( const Self & ); // purposely not implemented
137 
138 };
139 
140 } // end namespace elastix
141 
142 #ifndef ITK_MANUAL_INSTANTIATION
143 #include "elxBSplineResampleInterpolator.hxx"
144 #endif
145 
146 #endif // end __elxBSplineResampleInterpolator_h
Superclass::RegistrationType RegistrationType
Superclass1::CoefficientDataType CoefficientDataType
ElastixType::MovingImageType InputImageType
Superclass1::CovariantVectorType CovariantVectorType
Superclass2::RegistrationPointer RegistrationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
virtual void CreateTransformParametersMap(ParameterMapType *paramsMap) const
ElastixType::ParameterMapType ParameterMapType
ResampleInterpolatorBase< TElastix > Superclass2
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)
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, double > Superclass1
Superclass1::CoefficientFilterPointer CoefficientFilterPointer
virtual void WriteToFile(void) const
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass::ConfigurationType ConfigurationType


Generated on 11-03-2014 for elastix by doxygen 1.8.6 elastix logo