You are here: Start » AVL.NET » AVL.DifferenceHistogram Method

AVL.DifferenceHistogram Method

Computes histogram representing difference between corresponding bars of given histograms.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void DifferenceHistogram(
	AvlNet.Histogram inHistogram1,
	AvlNet.Histogram inHistogram2,
	out AvlNet.Histogram outHistogram
)

Parameters

Name Type Range Default Description
inHistogram1AvlNet.HistogramInput histogram1.
inHistogram2AvlNet.HistogramInput histogram2.
outHistogramAvlNet.HistogramOutput 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

Error type Description
DomainError Input histograms formats are not the same in DifferenceHistogram.

See also