18#ifndef elxNearestNeighborInterpolator_h
19#define elxNearestNeighborInterpolator_h
22#include "itkNearestNeighborInterpolateImageFunction.h"
41template <
class TElastix>
43 :
public itk::NearestNeighborInterpolateImageFunction<typename InterpolatorBase<TElastix>::InputImageType,
44 typename InterpolatorBase<TElastix>::CoordRepType>
52 using Superclass1 = itk::NearestNeighborInterpolateImageFunction<typename InterpolatorBase<TElastix>::InputImageType,
74 using typename Superclass1::OutputType;
75 using typename Superclass1::InputImageType;
76 using typename Superclass1::IndexType;
77 using typename Superclass1::ContinuousIndexType;
78 using typename Superclass1::PointType;
97#ifndef ITK_MANUAL_INSTANTIATION
98# include "elxNearestNeighborInterpolator.hxx"
This class is the elastix base class for all Interpolators.
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
typename ElastixType::RegistrationBaseType RegistrationType
An interpolator based on the itkNearestNeighborInterpolateImageFunction.
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
ITK_DISALLOW_COPY_AND_MOVE(NearestNeighborInterpolator)
typename Superclass2::ITKBaseType ITKBaseType
~NearestNeighborInterpolator() override=default
elxClassNameMacro("NearestNeighborInterpolator")
itk::SmartPointer< const Self > ConstPointer
itk::NearestNeighborInterpolateImageFunction< typename InterpolatorBase< TElastix >::InputImageType, typename InterpolatorBase< TElastix >::CoordRepType > Superclass1
itk::SmartPointer< Self > Pointer
NearestNeighborInterpolator()=default