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

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

Label an input image according to a set of thresholds. More...

#include <itkThresholdLabelerImageFilter.h>

Inheritance diagram for itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ThresholdLabelerImageFilter Self
typedef UnaryFunctorImageFilter<
TInputImage, TOutputImage,
Functor::ThresholdLabeler<
typename TInputImage::PixelType,
typename TOutputImage::PixelType > > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage::PixelType InputPixelType
typedef TOutputImage::PixelType OutputPixelType
typedef std::vector< InputPixelTypeThresholdVector
enum  { PixelTypeComparable = 0 }

Public Member Functions

virtual const char * GetNameOfClass () const
void SetThresholds (const ThresholdVector &thresholds)
const ThresholdVectorGetThresholds ()
virtual void SetLabelOffset (OutputPixelType _arg)
virtual OutputPixelType GetLabelOffset ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

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

Label an input image according to a set of thresholds.

This filter produces an output image whose pixels are labeled progressively according to the classes identified by a set of thresholds. Values equal to a threshold is considered to be in the lower class.

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 90 of file itkThresholdLabelerImageFilter.h.


Member Typedef Documentation

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

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 106 of file itkThresholdLabelerImageFilter.h.

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

Pixel types.

Definition at line 115 of file itkThresholdLabelerImageFilter.h.

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

Definition at line 116 of file itkThresholdLabelerImageFilter.h.

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

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

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 105 of file itkThresholdLabelerImageFilter.h.

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

Standard class typedefs.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 99 of file itkThresholdLabelerImageFilter.h.

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

template<class TInputImage, class TOutputImage>
typedef UnaryFunctorImageFilter<TInputImage,TOutputImage, Functor::ThresholdLabeler< typename TInputImage::PixelType, typename TOutputImage::PixelType> > itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Superclass
 

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 104 of file itkThresholdLabelerImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef std::vector<InputPixelType> itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ThresholdVector
 

Threshold vector types.

Definition at line 119 of file itkThresholdLabelerImageFilter.h.

Referenced by itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), and itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::~ThresholdLabelerImageFilter().


Member Enumeration Documentation

template<class TInputImage, class TOutputImage>
anonymous enum
 

The input pixel type must support comparison operators.

Enumeration values:
PixelTypeComparable 

Definition at line 122 of file itkThresholdLabelerImageFilter.h.


Constructor & Destructor Documentation

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

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

Definition at line 139 of file itkThresholdLabelerImageFilter.h.

References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::OutputPixelType, itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::Self, and itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ThresholdVector.


Member Function Documentation

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

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

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual OutputPixelType itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::GetLabelOffset  )  [virtual]
 

Set the offset which labels have to start from.

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

Run-time type information (and related methods).

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

template<class TInputImage, class TOutputImage>
const ThresholdVector& itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::GetThresholds  )  [inline]
 

Get the vector of thresholds.

Definition at line 129 of file itkThresholdLabelerImageFilter.h.

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

Method for creation through the object factory.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

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

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

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

Set the offset which labels have to start from.

template<class TInputImage, class TOutputImage>
void itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds const ThresholdVector thresholds  )  [inline]
 

Set the vector of thresholds.

Definition at line 125 of file itkThresholdLabelerImageFilter.h.

References itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::ThresholdVector.


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:29:27 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000