public class SoExpandLabelsProcessing extends SoImageVizEngine
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.
![]() | ![]() |
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.
See also:
SoMarkerBasedWatershedProcessing, SoGrayscaleResconstructionProcessing.
File format/default:
ExpandLabelsProcessing {
| computeMode | MODE_AUTO |
| neighborhood3d | CONNECTIVITY_26 |
| expandMode | OBJECTS |
| inLabelImage | NULL |
Library references: dilatebasin dilateextrlab
| Modifier and Type | Class and Description |
|---|---|
static class |
SoExpandLabelsProcessing.ExpandModes |
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFEnum<SoExpandLabelsProcessing.ExpandModes> |
expandMode
Select the type of expansion to perform.
|
SoSFImageDataAdapter |
inLabelImage
The input label image.
|
SoSFEnum<SoImageVizEngine.Neighborhood3ds> |
neighborhood3d
In 3D configuration (see
computeMode), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels. |
static int |
OBJECTS
Deprecated.
Use
SoExpandLabelsProcessing.ExpandModes.OBJECTS instead. |
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outLabelImage
The output label image.
|
static int |
REGIONS
Deprecated.
Use
SoExpandLabelsProcessing.ExpandModes.REGIONS instead. |
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoExpandLabelsProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluatecopy, getByName, getOutput, getOutputNamecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touchgetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public static final int REGIONS
SoExpandLabelsProcessing.ExpandModes.REGIONS instead.@Deprecated public static final int OBJECTS
SoExpandLabelsProcessing.ExpandModes.OBJECTS instead.public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFEnum<SoImageVizEngine.Neighborhood3ds> neighborhood3d
computeMode), the neighborhood connectivity defines the connectivity considered for processing adjacent voxels.
. Default is CONNECTIVITY_26.public final SoSFEnum<SoExpandLabelsProcessing.ExpandModes> expandMode
public final SoSFImageDataAdapter inLabelImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outLabelImage
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com