CvCalcHist Method (IplImage, CvHistogram, Boolean) OpenCvSharp Class Library
Calculates the histogram of one single-channel image. 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 static void CalcHist(
	IplImage image,
	CvHistogram hist,
	bool accumulate
)

Parameters

image
Type: OpenCvSharpIplImage
Source image.
hist
Type: OpenCvSharpCvHistogram
Reference to the histogram.
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.
See Also

Reference