ITK
5.2.0
Insight Toolkit
|
#include <itkWatershedSegmentTreeGenerator.h>
This filter is a process object class that implements a step in the N-d watershed segmentation algorithm. It produces an ordered list (SegmentTree) of binary merges between segments at increasing saliency levels. This filter is used in conjunction with WatershedSegmenter and WatershedRelabeler to process an initial segmentation into a final relabeled volume. See itk::WatershedImageFilter for an overview of watershed segmentation.
Definition at line 78 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::ConstPointer = SmartPointer<const Self> |
Definition at line 86 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::DataObjectPointer = DataObject::Pointer |
Convenient type definitions
Definition at line 99 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
Standard itk::ProcessObject subclass method.
Definition at line 200 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::EquivalencyTableType = EquivalencyTable |
Convenient type definitions
Definition at line 97 of file itkWatershedSegmentTreeGenerator.h.
|
private |
Convenient type definitions
Definition at line 238 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::OneWayEquivalencyTableType = OneWayEquivalencyTable |
Convenient type definitions
Definition at line 98 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::OneWayEquivalencyTableTypePointer = typename OneWayEquivalencyTableType::Pointer |
Convenient type definitions
Definition at line 103 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::Pointer = SmartPointer<Self> |
Definition at line 85 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::ScalarType = TScalar |
Convenient type definitions
Definition at line 94 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::SegmentTableType = SegmentTable<ScalarType> |
Convenient type definitions
Definition at line 95 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::SegmentTableTypePointer = typename SegmentTableType::Pointer |
Typedefs to avoid internal compiler error bug on Microsoft VC++
Definition at line 102 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::SegmentTreeType = SegmentTree<ScalarType> |
Convenient type definitions
Definition at line 96 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::SegmentTreeTypePointer = typename SegmentTreeType::Pointer |
Convenient type definitions
Definition at line 104 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::Self = SegmentTreeGenerator |
Standard itk smart pointer declarations
Definition at line 83 of file itkWatershedSegmentTreeGenerator.h.
using itk::watershed::SegmentTreeGenerator< TScalar >::Superclass = ProcessObject |
Definition at line 84 of file itkWatershedSegmentTreeGenerator.h.
|
protected |
Convenient type definitions
|
overrideprotecteddefault |
Convenient type definitions
|
inlineprotected |
Convenient type definitions
Definition at line 208 of file itkWatershedSegmentTreeGenerator.h.
|
protected |
Generates an initial list of all potential merges in the segment table.
|
virtual |
Convenient type definitions
Reimplemented from itk::Object.
|
protected |
Compiles a list of all the actual segment merges up to the specified flood level, recomputing new potential merges as it goes.
|
overridevirtual |
Standard non-threaded itk pipeline method
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
Convenient type definitions
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
Methods required by the itk pipeline
Reimplemented from itk::ProcessObject.
|
virtual |
Convenient type definitions
|
virtual |
Convenient type definitions
|
virtual |
Convenient type definitions
|
inline |
Convenient type definitions
Definition at line 135 of file itkWatershedSegmentTreeGenerator.h.
|
inline |
Get/Set the input table of segments to process
Definition at line 108 of file itkWatershedSegmentTreeGenerator.h.
|
virtual |
Convenient type definitions
|
virtual |
Convenient type definitions
Reimplemented from itk::ProcessObject.
|
inline |
Get/Set the output data
Definition at line 142 of file itkWatershedSegmentTreeGenerator.h.
Referenced by itk::WatershedImageFilter< TInputImage >::GetSegmentTree().
|
overridevirtual |
Convenient type definitions
Reimplemented from itk::ProcessObject.
|
protected |
Convenient type definitions
|
static |
Performs a merge of two segments in a SegmentTable according to criteria specific to this algorithm.
|
static |
Method for creation through the object factory.
|
inlineprotected |
Convenient type definitions
Definition at line 210 of file itkWatershedSegmentTreeGenerator.h.
|
overrideprotectedvirtual |
Convenient type definitions
Reimplemented from itk::ProcessObject.
|
static |
This method should not be used. It will be removed in future versions of this filter.
|
virtual |
Get/Set a flag that prevents the filter from copying its input segment table before executing. This can be enabled to conserve memory, especially in streaming applications where memory is a concern. If enabled, the input to this filter must always be re-executed on updates. Default is false.
void itk::watershed::SegmentTreeGenerator< TScalar >::SetFloodLevel | ( | double | ) |
Get/Set FloodLevel. FloodLevel is specified as a percentage (0.0 - 1.0) of the maximum possible saliency value in the initial image from which the segment table was derived. A value of 0.0 calculates no merges. A value of 1.0 calculates all of the potential merges that can occur as the FloodLevel is increased to the maximum saliency value.
|
virtual |
Get/Set HighestCalculatedFloodLevel. HighestCalculatedFloodLevel keeps track of the highest level this filter has computed. It is used to prevent unnecessary re-execution of the filter.
|
inline |
Get/Set input table of equivalencies to pre-merge before running the tree generator algorithm. Only useful for streaming applications
Definition at line 129 of file itkWatershedSegmentTreeGenerator.h.
|
inline |
Convenient type definitions
Definition at line 114 of file itkWatershedSegmentTreeGenerator.h.
|
virtual |
Get/Set a boolean flag indicating whether or not to pre-merge the segments marked as equivalent in the EquivalencyTable. This is only useful for streaming applications and is turned off by default. (TRUE == merge, FALSE == do not merge).
|
private |
Convenient type definitions
Definition at line 236 of file itkWatershedSegmentTreeGenerator.h.
|
private |
Convenient type definitions
Definition at line 235 of file itkWatershedSegmentTreeGenerator.h.
|
private |
This value keeps track of the highest level this filter has been calculated. m_FloodLevel can be manipulated anywhere below this level without re-executing the filter, preventing unnecessary updates.
Definition at line 246 of file itkWatershedSegmentTreeGenerator.h.
|
private |
Convenient type definitions
Definition at line 234 of file itkWatershedSegmentTreeGenerator.h.
|
private |
Convenient type definitions
Definition at line 240 of file itkWatershedSegmentTreeGenerator.h.