Jump to content
  • Advertisement
Sign in to follow this  
Sabonis

Color conversion

This topic is 3174 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I am implementing a paper I found for image fusion, and I have come to a roadblock on converting RGB to Intensity and Intensity to RGB There are three methods listed below: I1 = (r + g + b) / 3; I2 = max(r,g,b); I3 = (max(r,g,b) + min (r,g,b)) / 2; But the issue is that they don't describe how to get back to RGB values for any of those equations. The first one is based on smith's hexacone , the second on smith's triangle and the third isn't defined. Does anyone have some advice in this area? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Sabonis
But the issue is that they don't describe how to get back to RGB values for any of those equations.
Hmm? You're going from a three-dimensional representation to a one-dimensional representation. There will be no way to reconstruct the RGB values without extra information being kept around. If you want a measure of overall light intensity that is part of a reversible color model, check out HSL and HSV.

Share this post


Link to post
Share on other sites
Yup, these systems are not well defined and quite frustrating. Here is a link to the paper:

[link]http://www.pcot.cat/pdf/common/icc/publicacions_icc/publicacions_tecniques/tractament_imatge/bienni_1999_2000/multiresolution_based_image_fusion.pdf[/link]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!