http://www.emgu.com
Update the BG code book model

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

Syntax

C#
public static void cvBGCodeBookUpdate(
	ref MCvBGCodeBookModel model,
	IntPtr image,
	Rectangle roi,
	IntPtr mask
)
Visual Basic
Public Shared Sub cvBGCodeBookUpdate ( _
	ByRef model As MCvBGCodeBookModel, _
	image As IntPtr, _
	roi As Rectangle, _
	mask As IntPtr _
)
Visual C++
public:
static void cvBGCodeBookUpdate(
	MCvBGCodeBookModel% model, 
	IntPtr image, 
	Rectangle roi, 
	IntPtr mask
)

Parameters

model
Type: Emgu.CV.Structure..::..MCvBGCodeBookModel%
The BGCodeBookModel
image
Type: System..::..IntPtr
The image for update
roi
Type: System.Drawing..::..Rectangle
The update roi, use Rectangle.Empty for the whole image
mask
Type: System..::..IntPtr
Can be IntPtr.Zero if not needed. The update mask.

See Also