You are here: Start » AVL.NET » Invoke.GradientMagnitudeImage

Invoke.GradientMagnitudeImage

Measures the strength of gradient at each pixel location.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void GradientMagnitudeImage
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Avl.GradientMaskOperator inOperator,
	Avl.MagnitudeMeasure inMeasure,
	int inScale,
	Avl.Image outValueImage
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Range of output pixels to be computed. Default value: atl::NIL.
inOperatorAvl.GradientMaskOperatorDefines how the gradient is computed.
inMeasureAvl.MagnitudeMeasureHypotDefines how the gradient magnitude is computed. Default value: Hypot.
inScaleint<1, 16>1Scales the resulting gradient magnitudes. Default value: 1.
outValueImageAvl.ImageGradient magnitudes of the image.

See also