go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxNearestNeighborResampleInterpolator.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 __elxNearestNeighborResampleInterpolator_h
16 #define __elxNearestNeighborResampleInterpolator_h
17 
18 #include "itkNearestNeighborInterpolateImageFunction.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
40  template < class TElastix >
42  public
43  itk::NearestNeighborInterpolateImageFunction<
44  typename ResampleInterpolatorBase<TElastix>::InputImageType,
45  typename ResampleInterpolatorBase<TElastix>::CoordRepType >,
46  public ResampleInterpolatorBase<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( NearestNeighborResampleInterpolator, NearestNeighborInterpolateImageFunction );
64 
69  elxClassNameMacro( "FinalNearestNeighborInterpolator" );
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 
88 
89  protected:
90 
95 
96  private:
97 
99  NearestNeighborResampleInterpolator( const Self& ); // purposely not implemented
101  void operator=( const Self& ); // purposely not implemented
102 
103  }; // end class NearestNeighborResampleInterpolator
104 
105 
106 } // end namespace elastix
107 
108 #ifndef ITK_MANUAL_INSTANTIATION
109 #include "elxNearestNeighborResampleInterpolator.hxx"
110 #endif
111 
112 #endif // end __elxNearestNeighborResampleInterpolator_h
113 
Superclass::RegistrationType RegistrationType
elxClassNameMacro("FinalNearestNeighborInterpolator")
ElastixType::MovingImageType InputImageType
Superclass::ConfigurationPointer ConfigurationPointer
This class is the elastix base class for all ResampleInterpolators.
Superclass::RegistrationPointer RegistrationPointer
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
itk::NearestNeighborInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType > Superclass1
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass::ConfigurationType ConfigurationType


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