O'Reilly logo

Arduino Computer Vision Programming by Giray Yıllıkçı, Özen Özkaya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Color conversions

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required