Back to Adaptive Vision Studio website

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

MakeHistogram


Creates a histogram assuming given bin values.

Name Type Range Description
inValues IntegerArray Input array of bin values
inDomainStart Real Input domain begin
inDomainLength Real 0.0 - Input domain length
inBinSize Real 0.0 - Input length of the domain range covered by a single bin
outHistogram Histogram Output histogram

Remarks

The calculated bin count must be equal to element count of the inValues array.

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 Empty inValues array on input in MakeHistogram.
DomainError Non-positive value of inBinSize in MakeHistogram.
DomainError The calculated bin count is greater than input values count in MakeHistogram.
DomainError The calculated bin count is less than input values count in MakeHistogram.

Complexity Level

This filter is available on Advanced Complexity Level.

See Also