How to obtain the wavelength of a given image? How to obtain the colors that are in it in the range of 400 nm to 700 nm of visible spectrum
7 views (last 30 days)
Show older comments
How to obtain the wavelength of a given image? How to obtain the colors that are in it in the range of 400 nm to 700 nm of visible spectrum?
Get something like this?
this is so far i could did.
0 Comments
Answers (1)
Image Analyst
on 23 Feb 2019
You cannot. An arbitrary color cannot be replicated with a single mono-chromatic wavelength, like a laser. A color may be the sum of a bunch/continuum of powers at a bunch/continuum of wavelengths. That is called a spectrum. You can get the spectrum with a spectrophotometer or hyper spectral imaging system.
2 Comments
User79
on 19 Oct 2022
Do you mean if I have a hyperspectral image I can get the spectrum information?
Image Analyst
on 19 Oct 2022
Yes. You can get the power averaged over each wavelength band that the hyperspectral camera measures. Like if you have 30 wavelengths (images) in 10 nm widths from 400 to 700 nm, you can get the spectrum of a single pixel by extracting the values from all 30 images at that pixel location.
spectrum = squeeze(hyperImage(row, column, :))
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!