Back to Adaptive Vision Library website
You are here: Start » Function Reference » Histogram Features » HistogramAverage
HistogramAverage
Computes the average of histogram bin values.
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. |