You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Range of outGradientImage pixels to be computed. Default value: atl::NIL. | ||
![]() | inOperator | Avl.GradientMaskOperator | Defines how the gradient is computed. | ||
![]() | inScale | int | <1, 16> | 1 | Scales the resulting gradients. Default value: 1. |
![]() | outGradientImage | Avl.Image | Gradients of the image. | ||
![]() | diagGradientDirections | Avl.Diagnostic<Avl.Image> | Gradient directions presented in a human readable format. |