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
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, 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, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int CANNY_DERICHE
SoGradientOperatorProcessing2d.GradientOperators.CANNY_DERICHE
instead.@Deprecated public static final int SHEN_CASTAN
SoGradientOperatorProcessing2d.GradientOperators.SHEN_CASTAN
instead.@Deprecated public static final int KERNEL3X3
SoGradientOperatorProcessing2d.GradientOperators.KERNEL3X3
instead.@Deprecated public static final int CANNY
SoGradientOperatorProcessing2d.GradientOperators.CANNY
instead.@Deprecated public static final int GAUSSIAN
SoGradientOperatorProcessing2d.GradientOperators.GAUSSIAN
instead.@Deprecated public static final int SOBEL
SoGradientOperatorProcessing2d.GradientOperators.SOBEL
instead.@Deprecated public static final int PREWITT
SoGradientOperatorProcessing2d.GradientOperators.PREWITT
instead.@Deprecated public static final int AMPLITUDE_MAX_OF_MAGS
SoGradientOperatorProcessing2d.GradientModes.AMPLITUDE_MAX_OF_MAGS
instead.@Deprecated public static final int AMPLITUDE_EUCLIDEAN
SoGradientOperatorProcessing2d.GradientModes.AMPLITUDE_EUCLIDEAN
instead.@Deprecated public static final int AMPLITUDE_AND_ORIENTATION
SoGradientOperatorProcessing2d.GradientModes.AMPLITUDE_AND_ORIENTATION
instead.@Deprecated public static final int X_AND_Y_GRADIENTS
SoGradientOperatorProcessing2d.GradientModes.X_AND_Y_GRADIENTS
instead.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 January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com