public class SoAddObjectToLabelProcessing extends SoImageVizEngine
SoAddObjectToLabelProcessing engine
The SoAddObjectToLabelProcessing engine inserts a marker to a label image.
This engine inserts a marker (described in a binary image) to a label image. The result is a copy of the label image overlapped with the marker. The pixels belonging to the marker are set to the value defined in labelValue field.
A label image may be 16 or 32 bits per pixel. By default it is 2 bytes per pixel, but if the number of labels exceeds 65,535 then the output image is automatically converted to 4 bytes and then can manage more than 2 billion labels.


See also:
SoMarkerBasedWatershedProcessing, SoGrayscaleResconstructionProcessing.
File format/default:
AddObjectToLabelProcessing {
| inBinaryImage | NULL |
| inLabelImage | NULL |
| labelValue | 1 |
Library references: addmarkers
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFImageDataAdapter |
inBinaryImage
The input binary image.
|
SoSFImageDataAdapter |
inLabelImage
The input label image.
|
SoSFInt32 |
labelValue
The label value to assign.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outLabelImage
The output label image.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoAddObjectToLabelProcessing()
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 inBinaryImage
public final SoSFImageDataAdapter inLabelImage
public final SoSFInt32 labelValue
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outLabelImage
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com