| BackgroundSubtractorMOGCreate Method |
Creates mixture-of-gaussian background subtractor
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static BackgroundSubtractorMOG Create(
int history = 200,
int nMixtures = 5,
double backgroundRatio = 0.7,
double noiseSigma = 0
)
Public Shared Function Create (
Optional history As Integer = 200,
Optional nMixtures As Integer = 5,
Optional backgroundRatio As Double = 0.7,
Optional noiseSigma As Double = 0
) As BackgroundSubtractorMOG
public:
static BackgroundSubtractorMOG^ Create(
int history = 200,
int nMixtures = 5,
double backgroundRatio = 0.7,
double noiseSigma = 0
)
static member Create :
?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
Length of the history. - nMixtures (Optional)
- Type: SystemInt32
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.
Return Value
Type:
BackgroundSubtractorMOG[Missing <returns> documentation for "M:OpenCvSharp.BackgroundSubtractorMOG.Create(System.Int32,System.Int32,System.Double,System.Double)"]
See Also