SwisTrack/Components/ThresholdColorIndependent

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

Description[edit]

This step intends to separate the pixels that belongs to tracked objects. The pixels kept are in white and the black pixels will be considered as the background. Most of the time, this step follows a preprocessing method like background subtraction.

Input[edit]

SwisTrack BackgroundSubtractionColor.jpg

A color image.

Output[edit]

SwisTrack Threshold.png

A binary (black and white) image.

Parameters[edit]

Blue Threshold[edit]

A Threshold value (between 0 and 256) for the blue channel. If the tracked objects don't appears in the image, try to reduce the value. Otherwise, if parts of the background are selected, the value need to be increased.

Green Threshold[edit]

A Threshold value (between 0 and 256) for the green channel. If the tracked objects don't appears in the image, try to reduce the value. Otherwise, if parts of the background are selected, the value need to be increased.

Red Threshold[edit]

A Threshold value (between 0 and 256) for the red channel. If the tracked objects don't appears in the image, try to reduce the value. Otherwise, if parts of the background are selected, the value need to be increased.

Using "OR" instead of "AND"[edit]

Specify whether, after the thresholding of the three individual channels, we apply a OR or a AND function between the resulting binary masks.

Invert Threshold[edit]

Whether the threshold must be inverted or not.