You are here: Start » AVL.NET » Function Reference » Histogram » Histogram Combinators » AVL.SubtractHistograms
Subtracts two histograms bar by bar.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SubtractHistograms ( AvlNet.Histogram inHistogram1, AvlNet.Histogram inHistogram2, AvlNet.Histogram outHistogram )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inHistogram1 | AvlNet.Histogram | Input histogram1. | ||
![]() | inHistogram2 | AvlNet.Histogram | Input histogram2. | ||
![]() | outHistogram | AvlNet.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
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Input histograms formats are not the same in SubtractHistograms. |


