BackgroundSubtractorMOG Constructor |
http://www.emgu.com
Create an "Improved adaptive Gaussian mixture model for background subtraction".
Namespace: Emgu.CV.BgSegmAssembly: Emgu.CV.Contrib (in Emgu.CV.Contrib.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic BackgroundSubtractorMOG(
int history = 200,
int nMixtures = 5,
double backgroundRatio = 0.7,
double noiseSigma = 0
)
Public Sub New (
Optional history As Integer = 200,
Optional nMixtures As Integer = 5,
Optional backgroundRatio As Double = 0.7,
Optional noiseSigma As Double = 0
)
public:
BackgroundSubtractorMOG(
int history = 200,
int nMixtures = 5,
double backgroundRatio = 0.7,
double noiseSigma = 0
)
new :
?history : int *
?nMixtures : int *
?backgroundRatio : float *
?noiseSigma : float
(* Defaults:
let _history = defaultArg history 200
let _nMixtures = defaultArg nMixtures 5
let _backgroundRatio = defaultArg backgroundRatio 0.7
let _noiseSigma = defaultArg noiseSigma 0
*)
-> BackgroundSubtractorMOG
Parameters
- history (Optional)
- Type: SystemInt32
The length of the history. - nMixtures (Optional)
- Type: SystemInt32
The maximum number of gaussian mixtures. - backgroundRatio (Optional)
- Type: SystemDouble
Background ratio - noiseSigma (Optional)
- Type: SystemDouble
Noise strength (standard deviation of the brightness or each color channel). 0 means some automatic value.
See Also