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 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Image Analyst
2019-2-23
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 个评论
Image Analyst
2022-10-19
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, :))
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!