Click or drag to resize

Cv2CompareHist Method

compares two histograms stored in dense arrays

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static double CompareHist(
	InputArray h1,
	InputArray h2,
	HistCompMethods method
)

Parameters

h1
Type: OpenCvSharpInputArray
The first compared histogram
h2
Type: OpenCvSharpInputArray
The second compared histogram of the same size as h1
method
Type: OpenCvSharpHistCompMethods
The comparison method

Return Value

Type: Double
See Also