3.33333

3.3 | 6 ratings Rate this file 22 Downloads (last 30 days) File Size: 2.96 KB File ID: #4918

ENVI to MATLAB

by

 

13 May 2004 (Updated )

Read ENVI image file to MATLAB array.

| Watch this File

File Information
Description

MATLAB function for reading RSI ENVI Standard format images. The read images are loaded into a MATLAB array.

Other author's tools availables on :
http://www.enge.ucl.ac.be/staff/curr/Guissard/

Acknowledgements

This file inspired Envi File Reader/Writer.

MATLAB release MATLAB 6.0 (R12)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
18 Jan 2012 Jaroslaw Tuszynski

A better option is to use MATLAB's multibandread function

04 Jan 2012 Jaroslaw Tuszynski

You can not call it ENVI reader and only support small fraction of cases file format supports.

04 Dec 2010 rohit maurya

i tried your code it runs actually but it fails for the those .img file
which doesn't have byte_order field.

my another problem is how read the 4,3,2 band for vegetation detection ..and how to display it ..like imshow does for visual display.

03 Dec 2010 rohit maurya

hello vincent, i tried ur coad as freadenvi('can_tmr.img') but it shows an error Input header file does not exist.
wat should i do.

11 Aug 2008 Michael Toomey

Very handy, but I found the same two problems as two other reviewers. There is the one that d(1) should be changed to uint8 and the transpose situation - both of which are easily fixed. Thanks for the code.

11 Dec 2007 No Way Jose  
09 Oct 2007 A User In France

Does what it should.

I had to change d(1) into uint8 for data type 1, it was set to bit8. Not necessarily an error by the author, perhaps this was changed in the .dim format that I use this function for.

28 Apr 2005 Maurizio Santoro

Very handy tool but the matrix I obtain is the transposed version of the original image!

02 Dec 2004 NotFor PublicKnowledge

Reader is only configurable for BSQ (band sequential) formatted files. This is not mentioned in the header information. Not supporting BIP or BIL is mediocre. Not specifying this is negligent.

Contact us