Project the matrices to the histogram bins

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

Syntax

C#
public void Calculate<TDepth>(
	Matrix<TDepth>[] matrices,
	bool accumulate,
	Matrix<byte> mask
)
where TDepth : new()
Visual Basic (Declaration)
Public Sub Calculate(Of TDepth As New) ( _
	matrices As Matrix(Of TDepth)(), _
	accumulate As Boolean, _
	mask As Matrix(Of Byte) _
)
Visual C++
public:
generic<typename TDepth>
where TDepth : gcnew()
void Calculate(
	array<Matrix<TDepth>^>^ matrices, 
	bool accumulate, 
	Matrix<unsigned char>^ mask
)

Parameters

matrices
Type: array< Emgu.CV..::.Matrix<(Of <(TDepth>)>) >[]()[]
Matrices to project
accumulate
Type: System..::.Boolean
If it is true, 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: Emgu.CV..::.Matrix<(Of <(Byte>)>)
Can be null if not needed. The operation mask, determines what pixels of the source images are counted

Type Parameters

TDepth
The type of depth of the image

See Also