Class SoAutoSegmentation3PhasesProcessing
- 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.labeling.SoAutoSegmentation3PhasesProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoAutoSegmentation3PhasesProcessing extends SoImageVizEngine
SoAutoSegmentation3PhasesProcessing
image filter.SoAutoSegmentation3PhasesProcessing
performs a 2-level segmentation based on a specified algorithm.This engine computes an automatic segmentation on a grayscale image, separating the image in 3 classes of pixels. Three methods of classification are available: Entropy, Factorisation or Moments. The computed thresholds are provided in the
SbAutoSegmentation3PhasesDetail
object. Please refer toSoAutoThresholdingProcessing
description for more information about the classification methods.The output is a label image with 2 non-zero levels.
See also:
SoAdaptiveThresholdingProcessing
.File format/default:
AutoSegmentation3PhasesProcessing {
computeMode MODE_AUTO inGrayImage NULL intensityRangeInput 0 255 thresholdCriterion ENTROPY
Library references: auto_segment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoAutoSegmentation3PhasesProcessing.SbAutoSegmentation3PhasesDetail
Results details of threshold by automatic segmentation.static class
SoAutoSegmentation3PhasesProcessing.ThresholdCriterions
The criterion to detect thresholds on histogram.-
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.SoSFVec2i32
intensityRangeInput
The input intensity range.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outLabelImage
The output image.SoImageVizEngineAnalysisOutput<SoAutoSegmentation3PhasesProcessing.SbAutoSegmentation3PhasesDetail>
outResult
The thresholding results.SoSFEnum<SoAutoSegmentation3PhasesProcessing.ThresholdCriterions>
thresholdCriterion
The criterion to detect thresholds on histogram.-
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 SoAutoSegmentation3PhasesProcessing()
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
-
inGrayImage
public final SoSFImageDataAdapter inGrayImage
The input grayscale image. Default value is NULL. Supported types include: grayscale image.
-
intensityRangeInput
public final SoSFVec2i32 intensityRangeInput
The input intensity range. Default value isSbVec2i32(0,255)
.
-
thresholdCriterion
public final SoSFEnum<SoAutoSegmentation3PhasesProcessing.ThresholdCriterions> thresholdCriterion
The criterion to detect thresholds on histogram. . Default is ENTROPY
-
outLabelImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outLabelImage
The output image. Default value is NULL. Supported types include: label image.
-
outResult
public final SoImageVizEngineAnalysisOutput<SoAutoSegmentation3PhasesProcessing.SbAutoSegmentation3PhasesDetail> outResult
The thresholding results. Default value is NULL.
-
-