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)
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?
screenshot.png
this is so far i could did.
Screen Shot 2019-02-23 at 3.19.29 PM.png

Answers (1)

Image Analyst
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
Image Analyst
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, :))

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!