CudaBackgroundSubtractorMOGUpdate Method |
http://www.emgu.com
Updates the background model
Namespace: Emgu.CV.CudaAssembly: Emgu.CV.Cuda (in Emgu.CV.Cuda.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic void Update(
IInputArray frame,
IOutputArray foregroundMask,
double learningRate,
Stream stream = null
)
Public Sub Update (
frame As IInputArray,
foregroundMask As IOutputArray,
learningRate As Double,
Optional stream As Stream = Nothing
)
public:
void Update(
IInputArray^ frame,
IOutputArray^ foregroundMask,
double learningRate,
Stream^ stream = nullptr
)
member Update :
frame : IInputArray *
foregroundMask : IOutputArray *
learningRate : float *
?stream : Stream
(* Defaults:
let _stream = defaultArg stream null
*)
-> unit
Parameters
- frame
- Type: Emgu.CVIInputArray
Next video frame. - foregroundMask
- Type: Emgu.CVIOutputArray
The foregroundMask - learningRate
- Type: SystemDouble
The learning rate, use -1.0f for default value. - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
See Also