 |
ITK
5.4.0
Insight Toolkit
|
Go to the documentation of this file.
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"
bool Evaluate(const PointType &point) const override
typename InputImageType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
Control indentation during Print() invocation.
ImageBaseType::IndexType IndexType
Light weight base class for most itk classes.
TInputImage InputImageType
*par Constraints *The filter requires an 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
Returns true is the value of an image lies within a range of thresholds This ImageFunction returns tr...
Determine whether all the pixels in the specified neighborhood meet a threshold criteria.
bool EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename InputImageType::SizeType InputSizeType
A templated class holding a geometric point in n-Dimensional space.