SoExpandLabelsProcessing Class Reference
[Separating And Filling]

ImageViz SoExpandLabelsProcessing engine More...

#include <ImageViz/Engines/ImageSegmentation/SeparatingAndFilling/SoExpandLabelsProcessing.h>

Inheritance diagram for SoExpandLabelsProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  ExpandMode {
  REGIONS = 0,
  OBJECTS = 1
}

Public Member Functions

 SoExpandLabelsProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFEnum neighborhood3d
SoSFEnum expandMode
SoSFImageDataAdapter inLabelImage
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outLabelImage

Detailed Description

ImageViz SoExpandLabelsProcessing engine

The SoExpandLabelsProcessing engine performs an label expansion of an image.

For an introduction, see:

The label expansion cans be performed either with a REGIONS mode or an OBJECTS mode.

REGIONS mode

The engine performs an iterative dilation of a label image. It stops the process when the complete image is covered.

SoExpandLabels_image02.png
SoExpandLabels_image03.png

Figure 1: Example of label expansion with REGIONS mode

OBJECTS mode

The engine performs a constrained dilation of a label image. Its first aim is to expand labels obtained by using an SoMarkerBasedWatershedProcessing engine with CATCHMENT mode, so that all black pixels of the boundaries are filled with the value of the most present label among the height neighbors.

SoExpandLabels_image01.png

Figure 2: Example of label expansion with OBJECTS mode applied to the result of SoMarkerBasedWatershedProcessing engine with CATCHMENT mode

SEE ALSO

SoMarkerBasedWatershedProcessing, SoGrayscaleResconstructionProcessing.

FILE FORMAT/DEFAULT


Library references: dilatebasin dilateextrlab


Member Enumeration Documentation

Enumerator:
REGIONS 

The engine performs label expansion with REGIONS mode.

OBJECTS 

The engine performs label expansion with OBJECTS mode.


Constructor & Destructor Documentation

SoExpandLabelsProcessing::SoExpandLabelsProcessing (  ) 

Constructor.


Member Data Documentation

Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.

Default is MODE_AUTO

Select the type of expansion to perform.

Use enum ExpandMode. Default is OBJECTS

The input label image.

Default value is NULL. Supported types include: label color image.

In 3D configuration (see computeMode), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels.

Use enum Neighborhood3d. Default is CONNECTIVITY_26.

The output label image.

Default value is NULL. Supported types include: label image.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/