Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Histogram » Histogram Basics » SetHistogramCorrespondingBin

SetHistogramCorrespondingBin


Module: FoundationBasic

Selects a bin that the given value in the histogram domain falls into and sets the value of this bin.

Name Type Description
ioHistogram Histogram
inBinSelectionValue Real Input value in the histogram domain that will be used to select the bin
inCyclic Bool Whether to wrap the index around or not
inNewValue Double Input new value to be set

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError inBinSelectionValue exceeds the histogram domain in SetHistogramCorrespondingBin.

Complexity Level

This filter is available on Advanced Complexity Level.