You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
I = ENVIREAD(FILENAME) Reads an ENVI binary file into an array using the information from the corresponding header file FILENAME.hdr. The output structure I contains fields I.x, I.y, I.z and I.info containing the x-coordinate vector, y-coordinate vector, images data and header info, respectively. I.z will be in whatever number format (double, int, etc.) as in the envi file.
I= ENVIREAD(FILENAME,HEADERFILE); Uses the header information in headerfile.
'
Thanks to Yushin Ahn for his modifications.
NOTES:
-Geo-registration does not currently support rotated images.
- No support for importing complex data .
Cite As
Ian Howat (2026). ENVI file reader, updated 2/9/2010 (https://www.mathworks.com/matlabcentral/fileexchange/15629-envi-file-reader-updated-2-9-2010), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: geotiff reader
General Information
- Version 1.2.0.0 (3.36 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.2.0.0 | - Restored functionality for reading BIL and BIP interleave formats. |
||
| 1.1.0.0 | -Inserted envireadhdr function as a subfunction.
|
||
| 1.0.0.0 | Fixed summary. |
