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
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of output pixels to be computed. Default value: atl::NIL.
inOperatorAvlNet.GradientMaskOperatorDefines how the gradient is computed.
inEdgeThresholdfloat<0.01f, INF>10.0fMinimum edge magnitude (other pixels will be set to 0). Default value: 10.0f.
inAngleRangeAvlNet.AngleRange_0_360Range of output angles. Default value: _0_360.
outDirectionsImageAvlNet.Image

Function Overrides

See also