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.1.0.649 (2.1.0.649)

Syntax

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

Parameters

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

Return Value

Newly added blob

See Also