Using IDL variables from ENVI [message #43953] |
Tue, 10 May 2005 05:08  |
Julio[1]
Messages: 52 Registered: May 2005
|
Member |
|
|
Hello there,
I'm using "Z profile" tool of ENVI to retrieve spectral profiles of
images. Then, I export these profiles to an IDL variable. How can I
input these variables into my IDL routine?
Cheers,
Julio
|
|
|
Re: Using IDL variables from ENVI [message #44024 is a reply to message #43953] |
Wed, 11 May 2005 12:10  |
Jeff N.
Messages: 120 Registered: April 2005
|
Senior Member |
|
|
If you're looking for a way to do it within the interface (not
programmatically), it's pretty easy. In the profile window, choose
File->Save Plot As->IDL Variable. You could also export the profile to
a text file and then read that in IDL if you need to I guess, depending
on how much you want to do programmaticaly and how much you want to do
by hand.
Jeff
Julio wrote:
> Hello there,
>
> I'm using "Z profile" tool of ENVI to retrieve spectral profiles of
> images. Then, I export these profiles to an IDL variable. How can I
> input these variables into my IDL routine?
>
> Cheers,
>
> Julio
|
|
|
Re: Using IDL variables from ENVI [message #44039 is a reply to message #43953] |
Wed, 11 May 2005 04:29  |
cjengo
Messages: 28 Registered: June 1999
|
Junior Member |
|
|
Julio,
I'm not real clear on how you want to use the spectral profiles. You
can pass the exported spectrum to your program as an argument or
keyword (myprogram, spectrum=var). Or, if you want to extract and use
the spectrum from within your program, take a look at ENVI_GET_SLICE.
Chris
|
|
|