ENVI file reader, updated 2/9/2010
by Ian Howat
19 Jul 2007
(Updated 09 Feb 2010)
Read ENVI raster files. Supports all interleaves, data types (except complex) and byte orders.
|
Watch this File
|
| File Information |
| Description |
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 . |
| Acknowledgements |
This file inspired
Envi File Reader/Writer and Geotiff Reader.
|
| MATLAB release |
MATLAB 7.2 (R2006a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 20 Jul 2007 |
updated description and added screen shot |
| 20 Jul 2007 |
Fixed bug that prevented single-band files from loading correctly. |
| 26 Jul 2007 |
-Fixed problem with reading image coordinates when a point other than the upper left corner is in the header. The fields info.map_info.ulx and uly are now mapx and mapy to reflect this. |
| 02 Aug 2007 |
Added support for all formats except complex and double complex. |
| 02 Aug 2007 |
Fixed summary. |
| 06 Nov 2009 |
-Inserted envireadhdr function as a subfunction.
-changes output to be structure format
-modified fread loop to handle larger files. |
| 09 Feb 2010 |
- Restored functionality for reading BIL and BIP interleave formats. |
|
Contact us