18#ifndef itkBinaryThresholdImageFunction_h
19#define itkBinaryThresholdImageFunction_h
43template <
typename TInputImage,
typename TCoordinate =
float>
160#ifndef ITK_MANUAL_INSTANTIATION
161# include "itkBinaryThresholdImageFunction.hxx"
bool EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
BinaryThresholdImageFunction()
ImageFunction< TInputImage, bool, TCoordinate > Superclass
Point< TCoordinate, Self::ImageDimension > PointType
typename TInputImage::PixelType PixelType
void ThresholdBetween(PixelType lower, PixelType upper)
~BinaryThresholdImageFunction() override=default
bool EvaluateAtIndex(const IndexType &index) const override
static constexpr unsigned int ImageDimension
ContinuousIndex< TCoordinate, Self::ImageDimension > ContinuousIndexType
bool Evaluate(const PointType &point) const override
SmartPointer< const Self > ConstPointer
BinaryThresholdImageFunction Self
void ThresholdBelow(PixelType thresh)
void ThresholdAbove(PixelType thresh)
SmartPointer< Self > Pointer
typename InputImageType::IndexType IndexType
void PrintSelf(std::ostream &os, Indent indent) const override
static constexpr unsigned int ImageDimension
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
const InputImageType * GetInputImage() const
typename InputImageType::IndexType IndexType
Point< TCoordinate, Self::ImageDimension > PointType
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
ContinuousIndex< TCoordinate, Self::ImageDimension > ContinuousIndexType
TInputImage InputImageType
Control indentation during Print() invocation.
Implements transparent reference counting.
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