Back to Adaptive Vision Library website
You are here: Start » Function Reference » Histogram Data Statistics » HistogramDataMedian
HistogramDataMedian
Computes the median of the histogrammed numeric data.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::HistogramDataMedian ( const avl::Histogram& inHistogram, float& outMedian )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inHistogram | const Histogram& | Input histogram | ||
outMedian | float& | Median of the histogrammed data |
Errors
Error type | Description |
---|---|
DomainError | Input histogram contains negative bins in HistogramDataMedian. |
DomainError | The histogrammed data is empty in HistogramDataMedian. |
See Also
- HistogramDataAverage – Computes the average of the histogrammed numeric data.
- HistogramDataQuantile – Computes the specified quantile of the histogrammed numeric data.
- HistogramDataStandardDeviation – Computes the standard deviation of the histogrammed numeric data.
- HistogramDataVariance – Computes the variance of the histogrammed numeric data.