CudaBackgroundSubtractorGMGApply Method |
http://www.emgu.com
Updates the background model
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.3.0.2824 (3.3.0.2824)
Syntaxpublic void Apply(
IInputArray frame,
IOutputArray forgroundMask,
double learningRate = -1,
Stream stream = null
)
Public Sub Apply (
frame As IInputArray,
forgroundMask As IOutputArray,
Optional learningRate As Double = -1,
Optional stream As Stream = Nothing
)
public:
void Apply(
IInputArray^ frame,
IOutputArray^ forgroundMask,
double learningRate = -1,
Stream^ stream = nullptr
)
member Apply :
frame : IInputArray *
forgroundMask : IOutputArray *
?learningRate : float *
?stream : Stream
(* Defaults:
let _learningRate = defaultArg learningRate -1
let _stream = defaultArg stream null
*)
-> unit
Parameters
- frame
- Type: Emgu.CVIInputArray
Next video frame. - forgroundMask
- Type: Emgu.CVIOutputArray
[Missing <param name="forgroundMask"/> documentation for "M:Emgu.CV.Cuda.CudaBackgroundSubtractorGMG.Apply(Emgu.CV.IInputArray,Emgu.CV.IOutputArray,System.Double,Emgu.CV.Cuda.Stream)"]
- learningRate (Optional)
- 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