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: 1.0.0
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

[Missing <param name="images"/> documentation for "M:OpenCvSharp.Cv2.CalcHist(OpenCvSharp.Mat[],System.Int32[],OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,System.Int32[],System.Single[][],System.Boolean,System.Boolean)"]

channels
Type: SystemInt32

[Missing <param name="channels"/> documentation for "M:OpenCvSharp.Cv2.CalcHist(OpenCvSharp.Mat[],System.Int32[],OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,System.Int32[],System.Single[][],System.Boolean,System.Boolean)"]

mask
Type: OpenCvSharpInputArray

[Missing <param name="mask"/> documentation for "M:OpenCvSharp.Cv2.CalcHist(OpenCvSharp.Mat[],System.Int32[],OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,System.Int32[],System.Single[][],System.Boolean,System.Boolean)"]

hist
Type: OpenCvSharpOutputArray

[Missing <param name="hist"/> documentation for "M:OpenCvSharp.Cv2.CalcHist(OpenCvSharp.Mat[],System.Int32[],OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,System.Int32[],System.Single[][],System.Boolean,System.Boolean)"]

dims
Type: SystemInt32

[Missing <param name="dims"/> documentation for "M:OpenCvSharp.Cv2.CalcHist(OpenCvSharp.Mat[],System.Int32[],OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,System.Int32[],System.Single[][],System.Boolean,System.Boolean)"]

histSize
Type: SystemInt32

[Missing <param name="histSize"/> documentation for "M:OpenCvSharp.Cv2.CalcHist(OpenCvSharp.Mat[],System.Int32[],OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,System.Int32[],System.Single[][],System.Boolean,System.Boolean)"]

ranges
Type: SystemSingle

[Missing <param name="ranges"/> documentation for "M:OpenCvSharp.Cv2.CalcHist(OpenCvSharp.Mat[],System.Int32[],OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,System.Int32[],System.Single[][],System.Boolean,System.Boolean)"]

uniform (Optional)
Type: SystemBoolean

[Missing <param name="uniform"/> documentation for "M:OpenCvSharp.Cv2.CalcHist(OpenCvSharp.Mat[],System.Int32[],OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,System.Int32[],System.Single[][],System.Boolean,System.Boolean)"]

accumulate (Optional)
Type: SystemBoolean

[Missing <param name="accumulate"/> documentation for "M:OpenCvSharp.Cv2.CalcHist(OpenCvSharp.Mat[],System.Int32[],OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32,System.Int32[],System.Single[][],System.Boolean,System.Boolean)"]

See Also