public class SoGradientOperatorProcessing2d extends SoImageVizEngine
SoGradientOperatorProcessing2d
engine provides different algorithms to extract the edges of a 2D image.
For an introduction, see:
The SoGradientOperatorProcessing2d
engine provides different algorithms to extract the edges of an image.
Note: You may normalize the filtered image, i.e. divide the output gray levels by the sum of absolute values of the kernel coefficients. If not, be aware that overflow may occur.
The highest is, the more edges we get. For color images it calculates the maximum of intensity or the euclidian mean.
See also:
SoRadialGradientCenteredProcessing2d
, SoMorphologicalGradientProcessing
.
File format/default:
GradientOperatorProcessing2d {
inImage | NULL |
gradientOperator | CANNY_DERICHE |
gradientMode | AMPLITUDE_MAX_OF_MAGS |
standardDeviation | 60.0f |
Library references: gradient
Modifier and Type | Class and Description |
---|---|
static class |
SoGradientOperatorProcessing2d.GradientModes |
static class |
SoGradientOperatorProcessing2d.GradientOperators |
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<SoGradientOperatorProcessing2d.GradientModes> |
gradientMode
Select an output mode.
|
SoSFEnum<SoGradientOperatorProcessing2d.GradientOperators> |
gradientOperator
Select the gradient operator.
|
SoSFImageDataAdapter |
inImage
The input image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outAmplitudeImage
The output gradient amplitude image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outGradientXImage
The output X-gradient image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outGradientYImage
The output Y-gradient image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outOrientationImage
The output gradient orientation image.
|
SoSFFloat |
standardDeviation
The standard deviation.
|
onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoGradientOperatorProcessing2d()
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 SoSFImageDataAdapter inImage
public final SoSFEnum<SoGradientOperatorProcessing2d.GradientOperators> gradientOperator
public final SoSFEnum<SoGradientOperatorProcessing2d.GradientModes> gradientMode
public final SoSFFloat standardDeviation
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outGradientXImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outGradientYImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outAmplitudeImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outOrientationImage
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com