Back to Adaptive Vision Studio website

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


Computes the average direction within the region of interest.

Name Type Description
inDaPImage Image A result of GradientDirAndPresenceImage filter
inRoi Region* Range of pixels to be processed
outMedianAngle Real


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

Read more about pixel formats in Image documentation.


This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

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

Complexity Level

This filter is available on Expert Complexity Level.