Back to FabImage Studio website

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

GetHistogramCorrespondingBin


Module: FoundationBasic

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

Name Type Description
Input value inHistogram Histogram Input histogram
Input value inBinSelectionValue Real Input value in the histogram domain that will be used to select the bin
Input value inCyclic Bool Whether to wrap the index around or not
Output value outValue Double Output value of the bin

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 GetHistogramCorrespondingBin.

Complexity Level

This filter is available on Advanced Complexity Level.