Determining Color Difference Using the CIELAB Model?
Colour Blind asks: "I am working for a not-for-profit organization developing a website for kids. I am attempting to develop a method for testing if two colours (as defined by R, G, and B values [0-255]) are adequately different to be visible on top of each other. So far I have tried many things but this is the one that, by all accounts, should work: I have converted from RGB to (CIE)XYZ using a 3x3 matrix transformation. From here I have used three more equations to convert to CIELAB colour. I have then calculated the distance between the two colours in question in CIELAB colour space. The results are not correct: there are pairs of colours that are quite far from visible that yield the same difference as colours that are plainly acceptable for visibility. Any suggestions?"
Ask Google
Ryan T. Sammartino
"Ancora imparo"
In addition, it sounds like you're hoping to test whether things are sufficiently perceptually different on people's monitors. The sad news is that the variation between different monitors, between LCDs and CRTs, between different brightness and contrast settings, between different phosphor technologies, differences in how long the monitor has been warmed up, and differences in the aging of the phosphors mean that no two monitors will actually produce the same color from the same R, G and B equivalents, and you'll get different distinguishabilities for different colors on different monitors.
As a nature photographer, I have to jump through hoops, including hardware sensors for detecting the output of my monitor, to get anything like reproducable color out of my own equipment. It's just a difficult problem, I'm afraid.
I'm a nature photographer.
Oh, just to make things even more difficult, two colors which are quite perceptually distinct may still make poor colors for text legibility. Try reading bright red text on a bright green, equal-intensity background. (Even if you're not red-green color-blind.) I suspect without evidence that text legiblity is more strongly related to luminosity differences than to perceptual difference metrics.
I'm a nature photographer.
This is an excellent question, as male engineers have the tendancy to be Red/Green colorblind.
o rmodels/main.html
2 1. htm
In order to help those of us who can't match our shirts with our pants, various "color models" have been developed over the past 340 years (although some pre-date plato), including RGB (cube), HSV (tetrahedron), CIE, YIQ, PANTONE (spherical/spiral), etc. Although this question is not exactly technical in nature, the underlying problem is about the mathmatics of converting the various geometries of the color spaces with an emphasis on web usability and accessibility... gdb with or without a serial cable is of little use here.
Check out: http://www.adobe.com/support/techguides/color/col
And for the math:
http://academic.mu.edu/phys/matthysd/web226/L02
An older approach is the Munsell system. His system, which he began in 1898 with the creation of his color sphere, or tree, saw its full expression with his publication, A Color Notation, in 1905. It is not mathematically based, but rather each step corresponds to an actual equal perception step.
Even though there are surprisingly large discrepancies between CIE L*a*b* and isotropic observation-based color spaces, such as Munsell, a good bet is to convert your LAB into Munsell and go from there.
Color spaces are great for development of the displays and printers - there you have to get down to as few basic parameters as possible. They are useless for designing output of printers and displays..
<^>_<(ô ô)>_<^>
Red and green may be opposite each other on the colour wheel, but have you ever tried reading red text on a green background (or vice versa?)
Help me! I'm turning into a grapefruit!