18 #ifndef itkNeighborhoodBinaryThresholdImageFunction_h
19 #define itkNeighborhoodBinaryThresholdImageFunction_h
41 template<
typename TInputImage,
typename TCoordRep =
float >
79 static constexpr
unsigned int ImageDimension = InputImageType::ImageDimension;
91 bool EvaluateAtIndex(
const IndexType & index)
const override;
98 this->ConvertPointToNearestIndex(point, index);
99 return this->EvaluateAtIndex(index);
107 this->ConvertContinuousIndexToNearestIndex(cindex, index);
108 return this->EvaluateAtIndex(index);
114 void PrintSelf(std::ostream & os,
Indent indent)
const override;
121 #ifndef ITK_MANUAL_INSTANTIATION
122 #include "itkNeighborhoodBinaryThresholdImageFunction.hxx"
bool EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
Light weight base class for most itk classes.
typename Superclass::IndexType IndexType
typename Superclass::PointType PointType
typename Superclass::OutputType OutputType
bool Evaluate(const PointType &point) const override
typename InputImageType::SizeType InputSizeType
typename Superclass::ContinuousIndexType ContinuousIndexType
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
typename TInputImage::PixelType PixelType
typename Superclass::InputImageType InputImageType
Determine whether all the pixels in the specified neighborhood meet a threshold criteria.
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
Returns true is the value of an image lies within a range of thresholds This ImageFunction returns tr...