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

Home » Public Forums » archive » un-Mask?/PolyOutlineV?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
un-Mask?/PolyOutlineV? [message #29718] Thu, 07 March 2002 07:31
parrhasius is currently offline  parrhasius
Messages: 2
Registered: February 2002
Junior Member
I've seen this question before in the old postings, but it has not
really been answered. Given a mask of a region or the subscripts of a
region interior, such as returned by IDLgrROI::COMPUTEMASK() or
POLYFILLV(), is there an easy/elegant/already-programmed way to get
back the vertices of the bounding polygon, in connectivity order? I
don't want the convex hull from TRIANGULATE, and CONTOUR, PATH_XY= not
only messes up when the region goes concave but in my experience
returns multiple vertices in the vicinity of each vertex (8 vertices
to contour a square mask, etc.). The brute force method of returning
all the points on the mask border in no particular order and then
attempting to sort and reduce them just can't be the best solution,
nor can testing every triangulated triangle to see if it actually
contains interior points... Any ideas?

Thanks.
[Message index]
 
Read Message
Previous Topic: Color tables
Next Topic: Re: un-Mask?/PolyOutlineV?

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

Current Time: Sat Oct 11 10:51:16 PDT 2025

Total time taken to generate the page: 0.15875 seconds