Skip to Content
Computer Vision with OpenCV 3 and Qt5
book

Computer Vision with OpenCV 3 and Qt5

by Amin Ahmadi Tazehkandi
January 2018
Intermediate to advanced content levelIntermediate to advanced
486 pages
11h 28m
English
Packt Publishing
Content preview from Computer Vision with OpenCV 3 and Qt5

Colors and color spaces

Simply put, a color space is a model used to represent the color values of the pixels in an image. Strictly speaking, a color in computer vision consists of one or more numeric values, each corresponding to a channel, speaking in terms of the OpenCV Mat class. Thus, the color space is the model that defines how these numeric value (or values) are translated into colors. Let's take an example case to better understand this. One of the most popular color spaces (sometimes also referred to as image format, especially in Qt framework) is the RGB color space, in which a color is made out of a combination of red, green, and blue colors. RGB color space is widely used by TVs, monitors, LCDs, and similar display screens. Another ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering OpenCV 4 - Third Edition

Mastering OpenCV 4 - Third Edition

Roy Shilkrot, David Millán Escrivá
Hands-On Computer Vision with TensorFlow 2

Hands-On Computer Vision with TensorFlow 2

Benjamin Planche, Eliot Andres
OpenCV 4 with Python Blueprints - Second Edition

OpenCV 4 with Python Blueprints - Second Edition

Dr. Menua Gevorgyan, Michael Beyeler (USD), Arsen Mamikonyan, Michael Beyeler

Publisher Resources

ISBN: 9781788472395Supplemental Content