Filter löschen
Filter löschen

Opening a hyperspectral image and retriving spectral plot.

2 Ansichten (letzte 30 Tage)
ALINA
ALINA am 14 Jan. 2014
Kommentiert: ALINA am 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.

Antworten (1)

Image Analyst
Image Analyst am 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 Kommentar
ALINA
ALINA am 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.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by