18 #ifndef __itkNeighborhoodBinaryThresholdImageFunction_h
19 #define __itkNeighborhoodBinaryThresholdImageFunction_h
41 template<
class TInputImage,
class TCoordRep =
float >
78 itkStaticConstMacro(ImageDimension,
unsigned int,
79 InputImageType::ImageDimension);
91 virtual bool EvaluateAtIndex(
const IndexType & index)
const;
94 virtual bool Evaluate(
const PointType & point)
const
98 this->ConvertPointToNearestIndex(point, index);
99 return this->EvaluateAtIndex(index);
102 virtual bool EvaluateAtContinuousIndex(
107 this->ConvertContinuousIndexToNearestIndex(cindex, index);
108 return this->EvaluateAtIndex(index);
114 void PrintSelf(std::ostream & os,
Indent indent)
const;
119 void operator=(
const Self &);
127 #ifndef ITK_MANUAL_INSTANTIATION
128 #include "itkNeighborhoodBinaryThresholdImageFunction.hxx"