go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxReducedDimensionBSplineResampleInterpolator.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 __elxReducedDimensionBSplineResampleInterpolator_h
16 #define __elxReducedDimensionBSplineResampleInterpolator_h
17 
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
50  template < class TElastix >
52  public
54  typename ResampleInterpolatorBase<TElastix>::InputImageType,
55  typename ResampleInterpolatorBase<TElastix>::CoordRepType,
56  double >, //CoefficientType
57  public ResampleInterpolatorBase<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 
76 
81  elxClassNameMacro( "FinalReducedDimensionBSplineInterpolator" );
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 BeforeRegistration( void );
112 
114  virtual void ReadFromFile( void );
115 
117  virtual void WriteToFile( void ) const;
118 
119  protected:
120 
125 
126  private:
127 
129  ReducedDimensionBSplineResampleInterpolator( const Self& ); // purposely not implemented
131  void operator=( const Self& ); // purposely not implemented
132 
133  }; // end class ReducedDimensionBSplineResampleInterpolator
134 
135 
136 } // end namespace elastix
137 
138 #ifndef ITK_MANUAL_INSTANTIATION
139 #include "elxReducedDimensionBSplineResampleInterpolator.hxx"
140 #endif
141 
142 #endif // end __elxReducedDimensionBSplineResampleInterpolator_h
143 
Superclass::RegistrationType RegistrationType
ElastixType::MovingImageType InputImageType
elxClassNameMacro("FinalReducedDimensionBSplineInterpolator")
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
A resample-interpolator based on B-splines which ignores the last dimension.
Superclass::ConfigurationPointer ConfigurationPointer
Evaluates the B-Spline interpolation of an image. Spline order may be from 0 to 5.
This class is the elastix base class for all ResampleInterpolators.
Superclass::RegistrationPointer RegistrationPointer
itk::BSplineInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType, double > Superclass1
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass::ConfigurationType ConfigurationType


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