public class SoColorThresholdingProcessing extends SoImageVizEngine
SoColorThresholdingProcessing engine
The SoColorThresholdingProcessing engine transforms a color image into a binary image.
For an introduction, see section Binarization.
The SoColorThresholdingProcessing engine thresholds a color image. The thresholds parameter allows you to select the range for the RGB or HSL levels, depending on the type of image.
See also:
File format/default:
ColorThresholdingProcessing {
| computeMode | MODE_AUTO |
| inColorImage | NULL |
| thresholdLevelRed | 128.0f 255.0f |
| thresholdLevelGreen | 128.0f 255.0f |
| thresholdLevelBlue | 128.0f 255.0f |
Library references: color_threshold
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) .
|
SoSFImageDataAdapter |
inColorImage
The input color image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outBinaryImage
The output binary image.
|
SoSFVec2f |
thresholdLevelBlue
The low and high blue threshold.
|
SoSFVec2f |
thresholdLevelGreen
low and high green threshold.
|
SoSFVec2f |
thresholdLevelRed
The Low and high red threshold.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoColorThresholdingProcessing()
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 SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inColorImage
public final SoSFVec2f thresholdLevelRed
SbVec2f(128.0f,255.0f).public final SoSFVec2f thresholdLevelGreen
SbVec2f(128.0f,255.0f).public final SoSFVec2f thresholdLevelBlue
SbVec2f(128.0f,255.0f).public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com