public class SoMorphologicalGradientProcessing extends SoImageVizEngine
SoMorphologicalGradientProcessing
engine.
The SoMorphologicalGradientProcessing
engine emphasizes the edges of the objects using morphological operations.
For an introduction, see:
This engine emphasizes the edges of the objects using morphological operations. Two modes
allow to enhance edges inside (Internal) or outside (External) of particles.
![]() | ![]() | ![]() |
SoMorphologicalGradientProcessing
engine: (each with label image in overlay):This engine uses SoErosionDiskProcessing2d
or SoDilationDiskProcessing2d
in 2D case and SoErosionBallProcessing3d
or SoDilationBallProcessing3d
in 3D case. Two additional parameters are also provided : Precision
of the computation (Faster or Precise) and half-kernel
size for morphological operation.
See also:
SoGradientOperatorProcessing2d
, SoRadialGradientCenteredProcessing2d
.
File format/default:
MorphologicalGradientProcessing {
computeMode | MODE_AUTO |
inImage | NULL |
gradientMode | INTERNAL |
precisionMode | FASTER |
elementSize | 3 |
Library references: morphogradient
Modifier and Type | Class and Description |
---|---|
static class |
SoMorphologicalGradientProcessing.GradientModes |
static class |
SoMorphologicalGradientProcessing.PrecisionModes |
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFInt32 |
elementSize
The half size of the structuring element.
|
SoSFEnum<SoMorphologicalGradientProcessing.GradientModes> |
gradientMode
Select the computation mode for morphological gradient.
|
SoSFImageDataAdapter |
inImage
The input image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
The output image.
|
SoSFEnum<SoMorphologicalGradientProcessing.PrecisionModes> |
precisionMode
Select the precision for computation method.
|
onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoMorphologicalGradientProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getNativeResourceHandle
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inImage
public final SoSFEnum<SoMorphologicalGradientProcessing.GradientModes> gradientMode
public final SoSFEnum<SoMorphologicalGradientProcessing.PrecisionModes> precisionMode
public final SoSFInt32 elementSize
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com