SwisTrack/Components/BackgroundSubtractionColor

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description[edit | edit source]

This component subtracts a 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 camera noise can also produce differences between the two images. Subtracting average intensities of the two images makes the system more robust towards changing lighting conditions.

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

Input[edit | edit source]

A color image.

Output[edit | edit source]

A color image.

Parameters[edit | edit source]

Correct Mean[edit | edit source]

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.

Background Image[edit | edit source]

Path to the background color image file. The background image must be a picture of the arena without the object to track.