How to Convert RGB Values to Wavelength and Vice Versa?

  • Context: Undergrad 
  • Thread starter Thread starter neurocomp2003
  • Start date Start date
  • Tags Tags
    Wavelenght
Click For Summary

Discussion Overview

The discussion centers on the conversion between RGB values and wavelength values in the context of color perception and light. Participants explore the feasibility of such conversions, the nature of color as a mixture of wavelengths, and the physiological mechanisms of color perception in the human eye.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Technical explanation

Main Points Raised

  • One participant questions how to convert RGB values to wavelength values and vice versa, providing an example of RGB values.
  • Another participant argues that it may be impossible to assign a unique wavelength to a blend of colors, citing that colors like brown are mixtures of different wavelengths.
  • A different participant suggests that superposition of different wavelengths might result in a single wave with a defined wavelength, raising questions about the nature of wave combination.
  • In response, another participant clarifies that waves of different frequencies do not combine into a single normal wave and explains how the human eye perceives color through the activation of three different light-sensitive pigments.
  • A participant inquires whether the signals received by bipolar cells in the eye are real-valued signals rather than simple on/off signals from cones and rods.
  • Another participant elaborates that the frequency of neuron activation correlates with the perceived strength of the signal, suggesting that varying activation rates of different pigments contribute to color perception.

Areas of Agreement / Disagreement

Participants express differing views on the possibility of converting RGB values to wavelengths and the implications of color perception. There is no consensus on the feasibility of these conversions or the nature of color mixing.

Contextual Notes

The discussion includes assumptions about the nature of light and color perception, as well as the limitations of defining colors that arise from mixtures of wavelengths. The mathematical explanations provided may depend on specific definitions and interpretations of wave behavior.

neurocomp2003
Messages
1,359
Reaction score
4
How would one convert RGB values to a wavelength value
OR
a wavelength value to RGB?

ie 180,180,60=?
 
Last edited:
Science news on Phys.org
I think that may be impossible. A blend of different colors of light does not have a unique wavelength. For example, you can't talk about the wavelength of the color brown because it is a mixture of light at different wavelengths.
 
but doesn't the superposition mean that those different wavelengths...superimpose into one wave? with a wavelength because its a finite #?
 
No, waves of different frequencies do not combine into a single, normal wave. For example you can add two cosine waves of different frequencies. Suppose the average frequency of the two waves is m and that one wave has frequency (m+x) and the other (m-x). Then the function describing the amplitude of the wave is A=cos[(m+x)t] + cos[(m-x)t]. Using Euler's formula, that becomes
A = Re: e^[i(m+x)t] + e^[i(m-x)t]
= Re: {e^(imt)}*{e^(ixt) + e^(-ixt)}
= Re: {cos(mt) +i sin(mt)}*{cos(xt) + i sin(xt) + cos(-xt) + i sin(-xt)}
= Re: {cos(mt) +i sin(mt)}*{2cos(xt)}
= 2cos(mt)cos(xt)
Which is not a simple cosine wave (It looks like a cosine wave on top of a cosine wave for x<<m)
The eye contains three different light sensitive pigments which have maximum sensitivities at wavelengths corresponding roughly to red, green and blue. It is the relative extent to which these pigments are activated that determines what color is percieved. Each of these pigments can pick out of a complicated waveform that component of the the wave at the frequency to which it is most sensitive. No pure light could activate pigments that peak at different frequencies equally. This means that some colors can not be produced by pure light.
 
"It is the relative extent to which these pigments are activated that determines what color is percieved."
if so does this mean that the bipolar cells of the eye don't receive on/off signals from the cones&rods but REAL valued signals?
 
The frequency with which a neuron is activated determines the perceived strength of the signal. For example, to use random numbers, if a cell with one pigment is activated 10 times a second and a different one is activated fifteen times a second, the brain will interpret this as meaning the second color is more abundant.
 

Similar threads

  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 8 ·
Replies
8
Views
30K
  • · Replies 88 ·
3
Replies
88
Views
26K
Replies
19
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K