Re: How to use built in functions of ENVI in IDL program [message #37526] |
Tue, 06 January 2004 07:12 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Shishir writes:
> Can someone help us out as to how to use the built in functions of
> ENVI in a GUI widget created using IDL program. In other words is it
> possible to call these functions from a program written in IDL.
> For e.g. suppose after opening an image file in ENVI we use the Region
> of Interest function (available under the Overlay tab). Now,can this
> function be called from within a GUI widget created by an IDL program.
> That is we want to in a manner import the functionality in our own
> program.
>
> Any help in this regard would be appreciated.
In theory, using ENVI's procedures and functions is no more
difficult than using IDL's own built-in procedures and functions.
Once the ENVI save file is restored in your IDL session, you
have access to any ENVI procedure and function you like. To
see how to use them, simply consult the ENVI User's Guide,
whether they are all described.
I've no experience doing this in practice, but I could guess
that it is probably not quite *that* easy. I would also guess
that the more you know about IDL in general, the easier it would
be to fill in the inevitable documentation gaps. But you won't
know until you try. :-)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|