18 #ifndef itkBinaryThresholdImageFunction_h 19 #define itkBinaryThresholdImageFunction_h 42 template<
typename TInputImage,
typename TCoordRep =
float >
86 virtual bool Evaluate(
const PointType & point)
const ITK_OVERRIDE
103 const ContinuousIndexType & index)
const ITK_OVERRIDE
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
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
SmartPointer< Self > Pointer
void ThresholdBelow(PixelType thresh)
virtual bool EvaluateAtContinuousIndex(const ContinuousIndexType &index) const override
void operator=(const Self &) ITK_DELETE_FUNCTION
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
BinaryThresholdImageFunction()
static const unsigned int ImageDimension
SmartPointer< const Self > ConstPointer
virtual bool Evaluate(const PointType &point) const override
Superclass::IndexType IndexType
static const unsigned int ImageDimension
Superclass::ContinuousIndexType ContinuousIndexType
const InputImageType * GetInputImage() const
TInputImage::PixelType PixelType
InputImageType::IndexType IndexType
TInputImage InputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
virtual bool EvaluateAtIndex(const IndexType &index) 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
Evaluates a function of an image at specified position.
BinaryThresholdImageFunction Self
Superclass::InputImageType InputImageType
ImageFunction< TInputImage, bool, TCoordRep > Superclass
void ThresholdAbove(PixelType thresh)