Table of Contents

Property VarThresholdGen

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

VarThresholdGen

Gets or sets the variance threshold for the pixel-model match used for new mixture component generation. Threshold for the squared Mahalanobis distance that helps decide when a sample is close to the existing components (corresponds to Tg in the paper). If a pixel is not close to any component, it is considered foreground or added as a new component. 3 sigma => Tg=3*3=9 is default. A smaller Tg value generates more components. A higher Tg value may result in a small number of components but they can grow too large.

public double VarThresholdGen { get; set; }

Property Value

double