You are here: Start » AVL.NET » AVS.GradientDirAndPresenceImage Method
AVS.GradientDirAndPresenceImage Method
Computes an image of gradient directions mapped to the range from 1 to 255. Zero means "no edge".
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void GradientDirAndPresenceImage ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, AvlNet.GradientMaskOperator inOperator, float inEdgeThreshold, AvlNet.AngleRange inAngleRange, AvlNet.Image outDirectionsImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of output pixels to be computed. Default value: atl::NIL. | |||
inOperator | AvlNet.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 | AvlNet.AngleRange | _0_360 | Range of output angles. Default value: _0_360. | ||
outDirectionsImage | AvlNet.Image |