Re: Get X and Y (sample,line) of an ENVI ROI [message #43171] |
Mon, 21 March 2005 01:11 |
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
|
|
|