Display hyperspectral image problem

2 views (last 30 days)
Whenever I am trying to display using imshow ,the hyperspectral image is showing fully white.No image is showing but in envi software I can clearly see the image.I have attached the screenshot.Please anybody help me to do this.

Accepted Answer

Image Analyst
Image Analyst on 5 Jun 2022
The problem is your data array has floating point values beyond a value of 1. Try using [] in imshow to scale them:
imshow(data(:, :, 50), []);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!