ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkWatershedRelabeler.h>
This filter implements the final step in the watershed segmentation algorithm. It is responsible for relabeling a segmented image according to a specified saliency level (flood level) in a merge tree. (See itk::WatershedImageFilter for information on terminology used in this documentation.)
Definition at line 64 of file itkWatershedRelabeler.h.
Static Public Attributes | |
static const unsigned int | ImageDimension = TImageDimension |
Protected Attributes | |
double | m_FloodLevel |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
typedef Relabeler | Self |
typedef ProcessObject | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
static Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Additional Inherited Members | |
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) |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
typedef SmartPointer< const Self > itk::watershed::Relabeler< TScalarType, TImageDimension >::ConstPointer |
Define smart pointers for this object
Definition at line 72 of file itkWatershedRelabeler.h.
typedef DataObject::Pointer itk::watershed::Relabeler< TScalarType, TImageDimension >::DataObjectPointer |
Definition at line 85 of file itkWatershedRelabeler.h.
typedef ProcessObject::DataObjectPointerArraySizeType itk::watershed::Relabeler< TScalarType, TImageDimension >::DataObjectPointerArraySizeType |
Standard itk::ProcessObject subclass method.
Definition at line 88 of file itkWatershedRelabeler.h.
typedef Image< IdentifierType, TImageDimension > itk::watershed::Relabeler< TScalarType, TImageDimension >::ImageType |
Definition at line 82 of file itkWatershedRelabeler.h.
typedef SmartPointer< Self > itk::watershed::Relabeler< TScalarType, TImageDimension >::Pointer |
Define smart pointers for this object
Definition at line 71 of file itkWatershedRelabeler.h.
typedef TScalarType itk::watershed::Relabeler< TScalarType, TImageDimension >::ScalarType |
Some convenient typedefs
Definition at line 81 of file itkWatershedRelabeler.h.
typedef Segmenter< Image< ScalarType, TImageDimension > > itk::watershed::Relabeler< TScalarType, TImageDimension >::SegmenterType |
Definition at line 84 of file itkWatershedRelabeler.h.
typedef SegmentTree< ScalarType > itk::watershed::Relabeler< TScalarType, TImageDimension >::SegmentTreeType |
Definition at line 83 of file itkWatershedRelabeler.h.
typedef Relabeler itk::watershed::Relabeler< TScalarType, TImageDimension >::Self |
Define smart pointers for this object
Definition at line 69 of file itkWatershedRelabeler.h.
typedef ProcessObject itk::watershed::Relabeler< TScalarType, TImageDimension >::Superclass |
Define smart pointers for this object
Definition at line 70 of file itkWatershedRelabeler.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 144 of file itkWatershedRelabeler.h.
|
inlineprotected |
Definition at line 145 of file itkWatershedRelabeler.h.
|
virtual |
Define smart pointers for this object
Reimplemented from itk::Object.
|
virtual |
Standard non-threaded pipeline method
Reimplemented from itk::ProcessObject.
|
protectedvirtual |
What is the input requested region that is required to produce the output requested region? By default, the largest possible region is always required but this is overridden in many subclasses. For instance, for an image processing filter where an output pixel is a simple function of an input pixel, the input requested region will be set to the output requested region. For an image processing filter where an output pixel is a function of the pixels in a neighborhood of an input pixel, then the input requested region will need to be larger than the output requested region (to avoid introducing artificial boundary conditions). This function should never request an input region that is outside the the input largest possible region (i.e. implementations of this method should crop the input requested region at the boundaries of the input largest possible region).
Reimplemented from itk::ProcessObject.
|
protectedvirtual |
Given one output whose requested region has been set, how should the requested regions for the remaining outputs of the process object be set? By default, all the outputs are set to the same requested region. If a filter needs to produce different requested regions for each output, for instance an image processing filter producing several outputs at different resolutions, then that filter may override this method and set the requested regions appropriatedly.
Note that a filter producing multiple outputs of different types is required to override this method. The default implementation can only correctly handle multiple outputs of the same type.
Reimplemented from itk::ProcessObject.
|
virtual |
Set/Get the percentage of the maximum saliency level to merge to.
|
inline |
Definition at line 98 of file itkWatershedRelabeler.h.
|
inline |
Definition at line 122 of file itkWatershedRelabeler.h.
|
virtual |
Define smart pointers for this object
Reimplemented from itk::ProcessObject.
|
inline |
Definition at line 110 of file itkWatershedRelabeler.h.
void itk::watershed::Relabeler< TScalarType, TImageDimension >::GraftNthOutput | ( | unsigned int | idx, |
ImageType * | graft | ||
) |
void itk::watershed::Relabeler< TScalarType, TImageDimension >::GraftOutput | ( | ImageType * | graft | ) |
Standard ProcessObject method used in implementing mini-pipelines
|
virtual |
Make a DataObject of the correct type to used as the specified output. Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().
Reimplemented from itk::ProcessObject.
|
static |
Define smart pointers for this object
|
inlineprotected |
Definition at line 146 of file itkWatershedRelabeler.h.
|
protectedvirtual |
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::ProcessObject.
|
virtual |
Set/Get the percentage of the maximum saliency level to merge to.
|
inline |
Set/Get the input image
Definition at line 93 of file itkWatershedRelabeler.h.
|
inline |
Set/Get the input tree that defines segment merges
Definition at line 117 of file itkWatershedRelabeler.h.
|
inline |
Set/Get the output image
Definition at line 105 of file itkWatershedRelabeler.h.
|
static |
Expose the ImageDimension template parameter at run time
Definition at line 78 of file itkWatershedRelabeler.h.
|
protected |
Definition at line 149 of file itkWatershedRelabeler.h.