Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Statistics » Median

Median


Computes the median of an array of real numbers. The array must be not empty.

Name Type Description
inValues RealArray
outMedian Real

Hints

  • If the input array is not guaranteed to be non-empty, precede this filter with SkipEmptyArray.

Errors

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

Error type Description
DomainError Empty array on input in Median.

Complexity Level

This filter is available on Basic Complexity Level.