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.
|
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, 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, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, 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 January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com