Effacer les filtres
Effacer les filtres

Display hyperspectral image problem

1 vue (au cours des 30 derniers jours)
Nandita  Sarkar
Nandita Sarkar le 5 Juin 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.

Réponse acceptée

Image Analyst
Image Analyst le 5 Juin 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), []);
  1 commentaire
Nandita  Sarkar
Nandita Sarkar le 5 Juin 2022
Thank you so much for solving this issue.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by