Add new blob to track it and assign to this blob personal ID

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public MCvBlob Add(
	MCvBlob blob,
	IImage currentImage,
	Image<Gray, byte> currentForegroundMask
)
Public Function Add ( _
	blob As MCvBlob, _
	currentImage As IImage, _
	currentForegroundMask As Image(Of Gray, Byte) _
) As MCvBlob
public:
MCvBlob Add(
	MCvBlob blob, 
	IImage^ currentImage, 
	Image<Gray, unsigned char>^ currentForegroundMask
)

Parameters

blob
MCvBlob
Structure with blob parameters (ID is ignored)
currentImage
IImage
current image
currentForegroundMask
Image<(Of <(<'Gray, Byte>)>)>
Current foreground mask

Return Value

Newly added blob

See Also