Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Pixel Statistics » DaPImageMedian
DaPImageMedian
Computes the average direction within the region of interest.
Header: | AVL.h |
---|
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: 1xuint8.
Read more about pixel formats in Image documentation.