comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: idl call envi function, running with out ENVI?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: idl call envi function, running with out ENVI? [message #77398 is a reply to message #77312] Thu, 25 August 2011 10:24 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 8/24/11 6:44 PM, wxfei19@gmail.com wrote:
> On Aug 25, 8:13 am, "Jeff N."<jeffnettles4...@gmail.com> wrote:
>> On Aug 23, 11:26 pm, "wxfe...@gmail.com"<wxfe...@gmail.com> wrote:
>>
>>> I just write a simple IDL program, while the major code write in IDL
>>> with some function of ENVI to speed up my programing.
>>
>>> example:
>>> PRO test_read
>>> COMPILE_OPT idl2
>>> file_name = DIALOG_PICKFILE(/READ,FILTER='*.*')
>>> ENVI_OPEN_FILE, file_name, r_fid=r_dem,/NO_REALIZE
>>> IF (r_dem EQ -1) THEN RETURN
>>> END
>>
>>> I hope to release this code running without ENVI, what should I do?
>>
>> Are you asking how to read an envi file without envi running (ie,
>> using just idl)? If so that's easy, it's just a matter of the
>> specifics you need to achieve (ie, do you know the dimensions
>> beforehand?). Why don't you explain what you want to do a little
>> better...
>
> yes I want to read an envi file and do some image process(using some
> envi function).
> and I hope the code(released in exe or other format) could run on the
> other computer without envi installed.

It's possible to do the *equivalent* of what ENVI is doing using IDL
(ENVI is written in IDL after all), but you have to have ENVI to use
ENVI functions.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to "reuse" a function graphics plot window?
Next Topic: Can IDL receive messages from dlls using call_external

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 16:52:47 PDT 2025

Total time taken to generate the page: 1.28434 seconds