GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage > Class Template Reference

#include <Code/Filters/itkMorphologicalWatershedImageFilter2.h>

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

Public Types

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

Public Member Functions

 itkBooleanMacro (FullyConnected)
 
 itkBooleanMacro (MarkWatershedLine)
 
 itkGetConstMacro (Level, InputImagePixelType)
 
 itkGetConstReferenceMacro (FullyConnected, bool)
 
 itkGetConstReferenceMacro (MarkWatershedLine, bool)
 
 itkNewMacro (Self)
 
 itkSetMacro (FullyConnected, bool)
 
 itkSetMacro (MarkWatershedLine, bool)
 
 itkSetMacro (Level, InputImagePixelType)
 
 itkStaticConstMacro (InputImageDimension, unsigned int, TInputImage::ImageDimension)
 
 itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
 
 itkTypeMacro (MorphologicalWatershedImageFilter2, ImageToImageFilter)
 
void SetForegroundImage (TOutputImage *fg)
 

Protected Member Functions

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

Protected Attributes

OutputImagePointer m_ForegroundImg
 

Private Member Functions

 MorphologicalWatershedImageFilter2 (const Self &)
 
void operator= (const Self &)
 

Private Attributes

bool m_FullyConnected
 
InputImagePixelType m_Level
 
bool m_MarkWatershedLine
 

Detailed Description

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

Todo:
(Kishore) write a brief documentation!

Watershed pixel are labeled 0. TOutputImage should be an integer type. Labels of output image are in no particular order. You can reorder the labels such that object labels are consecutive and sorted based on object size by passing the output of this filter to a RelabelComponentImageFilter.

The morphological watershed transform algorithm is described in Chapter 9.2 of Pierre Soille's book "Morphological Image Analysis: Principles and Applications", Second Edition, Springer, 2003.

Author
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.
See Also
WatershedImageFilter, MorphologicalWatershedFromMarkersImageFilter

Definition at line 80 of file itkMorphologicalWatershedImageFilter2.h.

Member Typedef Documentation

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

Definition at line 88 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 94 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 96 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 93 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 95 of file itkMorphologicalWatershedImageFilter2.h.

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

Some convenient typedefs.

Definition at line 91 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 98 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 100 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 97 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 99 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 92 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 87 of file itkMorphologicalWatershedImageFilter2.h.

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

Standard class typedefs.

Definition at line 85 of file itkMorphologicalWatershedImageFilter2.h.

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

Definition at line 86 of file itkMorphologicalWatershedImageFilter2.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::MorphologicalWatershedImageFilter2 ( )
protected
template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::~MorphologicalWatershedImageFilter2 ( )
inlineprotected

Definition at line 147 of file itkMorphologicalWatershedImageFilter2.h.

template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::MorphologicalWatershedImageFilter2 ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputImage >
void itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion ( DataObject *  itkNotUsedoutput)
protected

MorphologicalWatershedImageFilter2 will produce the entire output.

template<class TInputImage , class TOutputImage >
void itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::GenerateData ( )
protected

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

template<class TInputImage , class TOutputImage >
void itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::GenerateInputRequestedRegion ( )
protected

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

template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkBooleanMacro ( FullyConnected  )
template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkBooleanMacro ( MarkWatershedLine  )
template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkGetConstMacro ( Level  ,
InputImagePixelType   
)
template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkGetConstReferenceMacro ( FullyConnected  ,
bool   
)
template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkGetConstReferenceMacro ( MarkWatershedLine  ,
bool   
)
template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkNewMacro ( Self  )

Standard New method.

template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkSetMacro ( FullyConnected  ,
bool   
)

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 >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkSetMacro ( MarkWatershedLine  ,
bool   
)

Set/Get whether the watershed pixel must be marked or not. Default is true. Set it to false do not only avoid writing watershed pixels, it also decrease algorithm complexity.

template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkSetMacro ( Level  ,
InputImagePixelType   
)
template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkStaticConstMacro ( InputImageDimension  ,
unsigned  int,
TInputImage::ImageDimension   
)

ImageDimension constants

template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkStaticConstMacro ( OutputImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension   
)
template<class TInputImage , class TOutputImage >
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkTypeMacro ( MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >  ,
ImageToImageFilter   
)

Runtime information support.

template<class TInputImage , class TOutputImage >
void itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::operator= ( const Self )
private
template<class TInputImage , class TOutputImage >
void itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TInputImage , class TOutputImage >
void itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::SetForegroundImage ( TOutputImage *  fg)
inline

Set the marker image

Definition at line 140 of file itkMorphologicalWatershedImageFilter2.h.

Member Data Documentation

template<class TInputImage , class TOutputImage >
OutputImagePointer itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::m_ForegroundImg
protected

Definition at line 162 of file itkMorphologicalWatershedImageFilter2.h.

template<class TInputImage , class TOutputImage >
bool itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::m_FullyConnected
private

Definition at line 167 of file itkMorphologicalWatershedImageFilter2.h.

template<class TInputImage , class TOutputImage >
InputImagePixelType itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::m_Level
private

Definition at line 171 of file itkMorphologicalWatershedImageFilter2.h.

template<class TInputImage , class TOutputImage >
bool itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::m_MarkWatershedLine
private

Definition at line 169 of file itkMorphologicalWatershedImageFilter2.h.


The documentation for this class was generated from the following file: