Class SoMorphologicalLaplacianProcessing
- 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.edgedetection.laplacian.SoMorphologicalLaplacianProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoMorphologicalLaplacianProcessing extends SoImageVizEngine
SoMorphologicalLaplacianProcessing
engine. TheSoMorphologicalLaplacianProcessing
engine computes laplacian of an image using morphological operations.For an introduction, see:
- section Morphology
- section Edge Detection
- Introduction to Laplacian
This engine is a simple way to compute laplacian of an image using morphological operations.
The SoMorphologicalLaplacianProcessing
engine:
1: gray input image, 2: morphological laplacian result.This engine uses
SoErosionDiskProcessing2d
orSoDilationDiskProcessing2d
in 2D case andSoErosionBallProcessing3d
orSoDilationBallProcessing3d
in 3D case. Two additional parameters are also provided :Precision
of the computation (Faster or Precise) andhalf-kernel
size for morphological operation.SoRecursiveLaplacianProcessing2d.
File format/default:MorphologicalLaplacianProcessing {
computeMode MODE_AUTO inImage NULL precisionMode FASTER elementSize 3
Library references: morpholaplacian
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoMorphologicalLaplacianProcessing.PrecisionModes
-
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) .SoSFInt32
elementSize
The half size of the structuring element.SoSFImageDataAdapter
inImage
The input image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
The output image.SoSFEnum<SoMorphologicalLaplacianProcessing.PrecisionModes>
precisionMode
Select the precision for computation method.-
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 SoMorphologicalLaplacianProcessing()
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
-
inImage
public final SoSFImageDataAdapter inImage
The input image. Default value is NULL. Supported types include: grayscale binary label color image.
-
precisionMode
public final SoSFEnum<SoMorphologicalLaplacianProcessing.PrecisionModes> precisionMode
Select the precision for computation method. . Default is FASTER
-
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.
-
-