public class SoRadialGradientCenteredProcessing2d extends SoImageVizEngine
SoRadialGradientCenteredProcessing2d
engine
The SoRadialGradientCenteredProcessing2d
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 SoRadialGradientCenteredProcessing2d
performs a projected gradient computing the directional vector from a single given center. For all pixel in the image,
is the center.
![]() | ![]() |
It is a common way to get the recursive gradient in X and Y directions for input image and
, 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
, SoRadialGradientContourProcessing2d
, SoRadialGradientLabelProcessing2d
.
File format/default:
RadialGradientCenteredProcessing2d {
inGradientXImage | NULL |
inGradientYImage | NULL |
projectionCenter | 0 0 |
projectionMode | GRADIENT_NORMAL |
Library references: pgradient_centered2d
Modifier and Type | Class and Description |
---|---|
static class |
SoRadialGradientCenteredProcessing2d.ProjectionModes |
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.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.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outNormalImage
The output normal gradient image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outTangentImage
The output tangent gradient image.
|
SoSFVec2i32 |
projectionCenter
The center of projection coordinates.
|
SoSFEnum<SoRadialGradientCenteredProcessing2d.ProjectionModes> |
projectionMode
Select the output images mode.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoRadialGradientCenteredProcessing2d()
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 GRADIENT_NORMAL
SoRadialGradientCenteredProcessing2d.ProjectionModes.GRADIENT_NORMAL
instead.@Deprecated public static final int GRADIENT_NORMAL_TANGENTIAL
SoRadialGradientCenteredProcessing2d.ProjectionModes.GRADIENT_NORMAL_TANGENTIAL
instead.public final SoSFImageDataAdapter inGradientXImage
public final SoSFImageDataAdapter inGradientYImage
public final SoSFVec2i32 projectionCenter
SbVec2i32(0,0)
.public final SoSFEnum<SoRadialGradientCenteredProcessing2d.ProjectionModes> projectionMode
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outNormalImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outTangentImage
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com