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

Invoke.GradientImage_Mask

Computes a gradient image with a Sobel or Prewitt operator.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void GradientImage_Mask
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Avl.GradientMaskOperator inOperator,
	int inScale,
	Avl.Image outGradientImage,
	Diagnostic<Avl.Image> diagGradientDirections
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Region>Range of outGradientImage pixels to be computed. Default value: atl::NIL.
inOperatorAvl.GradientMaskOperatorDefines how the gradient is computed.
inScaleint<1, 16>1Scales the resulting gradients. Default value: 1.
outGradientImageAvl.ImageGradients of the image.
diagGradientDirectionsAvl.Diagnostic<Avl.Image>Gradient directions presented in a human readable format.

See also