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

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

#include <itkBinaryPruningImageFilter.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef BinaryPruningImageFilter 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
OutputImageTypeGetPruning (void)
virtual void SetIteration (unsigned int _arg)
virtual unsigned int GetIteration ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

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

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

This filter remove spurs pixel of less than a certain length input image.

The input is assumed to be a binary image.

This filter is sequential pruning algorithm and known to be computational time dependable of the image size. The algorithm is the N-dimensional version of the given for two dimensions in:

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

See also:
MorphologyImageFilter

BinaryPruningImageFilter

BinaryErodeImageFilter

BinaryDilateImageFilter

BinaryThinningImageFilter

Definition at line 55 of file itkBinaryPruningImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 63 of file itkBinaryPruningImageFilter.h.

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

Type for the index of the input image.

Definition at line 81 of file itkBinaryPruningImageFilter.h.

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

Pointer Type for input image.

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

Definition at line 90 of file itkBinaryPruningImageFilter.h.

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

Type for input image.

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

Definition at line 72 of file itkBinaryPruningImageFilter.h.

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

Neighborhood iterator type

Definition at line 96 of file itkBinaryPruningImageFilter.h.

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

Pointer Type for the output image.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 93 of file itkBinaryPruningImageFilter.h.

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

Type for output image: Skelenton of the object.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 75 of file itkBinaryPruningImageFilter.h.

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

Type for the index of the input image.

Definition at line 84 of file itkBinaryPruningImageFilter.h.

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

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

Definition at line 62 of file itkBinaryPruningImageFilter.h.

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

Type for the region of the input image.

Definition at line 78 of file itkBinaryPruningImageFilter.h.

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

Standard class typedefs.

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

Definition at line 60 of file itkBinaryPruningImageFilter.h.

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

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

Type for the size of the input image.

Definition at line 87 of file itkBinaryPruningImageFilter.h.

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

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

Definition at line 61 of file itkBinaryPruningImageFilter.h.


Constructor & Destructor Documentation

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

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

Definition at line 109 of file itkBinaryPruningImageFilter.h.

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


Member Function Documentation

template<class TInputImage, class TOutputImage>
void itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::ComputePruneImage  )  [protected]
 

Compute thinning Image.

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

Compute thinning Image.

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage, class TOutputImage>
virtual unsigned int itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::GetIteration  )  [virtual]
 

Set/Get the iteration value

template<class TInputImage, class TOutputImage>
virtual const char* itk::BinaryPruningImageFilter< 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::BinaryPruningImageFilter< TInputImage, TOutputImage >::GetPruning void   ) 
 

Get Skelenton by thinning image.

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

Method for creation through the object factory

Reimplemented from itk::Object.

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

Prepare data.

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

template<class TInputImage, class TOutputImage>
virtual void itk::BinaryPruningImageFilter< TInputImage, TOutputImage >::SetIteration unsigned int  _arg  )  [virtual]
 

Set/Get the iteration value


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