public class SoAdaptiveThresholdingProcessing extends SoImageVizEngine
SoAdaptiveThresholdingProcessing
engine
The SoAdaptiveThresholdingProcessing
engine computes a threshold depending on measure.
This module computes the threshold of a grayscale image, given a label image corresponding to the pre-segmentation of the original image. Instead of giving two fixed values for the thresholding, the user chooses two representative measures (e.g. the 10th and the 90th percentile of the histogram, predefined measures
HISTOGRAM_QUANTILE10 and HISTOGRAM_QUANTILE90). The min and max threshold values are dynamically computed for each label and gives an individual thresholding on them.
See also:
File format/default:
AdaptiveThresholdingProcessing {
computeMode | MODE_AUTO |
inObjectImage | NULL |
inGrayImage | NULL |
measureLow | NULL |
measureHigh | NULL |
Library references: adaptive_threshold
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 |
inGrayImage
The input grayscale image.
|
SoSFImageDataAdapter |
inObjectImage
The input label image.
|
SoSFDataMeasureAttributes |
measureAttributes
The measure attributes to customize measurement.
|
SoSFDataMeasure |
measureHigh
The measure defining the higher threshold.
|
SoSFDataMeasure |
measureLow
The measure defining the lower threshold.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outBinaryImage
The output binary image.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoAdaptiveThresholdingProcessing()
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 SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inObjectImage
public final SoSFImageDataAdapter inGrayImage
public final SoSFDataMeasure measureLow
public final SoSFDataMeasureAttributes measureAttributes
public final SoSFDataMeasure measureHigh
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com