RGB, HSV concept

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP

RGB, HSV concept



I found an image stating the difference between RGB and HSV color spaces. But from the image, it looks like that they are just different ways of representing the same color, yet when we display them on our screen(e.g. using OpenCV) they look different. I mean though HSV space separates luminance from the color, the actual color should remain same.



Also for displaying an HSV image on the laptop screen, we will need the RGB values, what are those RGB values?





"when we display them on our screen they look different" No, they don't. If they do, you're not displaying the image right. If you take HSV, and send it to a screen that will interpret it as RGB (i.e. the H channel as the R channel, the S channel as the G channel, etc.) then yes, the colors will be wrong.
– Cris Luengo
16 hours ago




1 Answer
1



You said it yourself:



"they are just different ways of representing the same color"



Since they are simply different representations, you can convert between the formats. There are already SO posts on that: here, and this answer here.



RGB and HSV are useful in different applications. HSV seperates the color information from brightness information, which can be useful when comparing colors in image processing, for example. RBG is typically how screens display images.



As Cris said, you should not see these displayed differently.






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

Executable numpy error

PySpark count values by condition

Trying to Print Gridster Items to PDF without overlapping contents