Back to Adaptive Vision Library website
You are here: Start » Function Reference » Histogram Data Statistics » HistogramDataNthValue
HistogramDataNthValue
Computes nth smallest (or largest) value of the histogrammed numeric data.
Syntax
C++
C#
void avl::HistogramDataNthValue ( const avl::Histogram& inHistogram, const int inN, const avl::SortingOrder::Type inSortingOrder, atl::real& outNthValue )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inHistogram | const Histogram& | Input histogram | |
![]() |
inN | const int | ||
![]() |
inSortingOrder | const SortingOrder::Type | ||
![]() |
outNthValue | real& | Nth smallest (or largest) value of the histogrammed data |
Errors
| Error type | Description |
|---|---|
| DomainError | Selected N exceeds index range in HistogramDataNthValue. |
| RuntimeError | Internal error in HistogramDataNthValue. |


