Click or drag to resize

Cv2CalcHist Method (Mat, Int32, InputArray, OutputArray, Int32, Int32, Single, Boolean, Boolean)

computes the joint dense histogram for a set of images.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static void CalcHist(
	Mat[] images,
	int[] channels,
	InputArray mask,
	OutputArray hist,
	int dims,
	int[] histSize,
	float[][] ranges,
	bool uniform = true,
	bool accumulate = false
)

Parameters

images
Type: OpenCvSharpMat
channels
Type: SystemInt32
mask
Type: OpenCvSharpInputArray
hist
Type: OpenCvSharpOutputArray
dims
Type: SystemInt32
histSize
Type: SystemInt32
ranges
Type: SystemSingle
uniform (Optional)
Type: SystemBoolean
accumulate (Optional)
Type: SystemBoolean
See Also