Class SoRemoveSmallSpotsProcessing
- 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.featureselection.SoRemoveSmallSpotsProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoRemoveSmallSpotsProcessing extends SoImageVizEngine
SoRemoveSmallSpotsProcessing
engine. TheSoRemoveSmallSpotsProcessing
engine removes smallest spots in a binary imageThis module allows removing the smallest spots in a binary image. The objectSize parameter indicates the maximum size of the spots to be removed.
In order to remove the spots, this engine filters the image with:
- Area measure for 2D images,
- Volume3d measure for 3D images.
-
-
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
inObjectImage
The input binary or label image.SoSFFloat
objectSize
The maximum size of objects to delete.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outObjectImage
The output binary or 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 SoRemoveSmallSpotsProcessing()
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 binary or label image. Default value is NULL. Supported types include: binary label color image.
-
objectSize
public final SoSFFloat objectSize
The maximum size of objects to delete. Default value is 10.0f.
-
outObjectImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outObjectImage
The output binary or label image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-