Back to Adaptive Vision Studio website

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

DifferenceHistogram


Computes histogram representing difference between corresponding bars of given histograms.

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

Description

The operation computes the absolute difference between histograms. That is, each bin of the resulting histogram equals the absolute value of difference between 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 DifferenceHistogram.

Complexity Level

This filter is available on Basic Complexity Level.