You are here: Start » AVL.NET » Function Reference » Image » Image Pixel Statistics » AVL.DaPImageMedian

AVL.DaPImageMedian

Computes the average direction within the region of interest.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DaPImageMedian
(
	AvlNet.Image inDaPImage,
	AvlNet.AngleRange inAngleRange,
	out float outMedianAngle
)

Parameters

Name Type Range Default Description
inDaPImageAvlNet.ImageA result of GradientDirAndPresenceImage filter.
inAngleRangeAvlNet.AngleRange_0_360Default value: _0_360.
outMedianAnglefloat

Errors

List of possible exceptions:

Error type Description
DomainError Not supported inDaPImage pixel format in DaPImageMedian. Supported formats: 1xUInt8.

Function Overrides

See also