O'Reilly logo

Learning Image Processing with OpenCV by Gloria Bueno García, Oscar Deniz Suarez, José Luis Espinosa Aranda, Jesus Salido Tercero, Ismael Serrano Gracia, Noelia Vállez Enano

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

Chapter 4. Processing Color

Color is a perceptual result created in response to the excitation of our visual system by light incident upon the retina in the visible region of the spectrum. The color of an image may contain a great deal of information, which can be used for simplifying image analysis, object identification, and extraction based on color. These procedures are usually carried out considering the pixel values in the color space in which it is defined. In this chapter, the following topics will be covered:

  • The color spaces used in OpenCV and how to convert an image from one color model to another
  • An example of how to segment a picture considering the color space in which it is defined
  • How to transfer the appearance of an image to another ...

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