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

Home » Public Forums » archive » Re: polyfillv and the boundary pixels
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: polyfillv and the boundary pixels [message #37700 is a reply to message #37680] Fri, 16 January 2004 00:02 Go to previous messageGo to previous message
Karsten Rodenacker is currently offline  Karsten Rodenacker
Messages: 98
Registered: July 1997
Member
Search in the list (http://groups.google.com/) for "Area of a blob" and
"object IDLanROI and polyfillv". I think the point mentioned is still an
open topic.

Regards

Bruce Bowler wrote:

> Situation, I want to find the pixels within AND on the boundry of a
> polygon defined by an array of vertices. polyfillv does the "inside" and
> some of the pixels on the border (see the reference guide for a brief
> description of how they decide and a pointer to a more exhaustive treatise
> on the subject).
>
> Simplistic example
>
> array = fltarr(30,30)
> x = [19,20,20,19]
> y = [19,19,20,20]
> z = polyfillv(x,y,30,30)
>
> z ends up with only 1 pixel in it, 589, which is (if I did the math right
> :-) [19,19]. What I'd like to find in z is [589,590,619,620].
>
> Obviously, my polygons are a little more complex than the above, some with
> 100 or more vertices.
>
> Any options I missed in polyfillv? Any routine I missed that will give
> just the border? Any other thoughts on how to meet my goals?
>
> IDL 5.6, in case it matters.
>
> Thanks!
> Bruce
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL vs Direct3D, OpenGL
Next Topic: IDL6 on FreeBSD5.2?

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

Current Time: Sun Oct 12 17:22:23 PDT 2025

Total time taken to generate the page: 0.93228 seconds