Class SoRegionToObjectProcessing2d
- 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.SoRegionToObjectProcessing2d
-
- All Implemented Interfaces:
SafeDisposable
public class SoRegionToObjectProcessing2d extends SoImageVizEngine
SoRegionToObjectProcessing2d
image filter. TheSoRegionToObjectProcessing2d
engine transforms an object image into a region image.The
SoObjectToRegionProcessing2d
engine scans the image from top to bottom and left to right. The algorithm works in two steps:- The first scan detects the boundaries between regions and creates a real boundary with gray level at 0.
- The second step applies the
SoLabelingProcessing
engine.
BEFORE:
AFTER:
-
-
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 SoSFImageDataAdapter
inRegionImage
The input region label image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outObjectImage
The output object label 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 SoRegionToObjectProcessing2d()
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
-
inRegionImage
public final SoSFImageDataAdapter inRegionImage
The input region label image. Default value is NULL. Supported types include: label color image.
-
outObjectImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outObjectImage
The output object label image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-