18 #ifndef itkNearestNeighborInterpolateImageFunction_h 19 #define itkNearestNeighborInterpolateImageFunction_h 37 template<
typename TInputImage,
typename TCoordRep =
double >
79 const ContinuousIndexType & index)
const ITK_OVERRIDE
84 return static_cast< OutputType
>( this->
GetInputImage()->GetPixel(nindex) );
95 void operator=(
const Self &) ITK_DELETE_FUNCTION;
Superclass::OutputType OutputType
Superclass::IndexType IndexType
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
void operator=(const Self &) ITK_DELETE_FUNCTION
~NearestNeighborInterpolateImageFunction()
Nearest neighbor interpolation of a scalar image.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
static const unsigned int ImageDimension
Superclass::IndexType IndexType
Superclass::ContinuousIndexType ContinuousIndexType
Superclass::OutputType OutputType
const InputImageType * GetInputImage() const
static const unsigned int ImageDimension
NearestNeighborInterpolateImageFunction()
Superclass::InputImageType InputImageType
Superclass::InputImageType InputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< const Self > ConstPointer
NearestNeighborInterpolateImageFunction Self
SmartPointer< Self > Pointer
Superclass::ContinuousIndexType ContinuousIndexType
Base class for all image interpolaters.
Control indentation during Print() invocation.
InterpolateImageFunction< TInputImage, TCoordRep > Superclass
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
void PrintSelf(std::ostream &os, Indent indent) const override