Clear Filters
Clear Filters

Hyperspectral image not displaying correctly

1 view (last 30 days)
sushant
sushant on 31 Mar 2013
I'm trying to read and display a E0-1 hyperspectral image. Here's the code I've written:
  • clc
  • clear all
  • I = multibandread('flaash',[3191,911,196],'int16',0,'bil','ieee-le',{'Band','Direct',[29,23,16]});
  • imshow(I)
The image is being displayed but it appears in black and white. The image strip appears white and all the features turn white. I can't make out anything in the image except that it appears white.
Can anyone help me out?
Thank you!!

Answers (1)

Anand
Anand on 1 Apr 2013
Try the decorrstretch function.
The first example should be relevant to you.

Community Treasure Hunt

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

Start Hunting!