Back to FabImage Library website
You are here: Start » Function Reference » Histogram Data Statistics » HistogramDataQuantile

HistogramDataQuantile
Header: | FIL.h |
---|---|
Namespace: | fil |
Computes the specified quantile of the histogrammed numeric data.
Syntax
C++
C#
void fil::HistogramDataQuantile ( const fil::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
- HistogramDataAverage – Computes the average of the histogrammed numeric data.
- HistogramDataMedian – Computes the median of the histogrammed numeric data.
- HistogramDataStandardDeviation – Computes the standard deviation of the histogrammed numeric data.
- HistogramDataVariance – Computes the variance of the histogrammed numeric data.