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)
A color image.
A binary (black and white) image.
Lower boundary of the blue channel.
Higher boundary of the blue channel.
Lower boundary of the green channel.
Higher boundary of the green channel.
Lower boundary of the red channel.
Higher boundary of the red channel.