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

Home » Public Forums » archive » ENVI batch ROI
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 batch ROI [message #31139 is a reply to message #31035] Mon, 10 June 2002 21:51 Go to previous messageGo to previous message
Peter Scarth is currently offline  Peter Scarth
Messages: 9
Registered: February 2000
Junior Member
Hi John,
This code seems to work OK in 3.5 with not-to-complex rainforest polygons.
There was a bug in 3.2 that was fixed with SP2:
The user procedure ENVI_DEFINE_ROI incorrectly bounded the incoming XPTS
with number_of_lines-1 instead of number_of_samples-1
The 3.2 service pack 2 seems to have vanished from the rsinc web site, but
you can still get it from http://www.intersys21.com/product/alldown.html
It might help...
Cheers,
Peter




"John" <jdvona@yahoo.com> wrote in message
news:844e4579.0206050713.67b2d0df@posting.google.com...
> I am not an IDL programmer and need help with a routine I developed.
> The routine batch processes a GIS vector file with multiple polygons
> by creating a single ROI for each individual polygon, which then
> outputs the mean, total and standard deviation for the pixels within
> the ROI.
>
> The program has worked well for very simple polygons with few
> verticies, but I found a bug, which occurs with fairly complex (eg
> real-world) vegetation polygons. After the routine completes if I
> look at the ROI's in ENVI they have missing parts of the polygons,
> weird bisections, and filled in holes that were not part of the
> original polygon. The code which creates the ROI is below:
> I think 3.5 has this capability but I am still running 3.2 (long
> story).
> Thanks for the help.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: axis is too thin? - test.ps (0/1)
Next Topic: Limiting concatenation IDL 5.5

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

Current Time: Sun Oct 12 06:09:38 PDT 2025

Total time taken to generate the page: 0.08215 seconds