Back to Adaptive Vision Library website

You are here: Start » Function Reference » Histogram Data Statistics » HistogramDataQuantile

HistogramDataQuantile


Header:AVL.h
Namespace:avl

Computes the specified quantile of the histogrammed numeric data.

Syntax

C++
C#
 
void avl::HistogramDataQuantile
(
	const avl::Histogram& inHistogram,
	const float inQuantilePoint,
	float& outQuantileValue
)

Parameters

Name Type Range Default Description
inHistogram const Histogram& Input histogram
inQuantilePoint const float 0.0 - 1.0 0.5f
outQuantileValue float&

Errors

List of possible exceptions:

Error type Description
DomainError Empty histogram on input in HistogramDataQuantile.
DomainError Input histogram contains negative bins in HistogramDataQuantile.
DomainError The histogrammed data is empty in HistogramDataQuantile.

See Also