Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Histogram Combinators » DivideHistograms

DivideHistograms


Divides two histograms bar by bar.

Name Type Description
inHistogram1 Histogram Input histogram1
inHistogram2 Histogram Input histogram2
outHistogram Histogram Output histogram

Description

The operation computes the quotient of two histograms. That is, each bin of the resulting histogram equals the quotient of corresponding bins of the input histograms.

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 Input histograms formats are not the same in DivideHistograms.
DomainError One of inHistogram2 bins equals zero in DivideHistograms.

Complexity Level

This filter is available on Basic Complexity Level.