Table of Contents

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

history int

Length of the history.

nMixtures int

Number of Gaussian mixtures.

backgroundRatio double

Background ratio.

noiseSigma double

Noise strength (standard deviation of the brightness or each color channel). 0 means some automatic value.

Returns

BackgroundSubtractorMOG