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.0.1.0 (2.0.1.0)

Syntax

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

Parameters

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

Return Value

Newly added blob

See Also