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.Neighborhood3dsInventor.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, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoGroupCloseLabelslProcessing2d()
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, stopInternalThreadspublic final SoSFImageDataAdapter inObjectImage
public final SoSFFloat maxDistance
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outLabelImage
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com