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

itk::BinaryThinningImageFilter< TInputImage, TOutputImage > Class Template Reference
[Image Enhancement FiltersMathematical Morphology Image Filters]

This filter computes one-pixel-wide edges of the input image. More...

#include <itkBinaryThinningImageFilter.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef BinaryThinningImageFilter Self
typedef ImageToImageFilter<
TInputImage, TOutputImage > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage InputImageType
typedef TOutputImage OutputImageType
typedef InputImageType::RegionType RegionType
typedef RegionType::IndexType IndexType
typedef InputImageType::PixelType PixelType
typedef RegionType::SizeType SizeType
typedef InputImageType::ConstPointer InputImagePointer
typedef OutputImageType::Pointer OutputImagePointer
typedef NeighborhoodIterator<
TInputImage > 
NeighborhoodIteratorType

Public Member Functions

virtual const char * GetNameOfClass () const
OutputImageTypeGetThinning (void)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 BinaryThinningImageFilter ()
virtual ~BinaryThinningImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
void GenerateData ()
void PrepareData ()
void ComputeThinImage ()

Detailed Description

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

This filter computes one-pixel-wide edges of the input image.

This class is parametrized over the type of the input image and the type of the output image.

The input is assumed to be a binary image. If the foreground pixels of the input image do not have a value of 1, they are rescaled to 1 internally to simplify the computation.

The filter will produce a skeleton of the object. The output background values are 0, and the foreground values are 1.

This filter is a sequential thinning algorithm and known to be computational time dependable on the image size. The algorithm corresponds with the 2D implementation described in:

Rafael C. Gonzales and Richard E. Woods. Digital Image Processing. Addison Wesley, 491-494, (1993).

To do: Make this filter ND.

See also:
MorphologyImageFilter

Definition at line 56 of file itkBinaryThinningImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 64 of file itkBinaryThinningImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef RegionType::IndexType itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::IndexType
 

Type for the index of the input image.

Definition at line 82 of file itkBinaryThinningImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::ConstPointer itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::InputImagePointer
 

Pointer Type for input image.

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

Definition at line 91 of file itkBinaryThinningImageFilter.h.

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

Type for input image.

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

Definition at line 73 of file itkBinaryThinningImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef NeighborhoodIterator<TInputImage> itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::NeighborhoodIteratorType
 

Neighborhood iterator type

Definition at line 97 of file itkBinaryThinningImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImageType::Pointer itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::OutputImagePointer
 

Pointer Type for the output image.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 94 of file itkBinaryThinningImageFilter.h.

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

Type for output image: Skelenton of the object.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 76 of file itkBinaryThinningImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::PixelType itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::PixelType
 

Type for the index of the input image.

Definition at line 85 of file itkBinaryThinningImageFilter.h.

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

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

Definition at line 63 of file itkBinaryThinningImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::RegionType itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::RegionType
 

Type for the region of the input image.

Definition at line 79 of file itkBinaryThinningImageFilter.h.

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

Standard class typedefs.

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

Definition at line 61 of file itkBinaryThinningImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef RegionType::SizeType itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::SizeType
 

Type for the size of the input image.

Definition at line 88 of file itkBinaryThinningImageFilter.h.

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

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

Definition at line 62 of file itkBinaryThinningImageFilter.h.


Constructor & Destructor Documentation

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

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

Definition at line 105 of file itkBinaryThinningImageFilter.h.


Member Function Documentation

template<class TInputImage, class TOutputImage>
void itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::ComputeThinImage  )  [protected]
 

Compute thinning Image.

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

Compute thinning Image.

Reimplemented from itk::ImageSource< TOutputImage >.

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

Run-time type information (and related methods).

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

template<class TInputImage, class TOutputImage>
OutputImageType* itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::GetThinning void   ) 
 

Get Skelenton by thinning image.

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

Method for creation through the object factory

Reimplemented from itk::Object.

template<class TInputImage, class TOutputImage>
void itk::BinaryThinningImageFilter< TInputImage, TOutputImage >::PrepareData  )  [protected]
 

Prepare data.

template<class TInputImage, class TOutputImage>
void itk::BinaryThinningImageFilter< 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::ImageToImageFilter< TInputImage, TOutputImage >.


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