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.

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public static void cvCalcHist(
	IntPtr[] image,
	IntPtr hist,
	bool accumulate,
	IntPtr mask
)
Visual Basic (Declaration)
Public Shared Sub cvCalcHist ( _
	image As IntPtr(), _
	hist As IntPtr, _
	accumulate As Boolean, _
	mask As IntPtr _
)
Visual C++
public:
static void cvCalcHist(
	array<IntPtr>^ image, 
	IntPtr hist, 
	bool accumulate, 
	IntPtr mask
)

Parameters

image
Type: array< System..::.IntPtr >[]()[]
Source images (though, you may pass CvMat** as well), all are of the same size and type
hist
Type: System..::.IntPtr
Pointer to the histogram
accumulate
Type: System..::.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
Type: System..::.IntPtr
The operation mask, determines what pixels of the source images are counted

See Also