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

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

Remove local minima not connected to the boundary of the image. More...

#include <itkGrayscaleFillholeImageFilter.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef GrayscaleFillholeImageFilter Self
typedef ImageToImageFilter<
TInputImage, TOutputImage > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage InputImageType
typedef TOutputImage OutputImageType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::ConstPointer InputImageConstPointer
typedef InputImageType::RegionType InputImageRegionType
typedef InputImageType::PixelType InputImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::ConstPointer OutputImageConstPointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef OutputImageType::PixelType OutputImagePixelType

Public Member Functions

virtual const char * GetClassName () const
virtual unsigned long GetNumberOfIterationsUsed ()
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 GrayscaleFillholeImageFilter ()
 ~GrayscaleFillholeImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
void GenerateInputRequestedRegion ()
void EnlargeOutputRequestedRegion (DataObject *)
void GenerateData ()

Detailed Description

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

Remove local minima not connected to the boundary of the image.

GrayscaleFillholeImageFilter fills holes in a grayscale image. Holes are local minima in the grayscale topography that are not connected to boundaries of the image. Gray level values adjacent to a hole are extrapolated across the hole.

This filter is used to smooth over local minima without affecting the values of local maxima. If you take the difference between the output of this filter and the original image (and perhaps threshold the difference above a small value), you'll obtain a map of the local minima.

This filter uses the GrayscaleGeodesicErodeImageFilter. It provides its own input as the "mask" input to the geodesic erosion. The "marker" image for the geodesic erosion is constructed such that boundary pixels match the boundary pixels of the input image and the interior pixels are set to the maximum pixel value in the input image.

Geodesic morphology and the Fillhole algorithm is described in Chapter 6 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003.

See also:
GrayscaleGeodesicErodeImageFilter

MorphologyImageFilter, GrayscaleErodeImageFilter, GrayscaleFunctionErodeImageFilter, BinaryErodeImageFilter

Definition at line 54 of file itkGrayscaleFillholeImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 63 of file itkGrayscaleFillholeImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::ConstPointer itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >::InputImageConstPointer
 

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

Definition at line 69 of file itkGrayscaleFillholeImageFilter.h.

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

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

Definition at line 71 of file itkGrayscaleFillholeImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef InputImageType::Pointer itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >::InputImagePointer
 

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

Definition at line 68 of file itkGrayscaleFillholeImageFilter.h.

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

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

Definition at line 70 of file itkGrayscaleFillholeImageFilter.h.

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

Some convenient typedefs.

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

Definition at line 66 of file itkGrayscaleFillholeImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImageType::ConstPointer itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >::OutputImageConstPointer
 

Definition at line 73 of file itkGrayscaleFillholeImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImageType::PixelType itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >::OutputImagePixelType
 

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 75 of file itkGrayscaleFillholeImageFilter.h.

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

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 72 of file itkGrayscaleFillholeImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef OutputImageType::RegionType itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >::OutputImageRegionType
 

Superclass typedefs.

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

Definition at line 74 of file itkGrayscaleFillholeImageFilter.h.

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

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 67 of file itkGrayscaleFillholeImageFilter.h.

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

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

Definition at line 62 of file itkGrayscaleFillholeImageFilter.h.

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

Standard class typedefs.

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

Definition at line 59 of file itkGrayscaleFillholeImageFilter.h.

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

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

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

Definition at line 61 of file itkGrayscaleFillholeImageFilter.h.


Constructor & Destructor Documentation

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

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

Definition at line 97 of file itkGrayscaleFillholeImageFilter.h.

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


Member Function Documentation

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

GrayscaleFillholeImageFilter will produce the entire output.

Reimplemented from itk::ProcessObject.

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

Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.

Reimplemented from itk::ImageSource< TOutputImage >.

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

GrayscaleFillholeImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().

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

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

Runtime information support.

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

template<class TInputImage, class TOutputImage>
virtual unsigned long itk::GrayscaleFillholeImageFilter< TInputImage, TOutputImage >::GetNumberOfIterationsUsed  )  [virtual]
 

Get the number of iterations used to produce the current output.

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

ImageDimension constants

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

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

ImageDimension constants

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

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

Standard New method.

Reimplemented from itk::Object.

template<class TInputImage, class TOutputImage>
void itk::GrayscaleFillholeImageFilter< 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 Sun Apr 1 02:54:32 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000