home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!nyet
- From: nyet@cco.caltech.edu (n liu)
- Subject: Re: Is there a mathematical relationship RGB -> wavelength?
- Message-ID: <1992Aug13.233117.21185@cco.caltech.edu>
- Sender: news@cco.caltech.edu
- Nntp-Posting-Host: mripc
- Organization: California Institute of Technology, Pasadena
- References: <1992Aug9.151055.25530@cis.ohio-state.edu> <92225.171906POLOWINJ@QUCDN.QueensU.CA> <dangold1.713711275@vincent1.iastate.edu>
- Date: Thu, 13 Aug 1992 23:31:17 GMT
- Lines: 43
-
- dangold1@iastate.edu (Daniel M Goldman) writes:
-
- >In <92225.171906POLOWINJ@QUCDN.QueensU.CA> Joel Polowin <POLOWINJ@QUCDN.QueensU.CA> writes:
-
- >> > For curiosity's sake, I was wondering if it is possible to take a set
- >> > of RGB color fractions and come up with an approximate wavelength of
- >> > the observed mixture. I suppose this could be done by just
- >> > interpolating between some known values in a table, but I would like
- >> > to know if there is a way to actually calculate the wavelength. Of
- >> > course, I'd also be interested in a formula to compute the RGB
- >> > fractions for a given wavelength.
-
- > In dealing with real light, we run into metamers, colors which look
- > the same under one light source, but look like different colors
- > under a different light source. Colors expressed as wavelength,
- > I believe, are the most specific. However, if memory serves, you
- > can have a hue-chroma-brightness specification which can be
- > matched by more than one "wavelength" specified color, that is,
- > they might be metamers. I don't really know if this has anything
- > to do with computer color graphics, but if it does, beware. -DmG
-
- Basically, the three coordinate system was made up since we have 3 mostly
- independent color receptors. RGB space manages to cover most (but not all)
- of the color gamut we are able to see. Keep in mind that our color sense is
- extremely crude, i.e. we can't tell the difference between pure magenta
- and a spectrum that contains a spike at blue and a spike at red. This is because
- our receptors are stimulated "identically" in both cases. CIE did a huge survey
- with a bunch of subjects (does this look the same distance in blue to this
- sample as the distance in blue between these other samples? etc.) and came
- up with an average cone response for each of the three cones. (foley and van
- damn has some stuff on this i think). The CIE colorspaces are a very close
- approximation to these responses. In any case, you can look up these response
- curves and do a bit of math by superposing the responses to a particular
- wavelength and then convert to RGB (i forget what the standard wavelengths
- are for RGB... I have some notes on this somewhere, but this info and most of
- the rest shouldn't be hard to find in CIE journals.)
-
- Most Sci-Fi stories concern themselves with aliens that "see" EM radiation
- in a different range, but not with a different system... Just imagine what
- the world would "look" like if you could percieve real spectral lines!
- --
- nyet@cco.caltech.edu
- nyet@aerospace.aero.org
-