Back to Adaptive Vision Library website

You are here: Start » Function Reference » Histogram Basics » GetHistogramBin

GetHistogramBin


Returns the value of a single histogram bin.

Syntax

C++
C#
 
void avl::GetHistogramBin
(
	const avl::Histogram& inHistogram,
	int inIndex,
	const bool inInverse,
	int& outValue
)

Parameters

Name Type Range Default Description
inHistogram const Histogram& Input histogram
inIndex int 0 - + Input bin index
inInverse const bool Reversed order of bins
outValue int& Output value of the bin

Errors

Error type Description
DomainError Incorrect index on input in GetHistogramBin.