Back to FabImage Library website
You are here: Start » Function Reference » Histogram » Histogram Features » HistogramAverage

HistogramAverage
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Computes the average of histogram bin values.
Syntax
C++
C#
void fil::HistogramAverage ( const fil::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.