You are here: Start » AVL.NET » AVL.SubtractHistograms(AvlNet.Histogram, AvlNet.Histogram, AvlNet.Histogram)
AVL.SubtractHistograms(AvlNet.Histogram, AvlNet.Histogram, AvlNet.Histogram)
Subtracts two histograms bar by bar.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void SubtractHistograms( AvlNet.Histogram inHistogram1, AvlNet.Histogram inHistogram2, out AvlNet.Histogram outHistogram )
Parameters
- inHistogram1
- Type: AvlNet.Histogram
Input histogram1 - inHistogram2
- Type: AvlNet.Histogram
Input histogram2 - outHistogram
- Type: 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
| Error type | Description |
|---|---|
| DomainError | Input histograms formats are not the same in SubtractHistograms. |
