Core Optical, Inc.
HistogramProcessor GetIntersectionValue Method Industrial Strength, Scientific Grade
Returns the intersection value between the two histograms.

Namespace: PrecisionImage.HistogramProcessing
Assembly: PrecisionImage (in PrecisionImage.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public double GetIntersectionValue(
	Histogram histogram1,
	Histogram histogram2
)

Parameters

histogram1
Type: PrecisionImage.HistogramProcessing Histogram
A Histogram object encapsulating the first histogram in the computation.
histogram2
Type: PrecisionImage.HistogramProcessing Histogram
A Histogram object encapsulating the second histogram in the computation.

Return Value

A OnlineDouble type indicating the intersection value between the two histograms.
Exceptions

Remarks

This method computes the intersection between two histograms and returns the result. The two Histogram arguments must have the same HistogramResolution and HistogramRange otherwise an exception results. The order of histogram1 and histogram2 in the argument list does not matter.

Values close to 1.0 indicate a good match between histograms. Smaller values indicate progressively worse matches.

See Also