Opening a hyperspectral image and retriving spectral plot.

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)

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

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.

Asked:

on 14 Jan 2014

Commented:

on 15 Jan 2014

Community Treasure Hunt

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

Start Hunting!