SwisTrack/Components/BackgroundSubtractionColor

Description edit

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

 

A color image.

Output edit

 

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.

Background Image edit

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