cv.BackgroundSubtractorMOG2/VarThresholdGen - MATLAB File Help
cv.BackgroundSubtractorMOG2/VarThresholdGen

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.

Property Details
Constant false
Dependent true
Sealed false
Transient false
GetAccess public
SetAccess public
GetObservable false
SetObservable false