go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxNearestNeighborInterpolator.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 __elxNearestNeighborInterpolator_h
16 #define __elxNearestNeighborInterpolator_h
17 
18 #include "itkNearestNeighborInterpolateImageFunction.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
24 
39  template < class TElastix >
41  public
42  itk::NearestNeighborInterpolateImageFunction<
43  typename InterpolatorBase<TElastix>::InputImageType,
44  typename InterpolatorBase<TElastix>::CoordRepType >,
45  public
46  InterpolatorBase<TElastix>
47  {
48  public:
49 
52  typedef itk::NearestNeighborInterpolateImageFunction<
56  typedef itk::SmartPointer<Self> Pointer;
57  typedef itk::SmartPointer<const Self> ConstPointer;
58 
60  itkNewMacro(Self);
61 
63  itkTypeMacro( NearestNeighborInterpolator, itk::NearestNeighborInterpolateImageFunction );
64 
69  elxClassNameMacro( "NearestNeighborInterpolator" );
70 
72  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
73 
75  typedef typename Superclass1::OutputType OutputType;
76  typedef typename Superclass1::InputImageType InputImageType;
77  typedef typename Superclass1::IndexType IndexType;
78  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
79  typedef typename Superclass1::PointType PointType;
80 
89 
90  protected:
91 
96 
97  private:
98 
100  NearestNeighborInterpolator( const Self& ); // purposely not implemented
102  void operator=( const Self& ); // purposely not implemented
103 
104  }; // end class NearestNeighborInterpolator
105 
106 
107 } // end namespace elastix
108 
109 #ifndef ITK_MANUAL_INSTANTIATION
110 #include "elxNearestNeighborInterpolator.hxx"
111 #endif
112 
113 #endif // end #ifndef __elxNearestNeighborInterpolator_h
114 
Superclass2::RegistrationPointer RegistrationPointer
Superclass::ElastixType ElastixType
elxClassNameMacro("NearestNeighborInterpolator")
Superclass1::ContinuousIndexType ContinuousIndexType
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
Superclass::ElastixPointer ElastixPointer
Superclass::RegistrationType RegistrationType
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
An interpolator based on the itkNearestNeighborInterpolateImageFunction.
itk::NearestNeighborInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType > Superclass1
Superclass::ConfigurationType ConfigurationType
ElastixType::CoordRepType CoordRepType
This class is the elastix base class for all Interpolators.
Superclass2::ConfigurationType ConfigurationType
ElastixType::MovingImageType InputImageType
Superclass::RegistrationPointer RegistrationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer


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