Back to Adaptive Vision Library website
You are here: Start » Function Reference » Histogram Basics » SetHistogramBin
SetHistogramBin
Sets the value of a single histogram bin.
Syntax
C++
C#
void avl::SetHistogramBin ( avl::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
| Error type | Description |
|---|---|
| DomainError | Incorrect index on input in SetHistogramBin. |


