public class SoRadialGradientContourProcessing2d extends SoImageVizEngine
SoRadialGradientContourProcessing2d engine
The SoRadialGradientContourProcessing2d engine performs a projected gradient computing the directional vector.
For an introduction, see:
In the continuous 2-D case, for a given pixel
and knowing the gradient
and
, the projected gradient of an image
is defined along the unitary vector
, as :
The SoRadialGradientContourProcessing2d engine performs a projected gradient computing the directional vector from the contour of objects. For a pixel
in the image, the center
taken into account is the closest pixel contour of the closest object.
![]() | ![]() |
It is a common way to get the recursive gradient in X and Y directions for input image Gx and Gy, using a spread of 60.
The projected resulting gradient image is the Normal Gradient. Simultaneously, the tangential gradient could be computed with the option GRADIENT_NORMAL_TANGENTIAL of ProjectionMode
See also:
SoGradientOperatorProcessing2d, SoRadialGradientCenteredProcessing2d, SoRadialGradientLabelProcessing2d.
File format/default:
RadialGradientContourProcessing2d {
| inGradientXImage | NULL |
| inGradientYImage | NULL |
| inMarkerImage | NULL |
| projectionMode | GRADIENT_NORMAL |
Library references: pgradient_contour2d
| Modifier and Type | Class and Description |
|---|---|
static class |
SoRadialGradientContourProcessing2d.ProjectionModes |
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
static int |
GRADIENT_NORMAL
Deprecated.
|
static int |
GRADIENT_NORMAL_TANGENTIAL
Deprecated.
|
SoSFImageDataAdapter |
inGradientXImage
The input X-gradient image.
|
SoSFImageDataAdapter |
inGradientYImage
The input Y-gradient image.
|
SoSFImageDataAdapter |
inMarkerImage
The input marker image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outNormalImage
The output normal gradient image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outTangentImage
The output tangent gradient image.
|
SoSFEnum<SoRadialGradientContourProcessing2d.ProjectionModes> |
projectionMode
Select the output images mode.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoRadialGradientContourProcessing2d()
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 GRADIENT_NORMAL
SoRadialGradientContourProcessing2d.ProjectionModes.GRADIENT_NORMAL instead.@Deprecated public static final int GRADIENT_NORMAL_TANGENTIAL
SoRadialGradientContourProcessing2d.ProjectionModes.GRADIENT_NORMAL_TANGENTIAL instead.public final SoSFImageDataAdapter inGradientXImage
public final SoSFImageDataAdapter inGradientYImage
public final SoSFImageDataAdapter inMarkerImage
public final SoSFEnum<SoRadialGradientContourProcessing2d.ProjectionModes> projectionMode
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outNormalImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outTangentImage
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com