Modeling Guide

Mixture of Gaussians 2

Mixture of Gaussians 2 background subtractor.

Configuration Parameters

Parameter

Type

Description

history

int

The number of last frames that affect the background model.
varThreshold

float

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.

Input

Input

Type

Description

imageIn

message.python.image

Input image

Output

Output

Type

Description

imageOut

message.python.image

Output image