Clear Filters
Clear Filters

Opening a hyperspectral image and retriving spectral plot.

2 views (last 30 days)
hi sir, This is the code I wrote.
X=multibandread('EO1H1460512012064110KZ_L1T.dat',[215,151,155],'uint16',0,'bil','ieee-le',{'Band','Direct',[54,29,16]});
This is a subsetted portion of the actual image which has (3481,1091,242) dimension. I am not able to see the proper image, and also it has 155 bands but they show the size as only 3.I want to retrieve the spectral plot of a pixel from all 155 bands.I am not getting it.
Sir can you please help me with the code.

Answers (1)

Image Analyst
Image Analyst on 14 Jan 2014
What does
size(X)
report? And you can pullout up to 3 bands and show them as an image. So why are you saying you can't see images?
  1 Comment
ALINA
ALINA on 15 Jan 2014
size gives=[215 151 3] as output.The image is obtained but with less clarity. The problem is with the spectral plot.how can we retrieve that with just three bands.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!