Click or drag to resize

BackgroundSubtractorApply Method

the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public virtual void Apply(
	InputArray image,
	OutputArray fgmask,
	double learningRate = -1
)

Parameters

image
Type: OpenCvSharpInputArray

[Missing <param name="image"/> documentation for "M:OpenCvSharp.BackgroundSubtractor.Apply(OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Double)"]

fgmask
Type: OpenCvSharpOutputArray

[Missing <param name="fgmask"/> documentation for "M:OpenCvSharp.BackgroundSubtractor.Apply(OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Double)"]

learningRate (Optional)
Type: SystemDouble

[Missing <param name="learningRate"/> documentation for "M:OpenCvSharp.BackgroundSubtractor.Apply(OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Double)"]

See Also