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

itk::ConnectedComponentImageFilter< TInputImage, TOutputImage > Class Template Reference

Label the objects in a binary image. More...

#include <itkConnectedComponentImageFilter.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef ConnectedComponentImageFilter Self
typedef ImageToImageFilter<
TInputImage, TOutputImage > 
Superclass
typedef Superclass::InputImagePointer InputImagePointer
typedef TOutputImage::PixelType OutputPixelType
typedef TOutputImage::InternalPixelType OutputInternalPixelType
typedef TInputImage::PixelType InputPixelType
typedef TInputImage::InternalPixelType InputInternalPixelType
typedef TInputImage InputImageType
typedef TOutputImage OutputImageType
typedef TInputImage::IndexType IndexType
typedef TInputImage::SizeType SizeType
typedef TOutputImage::RegionType RegionType
typedef std::list< IndexTypeListType
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Public Member Functions

 itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension)
virtual const char * GetClassName () const

Static Public Member Functions

Pointer New ()

Protected Member Functions

 ConnectedComponentImageFilter ()
virtual ~ConnectedComponentImageFilter ()
 ConnectedComponentImageFilter (const Self &)
void GenerateData ()
void GenerateInputRequestedRegion ()
void EnlargeOutputRequestedRegion (DataObject *)

Detailed Description

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

Label the objects in a binary image.

ConnectedComponentImageFilter labels the objects in a binary image. Each distinct object is assigned a unique label. The filter makes three passes through the image. The first pass initialized the output. The second pass labels each foreground pixel such that all the pixels associated with an object either have the same label or have had their labels entered into a equivalency table. The third pass through the image flattens the equivalency table such that all pixels for an object have the same label.

See also:
ImageToImageFilter

Definition at line 43 of file itkConnectedComponentImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 83 of file itkConnectedComponentImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage::IndexType itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::IndexType
 

Definition at line 74 of file itkConnectedComponentImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef Superclass::InputImagePointer itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::InputImagePointer
 

Types from the Superclass

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

Definition at line 56 of file itkConnectedComponentImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::InputImageType
 

Image typedef support

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

Definition at line 72 of file itkConnectedComponentImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage::InternalPixelType itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::InputInternalPixelType
 

Definition at line 65 of file itkConnectedComponentImageFilter.h.

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

Definition at line 64 of file itkConnectedComponentImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef std::list<IndexType> itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::ListType
 

Definition at line 77 of file itkConnectedComponentImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TOutputImage itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::OutputImageType
 

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 73 of file itkConnectedComponentImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TOutputImage::InternalPixelType itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::OutputInternalPixelType
 

Definition at line 63 of file itkConnectedComponentImageFilter.h.

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

Extract some information from the image types. Dimensionality of the two images is assumed to be the same. Definition at line 62 of file itkConnectedComponentImageFilter.h.

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

Smart pointer typedef support

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

Definition at line 82 of file itkConnectedComponentImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TOutputImage::RegionType itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::RegionType
 

Definition at line 76 of file itkConnectedComponentImageFilter.h.

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

Standard "Self" & Superclass typedef.

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

Definition at line 50 of file itkConnectedComponentImageFilter.h.

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

template<class TInputImage, class TOutputImage>
typedef TInputImage::SizeType itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::SizeType
 

Definition at line 75 of file itkConnectedComponentImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::Superclass
 

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

Definition at line 51 of file itkConnectedComponentImageFilter.h.


Constructor & Destructor Documentation

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

Definition at line 97 of file itkConnectedComponentImageFilter.h.

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

Definition at line 98 of file itkConnectedComponentImageFilter.h.

template<class TInputImage, class TOutputImage>
itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::ConnectedComponentImageFilter const Self  )  [inline, protected]
 

Definition at line 99 of file itkConnectedComponentImageFilter.h.

References itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::Self.


Member Function Documentation

template<class TInputImage, class TOutputImage>
void itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion DataObject  )  [protected, virtual]
 

ConnectedComponentImageFilter will produce all of the output. Therefore it must provide an implementation of EnlargeOutputRequestedRegion().

See also:
ProcessObject::EnlargeOutputRequestedRegion()

Reimplemented from itk::ProcessObject.

template<class TInputImage, class TOutputImage>
void itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::GenerateData  )  [protected, virtual]
 

Standard pipeline method.

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage, class TOutputImage>
void itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion  )  [protected, virtual]
 

ConnectedComponentImageFilter needs the entire input. Therefore it must provide an implementation GenerateInputRequestedRegion().

See also:
ProcessObject::GenerateInputRequestedRegion().

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

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

Run-time type information (and related methods)

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

template<class TInputImage, class TOutputImage>
itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro ImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension 
 

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

Method for creation through the object factory.

Reimplemented from itk::Object.


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