X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 30 Nov 2010 12:58 PM by  anon
envi standard file
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
30 Nov 2010 12:58 PM
    hello I cannot open ENVI standard file in IDL programming language.Please help me in this regard how to open the file.The file is hyperspectral image,size 33990000bytes about oil palm plantation. thanks

    Deleted User



    New Member


    Posts:
    New Member


    --
    02 Dec 2010 03:02 PM
    ENVI format files are just flat binary files, with an associated ASCII header file that provides information needed to correctly interpret the image within the binary file (number of columns, rows, bands, etc.). So, you can open the binary file containing the data using IDL's OPENR routine. To read the data from the file into an IDL array (assuming that you have enough RAM to do that), you could use the IDL routine READU. It sounds like your hyperspectral file is going to be far too large to read into an array in RAM. So, in that case, you will need to read only a part of it at a time. Interactive ENVI automatically implements tiling in these cases. You'll want to do something like that in your IDL code as well. If you have access to ENVI + IDL, then you will probably want to look at the ENVI routine ENVI_OPEN_FILE, and use that in your IDL code. ENVI opens files in a different way than IDL. ENVI's way is designed to make calling ENVI routines, which often implement tiling automatically, easier for large datasets. I hope that helps. - Peg
    You are not authorized to post a reply.