ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkWatershedImageFilter.h>
A low-level image analysis algorithm that automatically produces a hierarchy of segmented, labeled images from a scalar-valued image input.
flood level'' is referred to in this documentation as a
merge tree''. Metaphorically, the flood level is a value that reflects the amount of precipitation that is rained into the catchment basins. As the flood level rises, boundaries between adjacent segments erode and those segments merge. The minimum value of the flood level is zero and the maximum value is the difference between the highest and lowest values in the input image.Definition at line 150 of file itkWatershedImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, Image< IdentifierType, TInputImage::ImageDimension > > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< Image< IdentifierType, TInputImage::ImageDimension > > | |
static const unsigned int | OutputImageDimension |
Private Member Functions | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
WatershedImageFilter (const Self &) ITK_DELETE_FUNCTION | |
Private Attributes | |
TimeStamp | m_GenerateDataMTime |
bool | m_InputChanged |
double | m_Level |
bool | m_LevelChanged |
unsigned long | m_ObserverTag |
watershed::Relabeler < ScalarType, itkGetStaticConstMacro(ImageDimension) > ::Pointer | m_Relabeler |
watershed::Segmenter < InputImageType >::Pointer | m_Segmenter |
double | m_Threshold |
bool | m_ThresholdChanged |
watershed::SegmentTreeGenerator < ScalarType >::Pointer | m_TreeGenerator |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, Image< IdentifierType, TInputImage::ImageDimension > > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< Image< IdentifierType, TInputImage::ImageDimension > > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef InputImageType::IndexType itk::WatershedImageFilter< TInputImage >::IndexType |
Definition at line 171 of file itkWatershedImageFilter.h.
typedef TInputImage itk::WatershedImageFilter< TInputImage >::InputImageType |
The type of input image.
Definition at line 159 of file itkWatershedImageFilter.h.
typedef Image< IdentifierType, itkGetStaticConstMacro(ImageDimension) > itk::WatershedImageFilter< TInputImage >::OutputImageType |
The type of output image.
Definition at line 166 of file itkWatershedImageFilter.h.
typedef SmartPointer< Self > itk::WatershedImageFilter< TInputImage >::Pointer |
Smart pointer typedef support
Definition at line 180 of file itkWatershedImageFilter.h.
typedef InputImageType::RegionType itk::WatershedImageFilter< TInputImage >::RegionType |
Other convenient typedefs
Definition at line 169 of file itkWatershedImageFilter.h.
typedef InputImageType::PixelType itk::WatershedImageFilter< TInputImage >::ScalarType |
Typedef support for the input image scalar value type.
Definition at line 177 of file itkWatershedImageFilter.h.
typedef WatershedImageFilter itk::WatershedImageFilter< TInputImage >::Self |
Standard "Self" typedef.
Definition at line 156 of file itkWatershedImageFilter.h.
typedef InputImageType::SizeType itk::WatershedImageFilter< TInputImage >::SizeType |
Definition at line 170 of file itkWatershedImageFilter.h.
typedef ImageToImageFilter< InputImageType, OutputImageType > itk::WatershedImageFilter< TInputImage >::Superclass |
Standard super class typedef support.
Definition at line 174 of file itkWatershedImageFilter.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 263 of file itkWatershedImageFilter.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overridevirtual |
Give the process object a chance to indictate that it will produce more output than it was requested to produce. For example, many imaging filters must compute the entire output at once or can only produce output in complete slices. Such filters cannot handle smaller requested regions. These filters must provide an implementation of this method, setting the output requested region to the size they will produce. By default, a process object does not modify the size of the output requested region.
Reimplemented from itk::ProcessObject.
|
overridevirtual |
Standard process object method. This filter is not multithreaded.
Reimplemented from itk::ImageSource< Image< IdentifierType, TInputImage::ImageDimension > >.
|
inline |
Get the basic segmentation from the Segmenter member filter.
Definition at line 231 of file itkWatershedImageFilter.h.
References itk::watershed::Segmenter< TInputImage >::GetOutputImage(), itk::WatershedImageFilter< TInputImage >::m_Segmenter, and itk::ProcessObject::Update().
|
virtual |
Set/Get the input thresholding parameter. Units are a percentage of the maximum depth in the image.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType, TInputImage::ImageDimension > >.
|
inline |
Get the segmentation tree from from the TreeGenerator member filter.
Definition at line 240 of file itkWatershedImageFilter.h.
References itk::watershed::SegmentTreeGenerator< TScalar >::GetOutputSegmentTree(), and itk::WatershedImageFilter< TInputImage >::m_TreeGenerator.
|
virtual |
Set/Get the input thresholding parameter. Units are a percentage of the maximum depth in the image.
|
static |
Method for creation through the object factory.
|
private |
|
overrideprotectedvirtual |
An opportunity to Allocate/Deallocate bulk data.
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
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, Image< IdentifierType, TInputImage::ImageDimension > >.
|
inlineoverridevirtual |
Set/Get the input thresholding parameter. Units are a percentage of the maximum depth in the image.
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType, TInputImage::ImageDimension > >.
Definition at line 194 of file itkWatershedImageFilter.h.
References itk::ImageToImageFilter< TInputImage, Image< IdentifierType, TInputImage::ImageDimension > >::GetInput(), itk::WatershedImageFilter< TInputImage >::m_InputChanged, itk::WatershedImageFilter< TInputImage >::m_Segmenter, itk::watershed::Segmenter< TInputImage >::SetInputImage(), and itk::ProcessObject::SetNthInput().
Referenced by itk::WatershedImageFilter< TInputImage >::SetInput().
|
inlineoverridevirtual |
Set/Get the input thresholding parameter. Units are a percentage of the maximum depth in the image.
Reimplemented from itk::ImageToImageFilter< TInputImage, Image< IdentifierType, TInputImage::ImageDimension > >.
Definition at line 209 of file itkWatershedImageFilter.h.
References itk::WatershedImageFilter< TInputImage >::SetInput().
void itk::WatershedImageFilter< TInputImage >::SetLevel | ( | double | ) |
Set/Get the flood level for generating the merge tree from the initial segmentation
void itk::WatershedImageFilter< TInputImage >::SetThreshold | ( | double | ) |
Set/Get the input thresholding parameter. Units are a percentage of the maximum depth in the image.
itk::WatershedImageFilter< TInputImage >::typedef | ( | Concept::EqualityComparable< ScalarType > | ) |
This class requires InputEqualityComparableCheck in the form of ( Concept::EqualityComparable< ScalarType > )
itk::WatershedImageFilter< TInputImage >::typedef | ( | Concept::AdditiveOperators< ScalarType > | ) |
This class requires InputAdditiveOperatorsCheck in the form of ( Concept::AdditiveOperators< ScalarType > )
itk::WatershedImageFilter< TInputImage >::typedef | ( | Concept::MultiplyOperator< double, ScalarType, ScalarType > | ) |
This class requires DoubleInputMultiplyOperatorCheck in the form of ( Concept::MultiplyOperator< double, ScalarType, ScalarType > )
itk::WatershedImageFilter< TInputImage >::typedef | ( | Concept::LessThanComparable< ScalarType > | ) |
This class requires InputLessThanComparableCheck in the form of ( Concept::LessThanComparable< ScalarType > )
|
static |
Dimension of the input and output images.
Definition at line 163 of file itkWatershedImageFilter.h.
|
private |
Definition at line 301 of file itkWatershedImageFilter.h.
|
private |
Definition at line 299 of file itkWatershedImageFilter.h.
Referenced by itk::WatershedImageFilter< TInputImage >::SetInput().
|
private |
The percentage of the maximum saliency value among adjacencies in the segments of the initial segmentation to which ``flooding'' of the image should occur. A tree of segment merges is calculated up to this level.
Definition at line 283 of file itkWatershedImageFilter.h.
|
private |
Definition at line 297 of file itkWatershedImageFilter.h.
|
private |
Definition at line 295 of file itkWatershedImageFilter.h.
|
private |
Definition at line 293 of file itkWatershedImageFilter.h.
|
private |
The component parts of the segmentation algorithm. These objects must save state between calls to GenerateData() so that the computationally expensive execution of segment tree generation is not unnecessarily repeated.
Definition at line 289 of file itkWatershedImageFilter.h.
Referenced by itk::WatershedImageFilter< TInputImage >::GetBasicSegmentation(), and itk::WatershedImageFilter< TInputImage >::SetInput().
|
private |
A Percentage of the maximum depth (max - min pixel value) in the input image. This percentage will be used to threshold the minimum values in the image.
Definition at line 277 of file itkWatershedImageFilter.h.
|
private |
Definition at line 298 of file itkWatershedImageFilter.h.
|
private |
Definition at line 291 of file itkWatershedImageFilter.h.
Referenced by itk::WatershedImageFilter< TInputImage >::GetSegmentTree().