Click or drag to resize

BackgroundSubtractorMOG2 Constructor

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

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public BackgroundSubtractorMOG2(
	int history = 500,
	float varThreshold = 16f,
	bool shadowDetection = true
)

Parameters

history (Optional)
Type: SystemInt32
The length of the history.
varThreshold (Optional)
Type: SystemSingle
The maximum allowed number of mixture components. Actual number is determined dynamically per pixel.
shadowDetection (Optional)
Type: SystemBoolean
If true, the algorithm will detect shadows and mark them. It decreases the speed a bit, so if you do not need this feature, set the parameter to false.
See Also