Display hyperspectral image problem
1 view (last 30 days)
Show older comments
Nandita Sarkar
on 5 Jun 2022
Commented: Nandita Sarkar
on 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.
0 Comments
Accepted Answer
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)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!