Back to FabImage Library website

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

SetHistogramBin


Header:FIL.h
Namespace:fil

Sets the value of a single histogram bin.

Syntax

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

Parameters

Name Type Range Default Description
ioHistogram Histogram&
inIndex int 0 - + Input bin index
inInverse const bool Reversed order of bins
inNewValue int Input new value to be set

Errors

List of possible exceptions:

Error type Description
DomainError Incorrect index on input in SetHistogramBin.