Back to Adaptive Vision Library website

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

DaPImageMedian


Header:AVL.h
Namespace:avl

Computes the average direction within the region of interest.

Syntax

C++
C#
 
void avl::DaPImageMedian
(
	const avl::Image& inDaPImage,
	atl::Optional<const avl::Region&> inRoi,
	float& outMedianAngle
)

Parameters

Name Type Default Description
inDaPImage const Image& A result of GradientDirAndPresenceImage filter
inRoi Optional<const Region&> NIL Range of pixels to be processed
outMedianAngle float&

Requirements

For input inDaPImage only pixel formats are supported: 1⨯uint8.

Read more about pixel formats in Image documentation.

Errors

List of possible exceptions:

Error type Description
DomainError Not supported inDaPImage pixel format in DaPImageMedian.