We use color conversion for better information representations. Some major color spaces supported in OpenCV are blue, green, red (BGR), hue, saturation and brightness (HSB), grayscale, and binary. The most frequently used color model is the BGR color scheme. Blue, green and red are primary colors and their combinations represent full color images.
The HSB (also known as hue, saturation, value or HSV) model separates color information from luminance. Hue represents the dominant color as seen by the observer, saturation refers to the amount of dilution of the color with white light, and brightness defines the average luminance. HSB representation is frequently used in color image processing because hue is relatively independent from light intensity. It is used to detect an object with a known color. HSB representation works in different lighting conditions! This is difficult to do with BGR values.
Grayscale is another frequently used color space where image information is...