You are here: Start » AVL.NET » AVS.GradientMagnitudeImage Method

AVS.GradientMagnitudeImage Method

Measures the strength of gradient at each pixel location.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void GradientMagnitudeImage
(
	AvlNet.Image inImage,
	AvlNet.GradientMaskOperator inOperator,
	AvlNet.MagnitudeMeasure inMeasure,
	int inScale,
	AvlNet.Image outValueImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inOperatorAvlNet.GradientMaskOperatorDefines how the gradient is computed.
inMeasureAvlNet.MagnitudeMeasureHypotDefines how the gradient magnitude is computed. Default value: Hypot.
inScaleint<1, 16>1Scales the resulting gradient magnitudes. Default value: 1.
outValueImageAvlNet.ImageGradient magnitudes of the image.

Function Overrides

See also