BackgroundSubtractorApply Method |
http://www.emgu.com
Update the background model
Namespace: Emgu.CV.VideoSurveillanceAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic void Apply(
IInputArray image,
IOutputArray fgMask,
double learningRate = -1
)
Public Sub Apply (
image As IInputArray,
fgMask As IOutputArray,
Optional learningRate As Double = -1
)
public:
void Apply(
IInputArray^ image,
IOutputArray^ fgMask,
double learningRate = -1
)
member Apply :
image : IInputArray *
fgMask : IOutputArray *
?learningRate : float
(* Defaults:
let _learningRate = defaultArg learningRate -1
*)
-> unit
Parameters
- image
- Type: Emgu.CVIInputArray
The image that is used to update the background model - fgMask
- Type: Emgu.CVIOutputArray
The output forground mask - learningRate (Optional)
- Type: SystemDouble
Use -1 for default
See Also