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.Neighborhood3dsInventor.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.
|
static int |
EXTERNAL
Deprecated.
|
static int |
FASTER
Deprecated.
|
SoSFEnum<SoMorphologicalGradientProcessing.GradientModes> |
gradientMode
Select the computation mode for morphological gradient.
|
SoSFImageDataAdapter |
inImage
The input image.
|
static int |
INTERNAL
Deprecated.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
The output image.
|
static int |
PRECISE
Deprecated.
|
SoSFEnum<SoMorphologicalGradientProcessing.PrecisionModes> |
precisionMode
Select the precision for computation method.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoMorphologicalGradientProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluatecopy, getByName, getOutput, getOutputNamecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touchgetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public static final int INTERNAL
SoMorphologicalGradientProcessing.GradientModes.INTERNAL instead.@Deprecated public static final int EXTERNAL
SoMorphologicalGradientProcessing.GradientModes.EXTERNAL instead.@Deprecated public static final int FASTER
SoMorphologicalGradientProcessing.PrecisionModes.FASTER instead.@Deprecated public static final int PRECISE
SoMorphologicalGradientProcessing.PrecisionModes.PRECISE instead.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 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com