Emgu CV Library Documentation
cvCalcHist Method (image, hist, accumulate, mask)
NamespacesEmgu.CVCvInvokecvCalcHist(array<IntPtr>[]()[], IntPtr, Boolean, IntPtr)

www.emgu.com/wiki
Calculates the histogram of one or more 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.
Declaration Syntax
C#Visual BasicVisual C++
public static void cvCalcHist(
	IntPtr[] image,
	IntPtr hist,
	bool accumulate,
	IntPtr mask
)
Public Shared Sub cvCalcHist ( _
	image As IntPtr(), _
	hist As IntPtr, _
	accumulate As Boolean, _
	mask As IntPtr _
)
public:
static void cvCalcHist(
	array<IntPtr>^ image, 
	IntPtr hist, 
	bool accumulate, 
	IntPtr mask
)
Parameters
image (array< IntPtr >[]()[])
Source images (though, you may pass CvMat** as well), all are of the same size and type
hist (IntPtr)
Pointer to the histogram
accumulate (Boolean)
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 (IntPtr)
The operation mask, determines what pixels of the source images are counted

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)