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

Home » Public Forums » archive » How to get ASCII spectra out of an ROI in ENVI?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to get ASCII spectra out of an ROI in ENVI? [message #12988] Tue, 29 September 1998 00:00
jmcfee is currently offline  jmcfee
Messages: 17
Registered: August 1995
Junior Member
In my continuing quest to ask at least one stupid question a week, I offer this
one. I have a saved ROI for a multiband image. I want to make a file which
contains the ASCII values for each band for each pixel within the ROI (I do not
care what the actual position of the pixel is within the ROI). For instance, if
my ROI has 40 pixels inside it, and the spectra consisted of 4 bands, I would
ideally like a file like:

[pixel 1] band1_value band2_value band3_value band4_value
[pixel 2] band1_value band2_value band3_value band4_value
[pixel 3] band1_value band2_value band3_value band4_value
...
[pixel 40] band1_value band2_value band3_value band4_value

It seems crazy, but I cannot find an ENVI function that does this. It should be
easy to write such an ENVI-callable IDL function, but if there is a way of doing
it with existing ENVI functions, it would save me the work.

I appreciate any help. Thanks.

John McFee
--
Dr. John E. McFee
Defence Research Establishment Suffield
Box 4000, Medicine Hat, AB Canada T1A 8K6
(403) 544-4739 (voice) 544-4704 (fax)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: [Q] windbarbs / idlmeteo
Next Topic: Error Estimates with POWELL and/or CONSTRAINED_MIN

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

Current Time: Wed Oct 08 17:55:03 PDT 2025

Total time taken to generate the page: 0.00783 seconds