Login  Register

Re: Measuring 'Dominant Wavelength'?

Posted by Jean-Louis Oneto on Jan 28, 2015; 12:23am
URL: http://imagej.273.s1.nabble.com/Measuring-Dominant-Wavelength-tp5011335p5011341.html

I agree with the others answers you got, that in general there is no
unique conversion possible between RGB and wavelength, nevertheless the
problem can get an approximate solution.
See for examples:
http://stackoverflow.com/questions/5817474/how-to-get-the-wavelength-of-a-pixel-using-rgb
https://www.physicsforums.com/threads/colour-rgb-hsv-hsl-to-wavelength.419793/
http://www.researchgate.net/post/What_is_a_good_way_to_convert_a_RGB_pixel_to_a_wavelength
It would be better in any case to begin with a color calibration of your
camera (by taking pictures of calibrated targets and analyzing the
pictures obtained with a software able to generate an ICC profile (there
are several, both  commercial and freeware).
Hope that helps,
Best regards,
Jean-Louis

On 27/01/2015 21:42, Marcel Tschudin wrote:
> Thank you, Herbie, for your explanations. It's too bad that I cannot follow further this option. I would have thought that somehow the reverse should be possible of what one does with graphical representations where the values of a parameter are shown in different colors with the color spectrum indicating the value range.
> Marcel
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html