public class SoAssignLabelProcessing extends SoImageVizEngine
SoAssignLabelProcessing
engine.
The SoAssignLabelProcessing
engine converts a binary image into a label image changing the values of its pixels/voxels to a specific value.
The SoAssignLabelProcessing
engine is used to assign a new specific label value to a binary image.
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.
File format/default:
AssignLabelProcessing {
computeMode | MODE_AUTO |
inBinaryImage | NULL |
labelValue | 1 |
Library references: addmarker
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFImageDataAdapter |
inBinaryImage
The input binary image.
|
SoSFInt32 |
labelValue
The label value to assign.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outLabelImage
The output label image.
|
onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoAssignLabelProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getNativeResourceHandle
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inBinaryImage
public final SoSFInt32 labelValue
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outLabelImage
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com