18#ifndef elxNearestNeighborResampleInterpolator_h
19#define elxNearestNeighborResampleInterpolator_h
22#include "itkNearestNeighborInterpolateImageFunction.h"
43template <
class TElastix>
45 :
public itk::NearestNeighborInterpolateImageFunction<typename ResampleInterpolatorBase<TElastix>::InputImageType,
46 typename ResampleInterpolatorBase<TElastix>::CoordRepType>
55 itk::NearestNeighborInterpolateImageFunction<typename ResampleInterpolatorBase<TElastix>::InputImageType,
77 using typename Superclass1::OutputType;
78 using typename Superclass1::InputImageType;
79 using typename Superclass1::IndexType;
80 using typename Superclass1::ContinuousIndexType;
99#ifndef ITK_MANUAL_INSTANTIATION
100# include "elxNearestNeighborResampleInterpolator.hxx"
A nearest neighbor resample-interpolator.
~NearestNeighborResampleInterpolator() override=default
itk::SmartPointer< const Self > ConstPointer
itk::NearestNeighborInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType > Superclass1
ITK_DISALLOW_COPY_AND_MOVE(NearestNeighborResampleInterpolator)
itk::SmartPointer< Self > Pointer
NearestNeighborResampleInterpolator()=default
elxClassNameMacro("FinalNearestNeighborInterpolator")
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
typename Superclass2::ITKBaseType ITKBaseType
This class is the elastix base class for all ResampleInterpolators.
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
typename ElastixType::RegistrationBaseType RegistrationType