BackgroundSubtractorMOGCreate Method
|
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic 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
OpenCvSharp.BackgroundSubtractorMOG.Create = function(history, nMixtures, backgroundRatio, noiseSigma);
Parameters
- history (Optional)
- Type: SystemInt32
- nMixtures (Optional)
- Type: SystemInt32
- backgroundRatio (Optional)
- Type: SystemDouble
- noiseSigma (Optional)
- Type: SystemDouble
Return Value
Type:
BackgroundSubtractorMOG
See Also