Opening a hyperspectral image and retriving spectral plot.
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Image Analyst
2014-1-14
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?
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!