RGB to Wavelength, is it possible?
38 views (last 30 days)
Show older comments
Is it possible to generate a histogram based on wavelength (visible light), rather than RGB values? Even if it is a slight approximation, it would be very useful.
0 Comments
Answers (1)
Walter Roberson
on 7 Sep 2015
4 Comments
Image Analyst
on 7 Sep 2015
Like I said in the link Walter referred you to, Some arbitrary RGB does not necessarily map to one single pure wavelength. A single RGB triplet of values might be arrived at from a whole broad spectrum of wavelengths, not just one wavelength. This is general color science, not something specific to MATLAB.
Not only that but there can be "metamers" - spectra that are completely different but that give the same RGB values. Google metamerism to learn more.
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!