Back to Adaptive Vision Studio website

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

CreateUniformHistogram


Creates an uniform histogram of desired parameters with common value of all bins.

Name Type Range Description
inValue Integer Common value for all bins of the constructed histogram
inBinSize Real 0.0 - Length of the domain section represented by each bin
inDomainStart Real First value of the domain represented by the histogram
inDomainLength Real 0.0 - Length of the domain represented by the histogram
outHistogram Histogram The resulting histogram

Description

The operation creates a histogram composed from equally valued bins representing the given domain.

Examples

CreateUniformHistogram run with inValue = 10.

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 Non-positive bin width in CreateUniformHistogram.

Complexity Level

This filter is available on Advanced Complexity Level.

See Also

  • ImageHistogram – Computes the histogram of the image pixel values.
  • MakeHistogram – Creates a histogram assuming given bin values.