Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::BinaryThresholdImageFilter< TInputImage, TOutputImage > Class Template Reference
[Intensity Image FiltersMultithreaded Filters]

Binarize an input image by thresholding. More...

#include <itkBinaryThresholdImageFilter.h>

List of all members.

Public Types

typedef BinaryThresholdImageFilter Self
typedef UnaryFunctorImageFilter<
TInputImage, TOutputImage,
Functor::BinaryThreshold<
typename TInputImage::PixelType,
typename TOutputImage::PixelType > > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage::PixelType InputPixelType
typedef TOutputImage::PixelType OutputPixelType
enum  { PixelTypeComparable = 0 }

Public Member Functions

virtual const char * GetClassName () const
virtual void SetOutsideValue (OutputPixelType _arg)
virtual OutputPixelType GetOutsideValue ()
virtual void SetInsideValue (OutputPixelType _arg)
virtual OutputPixelType GetInsideValue ()
virtual void SetUpperThreshold (InputPixelType _arg)
virtual void SetLowerThreshold (InputPixelType _arg)
virtual InputPixelType GetUpperThreshold ()
virtual InputPixelType GetLowerThreshold ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 BinaryThresholdImageFilter ()
virtual ~BinaryThresholdImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void BeforeThreadedGenerateData ()


Detailed Description

template<class TInputImage, class TOutputImage>
class itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >

Binarize an input image by thresholding.

This filter produces an output image whose pixels are either one of two values ( OutsideValue or InsideValue ), depending on whether of not the corresponding input image pixel lie between the two thresholds ( LowerThreshold and UpperThreshold ). Values equal to either threshold is considered to be between the thresholds.

This filter is templated over the input image type and the output image type.

The filter expect both images to have the same number of dimensions.

Definition at line 80 of file itkBinaryThresholdImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage>
typedef SmartPointer<const Self> itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::ConstPointer
 

Definition at line 96 of file itkBinaryThresholdImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage::PixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::InputPixelType
 

Pixel types. Definition at line 105 of file itkBinaryThresholdImageFilter.h.

Referenced by itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::~BinaryThresholdImageFilter().

template<class TInputImage, class TOutputImage>
typedef TOutputImage::PixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::OutputPixelType
 

Definition at line 106 of file itkBinaryThresholdImageFilter.h.

Referenced by itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::~BinaryThresholdImageFilter().

template<class TInputImage, class TOutputImage>
typedef SmartPointer<Self> itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::Pointer
 

Definition at line 95 of file itkBinaryThresholdImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef BinaryThresholdImageFilter itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::Self
 

Standard class typedefs. Definition at line 89 of file itkBinaryThresholdImageFilter.h.

Referenced by itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::~BinaryThresholdImageFilter().

template<class TInputImage, class TOutputImage>
typedef UnaryFunctorImageFilter<TInputImage,TOutputImage, Functor::BinaryThreshold< typename TInputImage::PixelType, typename TOutputImage::PixelType> > itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::Superclass
 

Definition at line 94 of file itkBinaryThresholdImageFilter.h.


Member Enumeration Documentation

template<class TInputImage, class TOutputImage>
anonymous enum
 

The input pixel type must support comparison operators.

Enumeration values:
PixelTypeComparable 
Definition at line 109 of file itkBinaryThresholdImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage>
itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::BinaryThresholdImageFilter  )  [protected]
 

template<class TInputImage, class TOutputImage>
virtual itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::~BinaryThresholdImageFilter  )  [inline, protected, virtual]
 

Definition at line 141 of file itkBinaryThresholdImageFilter.h.

References itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::InputPixelType, itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::OutputPixelType, and itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::Self.


Member Function Documentation

template<class TInputImage, class TOutputImage>
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData  )  [protected, virtual]
 

This method is used to set the state of the filter before multi-threading.

template<class TInputImage, class TOutputImage>
virtual const char* itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

template<class TInputImage, class TOutputImage>
virtual OutputPixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetInsideValue  )  [virtual]
 

Get the "inside" pixel value.

template<class TInputImage, class TOutputImage>
virtual InputPixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetLowerThreshold  )  [virtual]
 

Get the threshold values.

template<class TInputImage, class TOutputImage>
virtual OutputPixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetOutsideValue  )  [virtual]
 

Get the "outside" pixel value.

template<class TInputImage, class TOutputImage>
virtual InputPixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetUpperThreshold  )  [virtual]
 

Get the threshold values.

template<class TInputImage, class TOutputImage>
Pointer itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::New  )  [static]
 

Method for creation through the object factory.

template<class TInputImage, class TOutputImage>
void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::PrintSelf std::ostream &  os,
Indent  indent
const [protected]
 

template<class TInputImage, class TOutputImage>
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetInsideValue OutputPixelType  _arg  )  [virtual]
 

Set the "inside" pixel value. The default value NumericTraits<OutputPixelType>::max()

template<class TInputImage, class TOutputImage>
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetLowerThreshold InputPixelType  _arg  )  [virtual]
 

Set the thresholds. The default lower threshold is NumericTraits<InputPixelType>::NonpositiveMin(). The default upper threshold is NumericTraits<InputPixelType>::max. An execption is thrown if the lower threshold is greater than the upper threshold.

template<class TInputImage, class TOutputImage>
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetOutsideValue OutputPixelType  _arg  )  [virtual]
 

Set the "outside" pixel value. The default value NumericTraits<OutputPixelType>::Zero.

template<class TInputImage, class TOutputImage>
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetUpperThreshold InputPixelType  _arg  )  [virtual]
 

Set the thresholds. The default lower threshold is NumericTraits<InputPixelType>::NonpositiveMin(). The default upper threshold is NumericTraits<InputPixelType>::max. An execption is thrown if the lower threshold is greater than the upper threshold.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:52:12 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000