How do I Read Satellite Images into MATLAB from an IGE file type?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 13 Avr 2023
Réponse apportée : MathWorks Support Team
le 13 Avr 2023
I'm trying to read in Geographic Raster data and geospatial data into MATLAB. The file I'm using is an IGE file. How can I read this filetype into MATLAB?
Réponse acceptée
MathWorks Support Team
le 13 Avr 2023
IGE files aren't currently supported by MATLAB. However, IGE files are almost always paired with an IMG file that contains the same data. In order to open these files and examine them in MATLAB, you can use the following commands in a MATLAB script, or at the MATLAB Command Window:
>> [A,R] = readgeoraster('file.img');
>> mapshow(A, R);
These commands require a Mapping Toolbox license.
It's possible that you will get an error stating something like "array exceeds maximum array size preference," If that's the case, you can try changing your max array size preferences by following the steps described in the following MATLAB Answers Post:
If your computer does not have enough RAM for this operation, then it may be impossible to read in all the required data at once and you will need to use a different machine.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Mapping Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!