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

Home » Public Forums » archive » Re: Chain-Link Algorithm for Perimeter
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: Chain-Link Algorithm for Perimeter [message #30385 is a reply to message #30322] Fri, 26 April 2002 13:58 Go to previous message
gutmann is currently offline  gutmann
Messages: 11
Registered: December 2001
Junior Member
heh, I wrote something to remove the boundary pixels following a
contour when I was first learning IDL. You're welcome to it though it
comes with all the standard caveats about my not being responsible for
it eating your machine and kicking you out of the house.

(warning lots of for loops ahead)
http://aster.colorado.edu/tmp/edgeRemove.pro

I think it follows a very similar algorithm, I don't think I've ever
come across a shape it died on (as long as two shapes aren't
touching). I originally wrote c-code to trace sand grain boundaries
so it saw some pretty ugly shapes, this is modified from the c-code
but it should be equally robust to odd boundaries.


Ethan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: environment variables on windows
Next Topic: Need your help on changing visual class from Directcolor to True

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

Current Time: Sat Nov 29 11:07:04 PST 2025

Total time taken to generate the page: 0.64134 seconds