Can I read Erdas Imagine file formats in MATLAB?

5 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
コメント済み: Kexin Song 2021 年 1 月 28 日
I would like to read in an ERDAS Imagine (.IMG) file directly. I have been unable to find any examples on how this could be done using MATLAB.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
The ability to read Erdas Imagine files is not available in MATLAB. The MULTIBANDREAD function reads raw, uncompressed binary data stored in one of three simple configurations. It does not support the Erdas Imagine (.IMG) format.
As a workaround, convert the file from Erdas Imagine .IMG format into a format that IMREAD accepts. This conversion will need to be performed in another application. A list of these formats is available in the documentation for IMREAD which is available by typing "doc imread" at the MATLAB command prompt.

その他の回答 (1 件)

Eric Sargent
Eric Sargent 2020 年 12 月 9 日
Starting in R2020a, the readgeoraster function can read ERDAS Imagine files.
  1 件のコメント
Kexin Song
Kexin Song 2021 年 1 月 28 日
That's fabulous! Thank you!

サインインしてコメントする。

カテゴリ

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by