SwisTrack/Components/ThresholdGray

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

Contents

[edit] Description

This step intends to separate the objects to track from the background. The background will become black, while the objects to track will appear in white. Most of the time, this step follows a preprocessing method like background subtraction.

[edit] Input

SwisTrack BackgroundSubtractionGray.jpg

A grayscale image.

[edit] Output

SwisTrack Threshold.png

A binary (black and white) image.

[edit] Parameters

[edit] Threshold

A threshold value (between 0 and 256). If the objects to track don't appear in the image, try to reduce the value. If parts of the background become white, the value need to be increased.

[edit] Invert threshold

Whether the threshold must be inverted or not.

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export