RGB and HSV color space

Source: Internet
Author: User

RGB color Space

1, three-color principle: Most of the colors can be red, green, blue three colors according to different proportions of the synthesis, the same vast majority of monochromatic light can also be decomposed into red and green blue three kinds of shade
The red, green, and blue three colors are added by different proportions. Blending is called additive process color. Some of the process color laws are:
Red + green = yellow;
Green + blue = cyan;
Red + blue = Magenta;
Red + green + blue = white;

2. Complementary light: When two types of light are mixed to obtain white lights in the appropriate proportions, the two light are complementary light

3, Brightness: Monochromatic light intensity of different, according to the person's feeling is: the brightest green, red followed by, the most weak blue

4, assuming that the brightness of the white light is 100%, then an RGB channel color brightness calculation: r=0.299r+0.587g+0.114b

5, Cvmerge (SRC,SRC,SRC,0,DST); Combine several single-channel image SRC into a multi-channel image DST

6, in the color space, there is a diagonal line above this diagonal, only brightness, no color

HSV Color Space

1, v Channel: brightness, when the external light is 0, the brightness is 0

2, H Channel: hue, what color to indicate

3, S channel: saturation, the more the composition of a color in white, the lower the saturation

RGB and HSV color space

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.