Skip to main content
deleted 27 characters in body
Source Link

Presume that I have a spectrum as a function of wavelength (an example being the blackbody spectrum):

enter image description hereblackbody curves

I want to convert that to a single RGB color to display on-screen, i.e. the "color" of that object as it would appear to the eye. From Googlingsearching, I can see that there are ways to do this with a matrix transformation for a single wavelength, but I was hoping someone already had a solution coded up in MathematicaMathematica for an arbitrary input spectrum.

Presume I have a spectrum as a function of wavelength (an example being the blackbody spectrum):

enter image description here

I want to convert that to a single RGB color to display on-screen, i.e. the "color" of that object as it would appear to the eye. From Googling I can see that there are ways to do this with a matrix transformation for a single wavelength, but I was hoping someone already had a solution coded up in Mathematica for an arbitrary input spectrum.

Presume that I have a spectrum as a function of wavelength (an example being the blackbody spectrum):

blackbody curves

I want to convert that to a single RGB color to display on-screen, i.e. the "color" of that object as it would appear to the eye. From searching, I can see that there are ways to do this with a matrix transformation for a single wavelength, but I was hoping someone already had a solution coded up in Mathematica for an arbitrary input spectrum.

edited tags
Link
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k
Tweeted twitter.com/#!/StackMma/status/500138916633407490
edited tags
Link
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k
edited tags
Link
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k
Loading
Source Link
Guillochon
  • 6.2k
  • 2
  • 32
  • 59
Loading