read *.img and *.hdr files in Matlab

2 views (last 30 days)
Farz Tak
Farz Tak on 17 Aug 2015
Commented: Farz Tak on 18 Aug 2015
Hi all,
I used filehdrread and analyze75read and in both cases I got an error " not a radiance file" , and " doesn't support the file", respectively. Any suggestion please for MATLABa?
Thanks in advance,
Andrea
  4 Comments
Walter Roberson
Walter Roberson on 17 Aug 2015
You can put the files together into a .zip and attach the .zip
Farz Tak
Farz Tak on 17 Aug 2015
These are the two files; hdr and img.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 17 Aug 2015
Those are not Radiance files, those are ENVI files. You might be able to read them with http://www.mathworks.com/matlabcentral/fileexchange/27172-envi-file-reader-writer
(note: right at the moment that site is down for maintenance.)
  3 Comments
Farz Tak
Farz Tak on 18 Aug 2015
Thanks I got it this morning and it works fine.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!