Back to Adaptive Vision Library website
You are here: Start » Function Reference » Histogram Basics » SetHistogramCorrespondingBin
SetHistogramCorrespondingBin
Selects a bin that the given value in the histogram domain falls into and sets the value of this bin.
Syntax
C++
C#
void avl::SetHistogramCorrespondingBin ( avl::Histogram& ioHistogram, atl::real inBinSelectionValue, int inNewValue )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
| ioHistogram | Histogram& | |||
![]() |
inBinSelectionValue | real | Input value in the histogram domain that will be used to select the bin | |
![]() |
inNewValue | int | Input new value to be set |
Errors
| Error type | Description |
|---|---|
| DomainError | inBinSelectionValue exceeds the histogram domain in SetHistogramCorrespondingBin. |

