the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public BackgroundSubtractorMOG( int history, int nmixtures, double backgroundRatio, double noiseSigma = 0 )
Parameters
- history
- Type: SystemInt32
[Missing <param name="history"/> documentation for "M:OpenCvSharp.CPlusPlus.BackgroundSubtractorMOG.#ctor(System.Int32,System.Int32,System.Double,System.Double)"]
- nmixtures
- Type: SystemInt32
[Missing <param name="nmixtures"/> documentation for "M:OpenCvSharp.CPlusPlus.BackgroundSubtractorMOG.#ctor(System.Int32,System.Int32,System.Double,System.Double)"]
- backgroundRatio
- Type: SystemDouble
[Missing <param name="backgroundRatio"/> documentation for "M:OpenCvSharp.CPlusPlus.BackgroundSubtractorMOG.#ctor(System.Int32,System.Int32,System.Double,System.Double)"]
- noiseSigma (Optional)
- Type: SystemDouble
[Missing <param name="noiseSigma"/> documentation for "M:OpenCvSharp.CPlusPlus.BackgroundSubtractorMOG.#ctor(System.Int32,System.Int32,System.Double,System.Double)"]
See Also