Click or drag to resize
CvInvokeCalcHist Method
Calculates a histogram of a set of arrays.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static void CalcHist(
	IInputArrayOfArrays images,
	int[] channels,
	IInputArray mask,
	IOutputArray hist,
	int[] histSize,
	float[] ranges,
	bool accumulate


Type: Emgu.CVIInputArrayOfArrays
Source arrays. They all should have the same depth, CV_8U or CV_32F , and the same size. Each of them can have an arbitrary number of channels.
Type: SystemInt32
List of the channels used to compute the histogram.
Type: Emgu.CVIInputArray
Optional mask. If the matrix is not empty, it must be an 8-bit array of the same size as images[i] . The non-zero mask elements mark the array elements counted in the histogram.
Type: Emgu.CVIOutputArray
Output histogram
Type: SystemInt32
Array of histogram sizes in each dimension.
Type: SystemSingle
Array of the dims arrays of the histogram bin boundaries in each dimension.
Type: SystemBoolean
Accumulation flag. If it is set, the histogram is not cleared in the beginning when it is allocated. This feature enables you to compute a single histogram from several sets of arrays, or to update the histogram in time.
See Also