Watch this Author's files
A better option is to use MATLAB's multibandread function
You can not call it ENVI reader and only support small fraction of cases file format supports.
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.
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.