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

Home » Public Forums » archive » Re: Get X and Y (sample,line) of an ENVI ROI
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
Re: Get X and Y (sample,line) of an ENVI ROI [message #43171] Mon, 21 March 2005 01:11
enod is currently offline  enod
Messages: 41
Registered: November 2004
Member
I think the following ENVI function can satisfiy your needs.

ENVI_GET_ROI : Returns ROI pixel addresses as 1-D subscripts

*Note: The coordinates are in pixel and have nothing to do with
geographic information.

Tian.

envi35@yahoo.ca wrote:
> Hi There,
> I want to do some math calculation with the coordinates associated
with
> an ENVI ROI file, the (x,y) or (sample,line). I googled this
wonderful
> group and learned how to open an ENVI ROI and get its index. I guess
> there is another function to read the coordinates of the ROI, maybe
> quite straight forward, but I'm new with both IDL and ENVI batch
> processing, can't figure out how. Could you give me a hand upon this?
>
> Thanks, Jenny
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Modal dialog - returning values
Next Topic: Converting INT to STRING out of space...

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

Current Time: Fri Oct 10 11:03:57 PDT 2025

Total time taken to generate the page: 0.39677 seconds