18 #ifndef itkNeighborhoodBinaryThresholdImageFunction_h
19 #define itkNeighborhoodBinaryThresholdImageFunction_h
41 template <
typename TInputImage,
typename TCoordRep =
float>
64 using typename Superclass::OutputType;
70 using typename Superclass::ContinuousIndexType;
76 using typename Superclass::PixelType;
79 static constexpr
unsigned int ImageDimension = InputImageType::ImageDimension;
92 EvaluateAtIndex(
const IndexType & index)
const override;
100 this->ConvertPointToNearestIndex(
point, index);
101 return this->EvaluateAtIndex(index);
109 this->ConvertContinuousIndexToNearestIndex(cindex, index);
110 return this->EvaluateAtIndex(index);
117 PrintSelf(std::ostream & os,
Indent indent)
const override;
124 #ifndef ITK_MANUAL_INSTANTIATION
125 # include "itkNeighborhoodBinaryThresholdImageFunction.hxx"