MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by vipul utsav
on 23 Nov 2012

from where i can get required data of hyperspectral image for reading it in matlab using multibandread function

[Merged information from duplicate question]

For a hyperspectral image, I can read in matlab using multibandread function, but this function requires information of image like number of bands, interleave format etc. I do not have this information. So how it is possible to read it into matlab without having this information, or where can I get this information?

*No products are associated with this question.*

Answer by Image Analyst
on 23 Nov 2012

I guess I'd ask the person or organization who created the image.

Answer by Walter Roberson
on 23 Nov 2012

There are only a finite number of possibilities, and the search space can be reduced by factoring the size of the file (e.g., if the size of the file is not a multiple of 5, then there could not be 5 bands.) So try them all, and hope that you recognize the "correct" version when you see it.

Unless, that is, the image has header information: if it does then factoring will not work. And if the data is compressed then factoring will not work either. But if you can identify the file type, it could be that the headers will hint about the organization of the data. Maybe.

Asking the source of the data is much easier and more reliable.

## 0 Comments