18 #ifndef __itkBinaryThresholdImageFunction_h
19 #define __itkBinaryThresholdImageFunction_h
42 template<
typename TInputImage,
typename TCoordRep =
float >
127 itkGetConstReferenceMacro(Lower,
PixelType);
130 itkGetConstReferenceMacro(Upper,
PixelType);
155 #ifndef ITK_MANUAL_INSTANTIATION
156 #include "itkBinaryThresholdImageFunction.hxx"
void ThresholdBetween(PixelType lower, PixelType upper)
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::PointType PointType
Light weight base class for most itk classes.
Point< TCoordRep, itkGetStaticConstMacro(ImageDimension) > PointType
virtual bool EvaluateAtIndex(const IndexType &index) const
SmartPointer< Self > Pointer
void ThresholdBelow(PixelType thresh)
void ConvertPointToNearestIndex(const PointType &point, IndexType &index) const
BinaryThresholdImageFunction()
virtual bool Evaluate(const PointType &point) const
static const unsigned int ImageDimension
SmartPointer< const Self > ConstPointer
void operator=(const Self &)
Superclass::IndexType IndexType
static const unsigned int ImageDimension
Superclass::ContinuousIndexType ContinuousIndexType
const InputImageType * GetInputImage() const
TInputImage::PixelType PixelType
InputImageType::IndexType IndexType
TInputImage InputImageType
ContinuousIndex< TCoordRep, itkGetStaticConstMacro(ImageDimension) > ContinuousIndexType
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
virtual bool EvaluateAtContinuousIndex(const ContinuousIndexType &index) const
ImageFunction< TInputImage, bool, TCoordRep > Superclass
void ThresholdAbove(PixelType thresh)