You are here: Start » AVL.NET » Invoke.GradientDirAndPresenceImage
Computes an image of gradient directions mapped to the range from 1 to 255. Zero means "no edge".
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void GradientDirAndPresenceImage ( Avl.Image inImage, Optional<Avl.Region> inRoi, Avl.GradientMaskOperator inOperator, float inEdgeThreshold, Avl.AngleRange inAngleRange, Avl.Image outDirectionsImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Range of output pixels to be computed. Default value: atl::NIL. | ||
![]() | inOperator | Avl.GradientMaskOperator | Defines how the gradient is computed. | ||
![]() | inEdgeThreshold | float | <0.01f, INF> | 10.0f | Minimum edge magnitude (other pixels will be set to 0). Default value: 10.0f. |
![]() | inAngleRange | Avl.AngleRange | _0_360 | Range of output angles. Default value: _0_360. | |
![]() | outDirectionsImage | Avl.Image |