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

Home » Public Forums » archive » Re: envi_get_roi_data
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: envi_get_roi_data [message #62221] Sun, 31 August 2008 06:05 Go to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
On Aug 31, 12:46 am, "Jeff N." <jeffnettles4...@gmail.com> wrote:
> On Aug 30, 3:06 am, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
> wrote:
>
>> Good day
>
>> i did excercise from ENVI Programming documentation with ROI. from
>> ENVI i create 4 different ROIs.
>> then i use ENVI_GET_ROI_DATA function i get values of my ROI pixels, i
>> printed it
>> for check i use ENVI and use cursor/location option....
>
>> why values are different ? does ENVI_GET_ROI_DATA use some
>> interpolation algorithm?
>
> Did you check to make sure you were handling your indices the right
> way?  ENVI routines like ENVI_GET_ROI_DATA will use zero-based
> indices, while in the ENVI GUI (ie, the cursor location/value tool)
> one-based indices are used.

yes, i know about it.

now, i faced with problem.

i use following syntax:

roi_ids=ENVI_GET_ROI_IDS(NS=ns,NL=nl,ROI_NAMES=roi_names,/SH ORT_NAME)

in first runtime i have size of roi_names = 4, the same for roi_ids
second runtime size of roi_names = 8, the same with roi_ids.

why data is appended to roi_names and roi_ids ????
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: envi_get_roi_data
Next Topic: Re: Changing values of one image from ENVI

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

Current Time: Wed Oct 08 19:22:10 PDT 2025

Total time taken to generate the page: 0.00444 seconds