Class SoErosionDiskProcessing3d
- 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.mathematicalmorphology.erosionanddilation.SoErosionDiskProcessing3d
-
- All Implemented Interfaces:
SafeDisposable
public class SoErosionDiskProcessing3d extends SoImageVizEngine
SoErosionDiskProcessing3d
engine. TheSoErosionDiskProcessing3d
engine performs a 3D erosion using a structuring element matching with a discFor an introduction, see:
- section Morphology
- Introduction and definition for erosions
This engine performs a 3D erosion of an image using a structuring element matching with an oriented disc.
Erosion direction is given by ( , ) with the following formula:
This direction can be illustrated on the unit sphere:
-
-
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 SoSFInt32
elementSize
The half size of the structuring element.SoSFImageDataAdapter
inImage
The input grayscale image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
The output image.SoSFFloat
phiAngle
The angle of orientation around projected OY axis in degrees (not radians).SoSFFloat
thetaAngle
The angle of orientation around OZ axis in degrees (not radians).-
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 SoErosionDiskProcessing3d()
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
-
inImage
public final SoSFImageDataAdapter inImage
The input grayscale image. Default value is NULL. Supported types include: grayscale binary label image.
-
thetaAngle
public final SoSFFloat thetaAngle
The angle of orientation around OZ axis in degrees (not radians). Default value is 0.0f.
-
phiAngle
public final SoSFFloat phiAngle
The angle of orientation around projected OY axis in degrees (not radians). Default value is 0.0f.
-
elementSize
public final SoSFInt32 elementSize
The half size of the structuring element. A structuring element always has an odd side length (3x3, 5x5, etc) which is defined by 2 * elementSize + 1. Default value is 3.
-
outImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
The output image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-