Click or drag to resize

BackgroundSubtractorMOG2BackgroundRatio Property

Gets or sets the "background ratio" parameter of the algorithm. If a foreground pixel keeps semi-constant value for about backgroundRatio\*history frames, it's considered background and added to the model as a center of a new component. It corresponds to TB parameter in the paper.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public double BackgroundRatio { get; set; }

Property Value

Type: Double
See Also