Project the images to the histogram bins

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

Syntax

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

Parameters

imgs
array<Image<(Of <(<'Gray, TDepth>)>)>>[]()[][]
images to project
accumulate
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
Image<(Of <(<'Gray, 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