how to convert an rgb image to hyperspectral image in matlab?

9 views (last 30 days)
  1 Comment
Image Analyst
Image Analyst on 16 Feb 2015
In the image you added during your edit, that is a classified image shown in RGB. They took a multispectral image and produced a classified image with 4 classes and then displayed that in RGB - each class having a different RGB. This is totally different than what you asked. You cannot take that classified image displayed in RGB pseudocolor and get back to the original hyperspectral images that were used to create it.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 16 Feb 2015
Well, you'd have to know the spectrum of your illumination, and the spectral responsivities of your camera sensor. Do you know those? Or do you just want to assume flat spectrum or D65 spectrum illumination? And responsivity of the camera that matches the chromaticity curves of the human eye?
  3 Comments
Image Analyst
Image Analyst on 23 Feb 2018
Not off the top of my head. You can contact manufacturers of light source and camera manufacturers for the spectral curves of their devices.
joynjo
joynjo on 5 Mar 2018
I have 6 image from RGB camera, taken from different illumination (300 nm to 700nm). I need to measure reflectance image, I have the data of camera sensitivity and illumination. Do you have any reference to calculate it using matlab?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!