Effacer les filtres
Effacer les filtres

Opening a hyperspectral image and retriving spectral plot.

2 vues (au cours des 30 derniers jours)
ALINA
ALINA le 14 Jan 2014
Commenté : ALINA le 15 Jan 2014
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.

Réponses (1)

Image Analyst
Image Analyst le 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 commentaire
ALINA
ALINA le 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.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by