GOFIGURE2
0.9.0
|
#include <Code/Filters/itkMorphologicalWatershedImageFilter2.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
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 |
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.
Definition at line 80 of file itkMorphologicalWatershedImageFilter2.h.
typedef SmartPointer< const Self > itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::ConstPointer |
Definition at line 88 of file itkMorphologicalWatershedImageFilter2.h.
typedef InputImageType::ConstPointer itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::InputImageConstPointer |
Definition at line 94 of file itkMorphologicalWatershedImageFilter2.h.
typedef InputImageType::PixelType itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 96 of file itkMorphologicalWatershedImageFilter2.h.
typedef InputImageType::Pointer itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::InputImagePointer |
Definition at line 93 of file itkMorphologicalWatershedImageFilter2.h.
typedef InputImageType::RegionType itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 95 of file itkMorphologicalWatershedImageFilter2.h.
typedef TInputImage itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::InputImageType |
Some convenient typedefs.
Definition at line 91 of file itkMorphologicalWatershedImageFilter2.h.
typedef OutputImageType::ConstPointer itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::OutputImageConstPointer |
Definition at line 98 of file itkMorphologicalWatershedImageFilter2.h.
typedef OutputImageType::PixelType itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::OutputImagePixelType |
Definition at line 100 of file itkMorphologicalWatershedImageFilter2.h.
typedef OutputImageType::Pointer itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 97 of file itkMorphologicalWatershedImageFilter2.h.
typedef OutputImageType::RegionType itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 99 of file itkMorphologicalWatershedImageFilter2.h.
typedef TOutputImage itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::OutputImageType |
Definition at line 92 of file itkMorphologicalWatershedImageFilter2.h.
typedef SmartPointer< Self > itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::Pointer |
Definition at line 87 of file itkMorphologicalWatershedImageFilter2.h.
typedef MorphologicalWatershedImageFilter2 itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 85 of file itkMorphologicalWatershedImageFilter2.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::Superclass |
Definition at line 86 of file itkMorphologicalWatershedImageFilter2.h.
|
protected |
|
inlineprotected |
Definition at line 147 of file itkMorphologicalWatershedImageFilter2.h.
|
private |
|
protected |
MorphologicalWatershedImageFilter2 will produce the entire output.
|
protected |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
|
protected |
MorphologicalWatershedImageFilter2 needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkBooleanMacro | ( | FullyConnected | ) |
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkBooleanMacro | ( | MarkWatershedLine | ) |
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkGetConstMacro | ( | Level | , |
InputImagePixelType | |||
) |
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkGetConstReferenceMacro | ( | FullyConnected | , |
bool | |||
) |
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkGetConstReferenceMacro | ( | MarkWatershedLine | , |
bool | |||
) |
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkNewMacro | ( | Self | ) |
Standard New method.
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.
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.
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkSetMacro | ( | Level | , |
InputImagePixelType | |||
) |
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
ImageDimension constants
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkStaticConstMacro | ( | OutputImageDimension | , |
unsigned | int, | ||
TOutputImage::ImageDimension | |||
) |
itk::MorphologicalWatershedImageFilter2< TInputImage, TOutputImage >::itkTypeMacro | ( | MorphologicalWatershedImageFilter2< TInputImage, TOutputImage > | , |
ImageToImageFilter | |||
) |
Runtime information support.
|
private |
|
protected |
|
inline |
Set the marker image
Definition at line 140 of file itkMorphologicalWatershedImageFilter2.h.
|
protected |
Definition at line 162 of file itkMorphologicalWatershedImageFilter2.h.
|
private |
Definition at line 167 of file itkMorphologicalWatershedImageFilter2.h.
|
private |
Definition at line 171 of file itkMorphologicalWatershedImageFilter2.h.
|
private |
Definition at line 169 of file itkMorphologicalWatershedImageFilter2.h.