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