Display hyperspectral image problem

2 Ansichten (letzte 30 Tage)
Nandita  Sarkar
Nandita Sarkar am 5 Jun. 2022
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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 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), []);

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by