Back to FabImage Library website
You are here: Start » Function Reference » Histogram » Histogram Basics » SetHistogramBin

SetHistogramBin
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Sets the value of a single histogram bin.
Syntax
C++
C#
void fil::SetHistogramBin ( fil::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. |