Update the BG code book model

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 void Update(
	Image<TColor, byte> image,
	Rectangle roi,
	Image<Gray, byte> mask
)
Public Sub Update ( _
	image As Image(Of TColor, Byte), _
	roi As Rectangle, _
	mask As Image(Of Gray, Byte) _
)
public:
void Update(
	Image<TColor, unsigned char>^ image, 
	Rectangle roi, 
	Image<Gray, unsigned char>^ mask
)

Parameters

image
Image<(Of <(<'TColor, Byte>)>)>
The image for update
roi
Rectangle
The update roi, use Rectangle.Empty for the whole image
mask
Image<(Of <(<'Gray, Byte>)>)>
Can be null if not needed. The update mask

See Also