Method Create
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Create(int, int, double, double)
Creates mixture-of-gaussian background subtractor
public static BackgroundSubtractorMOG Create(int history = 200, int nMixtures = 5, double backgroundRatio = 0.7, double noiseSigma = 0)
Parameters
historyintLength of the history.
nMixturesintNumber of Gaussian mixtures.
backgroundRatiodoubleBackground ratio.
noiseSigmadoubleNoise strength (standard deviation of the brightness or each color channel). 0 means some automatic value.