Click or drag to resize

Cv2.CalcHist Method (Mat[],Int32[], InputArray, OutputArray, Int32,Int32[],Rangef[], 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,
	Rangef[] ranges,
	bool uniform = true,
	bool accumulate = false
)

Parameters

images
Type:OpenCvSharp.Mat[]
channels
Type:System.Int32[]
mask
Type: OpenCvSharp.InputArray
hist
Type: OpenCvSharp.OutputArray
dims
Type: System.Int32
histSize
Type:System.Int32[]
ranges
Type:OpenCvSharp.Rangef[]
uniform (Optional)
Type: System.Boolean
accumulate (Optional)
Type: System.Boolean
See Also