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 #ifndef __elxNearestNeighborResampleInterpolator_h
15 #define __elxNearestNeighborResampleInterpolator_h
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
18 #include "itkNearestNeighborInterpolateImageFunction.h"
19 
20 namespace elastix
21 {
22 
39 template< class TElastix >
41  public
42  itk::NearestNeighborInterpolateImageFunction<
43  typename ResampleInterpolatorBase< TElastix >::InputImageType,
44  typename ResampleInterpolatorBase< TElastix >::CoordRepType >,
45  public ResampleInterpolatorBase< TElastix >
46 {
47 public:
48 
51  typedef itk::NearestNeighborInterpolateImageFunction<
55  typedef itk::SmartPointer< Self > Pointer;
56  typedef itk::SmartPointer< const Self > ConstPointer;
57 
59  itkNewMacro( Self );
60 
62  itkTypeMacro( NearestNeighborResampleInterpolator, NearestNeighborInterpolateImageFunction );
63 
68  elxClassNameMacro( "FinalNearestNeighborInterpolator" );
69 
71  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
72 
74  typedef typename Superclass1::OutputType OutputType;
75  typedef typename Superclass1::InputImageType InputImageType;
76  typedef typename Superclass1::IndexType IndexType;
77  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
78 
87 
88 protected:
89 
94 
95 private:
96 
98  NearestNeighborResampleInterpolator( const Self & ); // purposely not implemented
100  void operator=( const Self & ); // purposely not implemented
101 
102 };
103 
104 } // end namespace elastix
105 
106 #ifndef ITK_MANUAL_INSTANTIATION
107 #include "elxNearestNeighborResampleInterpolator.hxx"
108 #endif
109 
110 #endif // end __elxNearestNeighborResampleInterpolator_h
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 27-04-2014 for elastix by doxygen 1.8.6 elastix logo