CvHistogramCalcArr Method (CvArr, Boolean, CvArr) OpenCvSharp Class Library
Calculates the histogram of single-channel images. The elements of a tuple that is used to increment a histogram bin are taken at the same location from the corresponding input images.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void CalcArr(
	CvArr[] arr,
	bool accumulate,
	CvArr mask
)

Parameters

arr
Type: OpenCvSharpCvArr
Source images (though, you may pass CvMat** as well), all are of the same size and type.
accumulate
Type: SystemBoolean
Accumulation flag. If it is set, the histogram is not cleared in the beginning. This feature allows user to compute a single histogram from several images, or to update the histogram online.
mask
Type: OpenCvSharpCvArr
The operation mask, determines what pixels of the source images are counted.
See Also

Reference