Start » Filter Reference » Histogram » Histogram Combinators » SubtractHistograms

SubtractHistograms


Module: FoundationBasic

Subtracts two histograms bar by bar.

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

Description

The operation subtracts two histograms. That is, each bin of the resulting histogram equals the difference 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 SubtractHistograms.

Complexity Level

This filter is available on Basic Complexity Level.