| 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; }
Public Property BackgroundRatio As Double
Get
Set
public:
property double BackgroundRatio {
double get ();
void set (double value);
}
member BackgroundRatio : float with get, set
Property Value
Type:
DoubleSee Also