Back to Adaptive Vision Library website

You are here: Start » Function Reference » Histogram Features » HistogramAverage

HistogramAverage


Header:AVL.h
Namespace:avl

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

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.