SwisTrack/Components/AdaptiveBackgroundSubtractionColor

From Wikibooks, open books for an open world
< SwisTrack‎ | Components
Jump to: navigation, search

Description[edit]

This component subtract the background image from the input image. If the camera is fixed, only the objects added to the scene remain after this subtraction. However, lighting condition variations or the camera noise can also produce a difference between the two images. Subtracting average intensity of the two images makes the system less sensible to lighting conditions.

Method doesn't need a background image as it approximate the background from the prior frames. However the moving objects tend to let a trail behind them.

Most of the time, a threshold is applied after this method, to separate the background from the tracked objects.

Input[edit]

SwisTrack ColorImage.jpg

A color image.

Output[edit]

Swistrack AdaptiveBackgroundSubtractionColor.jpg

A color image.

Parameters[edit]

Correct mean[edit]

Specify whether to correct the average intensity value of the input image with the average intensity value of the background image. This option makes the tracking less sensible to lighting conditions variations.

Update proportion[edit]

The background image is continuously update with the update image following the following equation:

backgroundImage_{t}=backgroundImage_{t-1} \cdot (1-updateProportion) + inputImage_t \cdot updateProportion

Therefore, increasing the proportion makes the update of the background more reactive, but will remove object moving slowly.