Back to Aurora Vision Library website
You are here: Start » Function Reference » Histogram » Histogram Features » HistogramAverage
HistogramAverage
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
| Module: | FoundationBasic |
Computes the average of histogram bin values.
Syntax
C++
C#
void avl::HistogramAverage ( const avl::Histogram& inHistogram, double& outAverage )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inHistogram | const Histogram& | Input histogram | |
![]() |
outAverage | double& | Output average |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Input histogram is empty in HistogramAverage. |
See Also
- HistogramMinimum – Computes histogram bar values minimum - its location and value.
- HistogramMaximum – Computes histogram bar values maximum - its location and value.


