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 #ifndef __elxNearestNeighborInterpolator_h
15 #define __elxNearestNeighborInterpolator_h
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
18 #include "itkNearestNeighborInterpolateImageFunction.h"
19 
20 namespace elastix
21 {
22 
37 template< class TElastix >
39  public
40  itk::NearestNeighborInterpolateImageFunction<
41  typename InterpolatorBase< TElastix >::InputImageType,
42  typename InterpolatorBase< TElastix >::CoordRepType >,
43  public
44  InterpolatorBase< TElastix >
45 {
46 public:
47 
50  typedef itk::NearestNeighborInterpolateImageFunction<
54  typedef itk::SmartPointer< Self > Pointer;
55  typedef itk::SmartPointer< const Self > ConstPointer;
56 
58  itkNewMacro( Self );
59 
61  itkTypeMacro( NearestNeighborInterpolator, itk::NearestNeighborInterpolateImageFunction );
62 
67  elxClassNameMacro( "NearestNeighborInterpolator" );
68 
70  itkStaticConstMacro( ImageDimension, unsigned int, Superclass1::ImageDimension );
71 
73  typedef typename Superclass1::OutputType OutputType;
74  typedef typename Superclass1::InputImageType InputImageType;
75  typedef typename Superclass1::IndexType IndexType;
76  typedef typename Superclass1::ContinuousIndexType ContinuousIndexType;
77  typedef typename Superclass1::PointType PointType;
78 
87 
88 protected:
89 
94 
95 private:
96 
98  NearestNeighborInterpolator( 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 "elxNearestNeighborInterpolator.hxx"
108 #endif
109 
110 #endif // end #ifndef __elxNearestNeighborInterpolator_h
Superclass2::RegistrationPointer RegistrationPointer
Superclass::ElastixType ElastixType
itk::NearestNeighborInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType > Superclass1
elxClassNameMacro("NearestNeighborInterpolator")
Superclass1::ContinuousIndexType ContinuousIndexType
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
Superclass::ElastixPointer ElastixPointer
Superclass::RegistrationType RegistrationType
An interpolator based on the itkNearestNeighborInterpolateImageFunction.
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 11-03-2014 for elastix by doxygen 1.8.6 elastix logo