http://www.emgu.com
Create an "Improved adaptive Gausian mixture model for background subtraction".

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

Syntax

C#
public BackgroundSubstractorMOG(
	int history,
	int nmixtures,
	double backgroundRatio,
	double noiseSigma
)
Visual Basic
Public Sub New ( _
	history As Integer, _
	nmixtures As Integer, _
	backgroundRatio As Double, _
	noiseSigma As Double _
)
Visual C++
public:
BackgroundSubstractorMOG(
	int history, 
	int nmixtures, 
	double backgroundRatio, 
	double noiseSigma
)

Parameters

history
Type: System..::..Int32
The length of the history. Use 0 for default.
nmixtures
Type: System..::..Int32
The maximum number of gaussian mixtures. Use 0 for default.
backgroundRatio
Type: System..::..Double
Use 0 for default.
noiseSigma
Type: System..::..Double
Use 0 for default.

See Also