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

Home » Public Forums » archive » pollyfillv, area of a blob, etc...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
pollyfillv, area of a blob, etc... [message #59581] Wed, 02 April 2008 23:16 Go to previous message
JP is currently offline  JP
Messages: 55
Registered: April 2008
Member
G'day everyone,

I need to create a mask of pixels contained within a polygon. I tried
with POLYFILLV, but the problem I have is that my polygons are small
compared to the pixel size and in some cases there are no pixel
centers within my polygon and POLYFILLV returns -1.

I found the discussions about this, including "POLYFILLV weirdness",
"Area of a Blob", etc. For my particular application it doesn't really
matter the criteria I use for selecting the pixels, but at least I
need to get the array indices for the pixels that "touch" each
polygon.

By the way, ENVI's vector to ROI procedure is probably using
POLYFILLV as well and I don't get any ROI out of those small
polygons.

Any help will be very much appreciated.

JP
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Curl, Gradient and Divergence
Next Topic: Does the ENVI_SVM_DOIT function have memory leak problem?

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

Current Time: Wed Oct 08 19:44:15 PDT 2025

Total time taken to generate the page: 0.00481 seconds