Back to Aurora Vision Library website

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

SetHistogramBin


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Sets the value of a single histogram bin.

Syntax

C++
C#
 
void avl::SetHistogramBin
(
	avl::Histogram& ioHistogram,
	int inIndex,
	const bool inCyclic,
	const bool inInverse,
	double inNewValue
)

Parameters

Name Type Default Description
Input will be modified ioHistogram Histogram&
Input value inIndex int Input bin index
Input value inCyclic const bool False Whether to wrap the index around or not
Input value inInverse const bool Reversed order of bins
Input value inNewValue double Input new value to be set

Errors

List of possible exceptions:

Error type Description
DomainError Incorrect index on input in SetHistogramBin.