public class SoGroupCloseLabelslProcessing2d extends SoImageVizEngine
SoGroupCloseLabelslProcessing2d
engine
The SoGroupCloseLabelslProcessing2d
groups the objects of the input image according to the distance between them. Knowing the grouping distance, objects will be given the same label if they are separated by this distance or less
The figure above shows the results of the
SoLabelingProcessing
and SoGroupCloseLabelslProcessing2d
engines on a binary image. The SoLabelingProcessing
engine gives a label number to each cell. The SoGroupCloseLabelslProcessing2d
will associate the same label number to each cell of a group, a group being defined by the distance between the separated particles. On the example above the chosen distance is 20 pixels, therefore cells separated by 20 pixels or less will be recognised as belonging to the same group.
File format/default:
GroupCloseLabelslProcessing2d {
inObjectImage | NULL |
maxDistance | 3.0f |
Library references: group_label
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFImageDataAdapter |
inObjectImage
The input binary or label image.
|
SoSFFloat |
maxDistance
The maximal distance for grouping objects.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outLabelImage
The output image.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoGroupCloseLabelslProcessing2d()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFImageDataAdapter inObjectImage
public final SoSFFloat maxDistance
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outLabelImage
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com