18 #ifndef itkNearestNeighborExtrapolateImageFunction_h 19 #define itkNearestNeighborExtrapolateImageFunction_h 39 template<
typename TInputImage,
typename TCoordRep =
float >
81 const ContinuousIndexType & index)
const ITK_OVERRIDE
87 nindex[j] = Math::RoundHalfIntegerUp< IndexValueType >(index[j]);
97 return static_cast< OutputType
>( this->
GetInputImage()->GetPixel(nindex) );
108 const IndexType & index)
const ITK_OVERRIDE
124 nindex[j] = index[j];
127 return static_cast< OutputType
>( this->
GetInputImage()->GetPixel(nindex) );
138 void operator=(
const Self &) ITK_DELETE_FUNCTION;
signed long IndexValueType
virtual const IndexType & GetStartIndex() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
const InputImageType * GetInputImage() const
virtual const IndexType & GetEndIndex() const
Base class for all image interpolaters.
Control indentation during Print() invocation.