Class SoAdaptiveThresholdingProcessing
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.imageviz.engines.SoImageVizEngine
-
- com.openinventor.imageviz.engines.imagesegmentation.binarization.SoAdaptiveThresholdingProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoAdaptiveThresholdingProcessing extends SoImageVizEngine
SoAdaptiveThresholdingProcessing
engine. TheSoAdaptiveThresholdingProcessing
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
onBegin, onEnd, onProgress
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoAdaptiveThresholdingProcessing()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
computeMode
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
Select the compute Mode (2D or 3D or AUTO) . Default is MODE_AUTO
-
inObjectImage
public final SoSFImageDataAdapter inObjectImage
The input label image. Default value is NULL. Supported types include: binary label color image.
-
inGrayImage
public final SoSFImageDataAdapter inGrayImage
The input grayscale image. Default value is NULL. Supported types include: grayscale image.
-
measureLow
public final SoSFDataMeasure measureLow
The measure defining the lower threshold. Default value is NULL.
-
measureAttributes
public final SoSFDataMeasureAttributes measureAttributes
The measure attributes to customize measurement.
-
measureHigh
public final SoSFDataMeasure measureHigh
The measure defining the higher threshold. Default value is NULL.
-
outBinaryImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outBinaryImage
The output binary image. Default value is NULL. Supported types include: binary image.
-
-