Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to run mathematical calculation on monthly NDVI images from april to october. I stacked monthly NDVI images through april to october into an image (with 7 band) using ENVI. Now I wanna import this image into IDL. How can I do this? What kind of function or procedure should be written?

Please help me?

share|improve this question

2 Answers 2

Have you written IDL .pro programs before? It has a couple of functions such as READU and READ_BINARY. You'll need to know your data type (integer, float, etc.), the interleave (bip, bil, or bsq), and possibly the number of samples, lines, and bands if there's no .hdr associated with your binary dataset. Here's a starting point to get an overview of reading binary data:

http://idlastro.gsfc.nasa.gov/idl_html_help/Reading_Binary_Data.html

share|improve this answer

Another option, assuming you're running ENVI 4.x or ENVI 5.0 (Classic) + IDL (i.e not ENVI runtime), is to click File->Export to IDL variable.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.