SwisTrack/Components/DoubleThresholdColorIndependent

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. In this specific case, the output pixel is white if the three channel values of the input pixel is inside of the respective color boundaries. output= (Blue Low <= inputBlue <= Blue High) && (Green Low <= inputGreen <= Green High) && (Red Low <= inputRed <= Red High)

Input[edit]

SwisTrack BackgroundSubtractionColor.jpg

A color image.

Output[edit]

SwisTrack Threshold.png

A binary (black and white) image.

Parameters[edit]

Blue Low[edit]

Lower boundary of the blue channel.

Blue High[edit]

Higher boundary of the blue channel.

Green Low[edit]

Lower boundary of the green channel.

Green High[edit]

Higher boundary of the green channel.

Red Low[edit]

Lower boundary of the red channel.

Red High[edit]

Higher boundary of the red channel.