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

Home » Public Forums » archive » finding cluster boundary
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
finding cluster boundary [message #79248] Wed, 08 February 2012 13:41
biophys is currently offline  biophys
Messages: 68
Registered: July 2004
Member
Hi, Folks

I've got a collection of 2D points that have already been identified
as a cluster. Is there a quick way to extract the boundary points of
the cluster? I understand the easiest way is to use TRIANGULATE
procedure to get the boundary points in counterclockwise order.
However, the points returned are like a convex envelope of the cluster
which does not represent the real shape of the cluster. It looks like
that I might need to specify that the edge of the boundary polygon can
not be larger than a certain length. Any suggestions?

Thanks a lot,
BP
--
TRIANGULATE, X, Y, Triangles, B
plot, X, Y, psym=1, color=color
plots, X[B], Y[B], color=color
plots, X[B[0]], Y[B[0]], color=color, /continue
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: !NULL in IDL 7.1 vs. 8.0
Next Topic: Re: finding cluster boundary

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

Current Time: Wed Oct 08 13:52:32 PDT 2025

Total time taken to generate the page: 0.07418 seconds