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 | |
|---|---|---|---|---|
![]() |
ioHistogram | Histogram& | ||
![]() |
inIndex | int | Input bin index | |
![]() |
inCyclic | const bool | False | Whether to wrap the index around or not |
![]() |
inInverse | const bool | Reversed order of bins | |
![]() |
inNewValue | double | Input new value to be set |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Incorrect index on input in SetHistogramBin. |


