18 #ifndef itkBinaryThresholdImageFunction_h
19 #define itkBinaryThresholdImageFunction_h
42 template<
typename TInputImage,
typename TCoordRep =
float >
127 itkGetConstReferenceMacro(Lower,
PixelType);
130 itkGetConstReferenceMacro(Upper,
PixelType);
148 void operator=(const
Self &) ITK_DELETE_FUNCTION;
155 #ifndef ITK_MANUAL_INSTANTIATION
156 #include "itkBinaryThresholdImageFunction.hxx"
void ThresholdBetween(PixelType lower, PixelType upper)
Superclass::PointType PointType
Light weight base class for most itk classes.
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
SmartPointer< Self > Pointer
void ThresholdBelow(PixelType thresh)
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
BinaryThresholdImageFunction()
static const unsigned int ImageDimension
SmartPointer< const Self > ConstPointer
Superclass::IndexType IndexType
static const unsigned int ImageDimension
Superclass::ContinuousIndexType ContinuousIndexType
const InputImageType * GetInputImage() const
TInputImage::PixelType PixelType
InputImageType::IndexType IndexType
TInputImage InputImageType
virtual bool Evaluate(const PointType &point) const override
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
Returns true is the value of an image lies within a range of thresholds This ImageFunction returns tr...
~BinaryThresholdImageFunction()
void ConvertContinuousIndexToNearestIndex(const ContinuousIndexType &cindex, IndexType &index) const
virtual bool EvaluateAtIndex(const IndexType &index) const override
Evaluates a function of an image at specified position.
BinaryThresholdImageFunction Self
virtual bool EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
Superclass::InputImageType InputImageType
ImageFunction< TInputImage, bool, TCoordRep > Superclass
void ThresholdAbove(PixelType thresh)