Back to Adaptive Vision Library website

You are here: Start » Function Reference » Histogram Data Statistics » HistogramDataAverage

HistogramDataAverage


Computes the average of the histogrammed numeric data.

Syntax

C++
C#
 
void avl::HistogramDataAverage
(
	const avl::Histogram& inHistogram,
	atl::real& outAverage
)

Parameters

Name Type Default Description
inHistogram const Histogram& Input histogram
outAverage real& Average of the histogrammed data

Errors

Error type Description
DomainError The histogrammed data is empty in HistogramDataAverage.