Home > Software engineering >  Beginner's image processing, want to ask questions about the RGB matrix
Beginner's image processing, want to ask questions about the RGB matrix

Time:09-18


Just leave a homework in class, just contact, many places do not understand, want to consult the
Q 1 and 2, brightness, and the larger the RGB value, the greater the brightness, the answer to this question is 7 and 0? Or converted into HSV?
The third in the 4 q, saturation, are three RGB values, the more close to the lower? Specific how should the solution of the system?
Thank you,
(invite reply is automatically if have bother please forgive me)

CodePudding user response:

A thing or two, that is, the original poster said;
Three or four,
Find out the maximum and the minimum, degree of saturation in RGB three=(maximum, minimum)/Max,
Color on the maximum R=254, minimum value B=58, then the above saturation S=(254-58)/254=0.7716=77%
So, one by one to calculate (4 * 4=16), and, of course, can also according to the law

CodePudding user response:

reference 1st floor liups response:
just a little, is the original poster said;
Three or four,
Find out the maximum and the minimum, degree of saturation in RGB three=(maximum, minimum)/Max,
Color on the maximum R=254, minimum value B=58, then the above saturation S=(254-58)/254=0.7716=77%
So, one by one to calculate (4 * 4=16), and, of course, can also according to the law is
excuse me, is the intensity in the first question in HSV V or Y in YIQ?

CodePudding user response:

https://baike.baidu.com/item/HSV/547122

  • Related