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

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

grayscale reconstruction by erosion of an image More...

#include <itkReconstructionByErosionImageFilter.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef ReconstructionByErosionImageFilter Self
typedef ImageToImageFilter<
TInputImage, TOutputImage > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputImage MarkerImageType
typedef TInputImage MaskImageType
typedef TOutputImage OutputImageType
typedef MarkerImageType::Pointer MarkerImagePointer
typedef MarkerImageType::ConstPointer MarkerImageConstPointer
typedef MarkerImageType::RegionType MarkerImageRegionType
typedef MarkerImageType::PixelType MarkerImagePixelType
typedef MaskImageType::Pointer MaskImagePointer
typedef MaskImageType::ConstPointer MaskImageConstPointer
typedef MaskImageType::RegionType MaskImageRegionType
typedef MaskImageType::PixelType MaskImagePixelType
typedef OutputImageType::Pointer OutputImagePointer
typedef OutputImageType::ConstPointer OutputImageConstPointer
typedef OutputImageType::RegionType OutputImageRegionType
typedef OutputImageType::PixelType OutputImagePixelType

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (MarkerImageDimension, unsigned int, TInputImage::ImageDimension)
 itkStaticConstMacro (MaskImageDimension, unsigned int, TInputImage::ImageDimension)
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
void SetMarkerImage (const MarkerImageType *)
const MarkerImageTypeGetMarkerImage ()
void SetMaskImage (const MaskImageType *)
const MaskImageTypeGetMaskImage ()
virtual void SetFullyConnected (bool _arg)
virtual const bool & GetFullyConnected ()
virtual void FullyConnectedOn ()
virtual void FullyConnectedOff ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

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

Detailed Description

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

grayscale reconstruction by erosion of an image

Reconstruction by erosion operates on a "marker" image and a "mask" image, and is defined as the erosion of the marker image with respect to the mask image iterated until stability.

The marker image must be greater than or equal to the mask image (on a pixel by pixel basis).

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

Algorithm implemented in this filter is based on algorithm described by Kevin Robinson and Paul F. Whelan in "Efficient Morphological Reconstruction: A Downhill Filter", Pattern Recognition Letters, Volume 25, Issue 15, November 2004, Pages 1759-1767.

Good description and applications can be found in "Morphological Grayscale Reconstruction in Image Analysis: Applications and Efficient Algorithms", Luc Vincent, IEEE Transactions on image processing, Vol. 2, April 1993.

Author:
Gaëtan Lehmann. Biologie du Développement et de la Reproduction, INRA of Jouy-en-Josas, France.
See also:
MorphologyImageFilter, GrayscaleDilateImageFilter, GrayscaleFunctionDilateImageFilter, BinaryDilateImageFilter, ReconstructionByDilationImageFilter, OpeningByReconstructionImageFilter, ClosingByReconstructionImageFilter

Definition at line 54 of file itkReconstructionByErosionImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 63 of file itkReconstructionByErosionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef MarkerImageType::ConstPointer itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::MarkerImageConstPointer
 

Definition at line 70 of file itkReconstructionByErosionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef MarkerImageType::PixelType itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::MarkerImagePixelType
 

Definition at line 72 of file itkReconstructionByErosionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef MarkerImageType::Pointer itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::MarkerImagePointer
 

Definition at line 69 of file itkReconstructionByErosionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef MarkerImageType::RegionType itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::MarkerImageRegionType
 

Definition at line 71 of file itkReconstructionByErosionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::MarkerImageType
 

Some convenient typedefs.

Definition at line 66 of file itkReconstructionByErosionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef MaskImageType::ConstPointer itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::MaskImageConstPointer
 

Definition at line 74 of file itkReconstructionByErosionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef MaskImageType::PixelType itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::MaskImagePixelType
 

Definition at line 76 of file itkReconstructionByErosionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef MaskImageType::Pointer itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::MaskImagePointer
 

Definition at line 73 of file itkReconstructionByErosionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef MaskImageType::RegionType itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::MaskImageRegionType
 

Definition at line 75 of file itkReconstructionByErosionImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef TInputImage itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::MaskImageType
 

Definition at line 67 of file itkReconstructionByErosionImageFilter.h.

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

Definition at line 78 of file itkReconstructionByErosionImageFilter.h.

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

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 80 of file itkReconstructionByErosionImageFilter.h.

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

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 77 of file itkReconstructionByErosionImageFilter.h.

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

Superclass typedefs.

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

Definition at line 79 of file itkReconstructionByErosionImageFilter.h.

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

Some convenient typedefs.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 68 of file itkReconstructionByErosionImageFilter.h.

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

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

Definition at line 62 of file itkReconstructionByErosionImageFilter.h.

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

Standard class typedefs.

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

Definition at line 59 of file itkReconstructionByErosionImageFilter.h.

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

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

Definition at line 61 of file itkReconstructionByErosionImageFilter.h.


Constructor & Destructor Documentation

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

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

Definition at line 125 of file itkReconstructionByErosionImageFilter.h.


Member Function Documentation

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

This filter will enlarge the output requested region to produce all of the output if the filter is configured to run to convergence.

See also:
ProcessObject::EnlargeOutputRequestedRegion()

Reimplemented from itk::ProcessObject.

template<class TInputImage, class TOutputImage>
virtual void itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::FullyConnectedOff  )  [virtual]
 

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

template<class TInputImage, class TOutputImage>
virtual void itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::FullyConnectedOn  )  [virtual]
 

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

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

Single-threaded version of GenerateData. This version is used when the filter is configured to run to convergence. This method may delegate to the multithreaded version if the filter is configured to run a single iteration. Otherwise, it will delegate to a separate instance to run each iteration until the filter converges.

Reimplemented from itk::ImageSource< TOutputImage >.

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

ReconstructionByErosionImageFilter needs to request enough of the marker image to account for the elementary structuring element. The mask image does not need to be padded. Depending on whether the filter is configured to run a single iteration or until convergence, this method may request all of the marker and mask image be provided.

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

template<class TInputImage, class TOutputImage>
virtual const bool& itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::GetFullyConnected  )  [virtual]
 

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

template<class TInputImage, class TOutputImage>
const MarkerImageType* itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::GetMarkerImage  ) 
 

Set/Get the marker image. The marker image must be pixelwise greater than or equal to the mask image. The marker image the image that is dilated by this filter.

template<class TInputImage, class TOutputImage>
const MaskImageType* itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::GetMaskImage  ) 
 

Set/Get the mask image. The mask image is used to "mask" the dilated marker image. The mask operation is a pixelwise minimum.

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

Runtime information support.

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

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

ImageDimension constants

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

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

ImageDimension constants

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

ImageDimension constants

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

Standard New method.

Reimplemented from itk::Object.

template<class TInputImage, class TOutputImage>
void itk::ReconstructionByErosionImageFilter< 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::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::SetFullyConnected bool  _arg  )  [virtual]
 

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

template<class TInputImage, class TOutputImage>
void itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::SetMarkerImage const MarkerImageType  ) 
 

Set/Get the marker image. The marker image must be pixelwise greater than or equal to the mask image. The marker image the image that is dilated by this filter.

template<class TInputImage, class TOutputImage>
void itk::ReconstructionByErosionImageFilter< TInputImage, TOutputImage >::SetMaskImage const MaskImageType  ) 
 

Set/Get the mask image. The mask image is used to "mask" the dilated marker image. The mask operation is a pixelwise minimum.


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