18#ifndef itkNeighborhoodBinaryThresholdImageFunction_h
19#define itkNeighborhoodBinaryThresholdImageFunction_h
41template <
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;
100 this->ConvertPointToNearestIndex(
point, index);
101 return this->EvaluateAtIndex(index);
109 this->ConvertContinuousIndexToNearestIndex(cindex, index);
110 return this->EvaluateAtIndex(index);
124#ifndef ITK_MANUAL_INSTANTIATION
125# include "itkNeighborhoodBinaryThresholdImageFunction.hxx"
Returns true is the value of an image lies within a range of thresholds This ImageFunction returns tr...
typename InputImageType::IndexType IndexType
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Determine whether all the pixels in the specified neighborhood meet a threshold criteria.
void PrintSelf(std::ostream &os, Indent indent) const override
bool EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
bool EvaluateAtIndex(const IndexType &index) const override
bool Evaluate(const PointType &point) const override
~NeighborhoodBinaryThresholdImageFunction() override=default
NeighborhoodBinaryThresholdImageFunction()
TInputImage InputImageType
typename InputImageType::SizeType InputSizeType
A templated class holding a geometric point in n-Dimensional space.
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents