http://www.emgu.com
Update the statistic model

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

Syntax

C#
public virtual int Update(
	Image<TColor, byte> image,
	double learningRate
)
Visual Basic
Public Overridable Function Update ( 
	image As Image(Of TColor, Byte),
	learningRate As Double
) As Integer
Visual C++
public:
virtual int Update(
	Image<TColor, unsigned char>^ image, 
	double learningRate
)
F#
abstract Update : 
        image : Image<'TColor, byte> * 
        learningRate : float -> int 
override Update : 
        image : Image<'TColor, byte> * 
        learningRate : float -> int 

Parameters

image
Type: Emgu.CV..::..Image<(Of <(<'TColor, Byte>)>)>
The image that is used to update the background model
learningRate
Type: System..::..Double
Use -1 for default

Return Value

Type: Int32
The number of found foreground regions

See Also