Sign in to follow this  
Sabonis

Color conversion

Recommended Posts

Sabonis    169
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
Sneftel    1788
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
Sabonis    169
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
Sneftel    1788
You should read the papers referenced by that paper for the details of IHS->RGB conversion.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this