Click or drag to resize

CudaBackgroundSubtractorMOG2 Constructor

http://www.emgu.com
Create a Gaussian Mixture-based Background/Foreground Segmentation model

Namespace:  Emgu.CV.Cuda
Assembly:  Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntax
public CudaBackgroundSubtractorMOG2(
	int history = 500,
	double varThreshold = 16,
	bool detectShadows = true
)

Parameters

history (Optional)
Type: SystemInt32
Length of the history.
varThreshold (Optional)
Type: SystemDouble
Threshold on the squared Mahalanobis distance between the pixel and the model to decide whether a pixel is well described by the background model. This parameter does not affect the background update.
detectShadows (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