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

Home » Public Forums » archive » Re: Polygon Smoothing
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: Polygon Smoothing [message #70823] Tue, 11 May 2010 06:52 Go to previous message
KRDean is currently offline  KRDean
Messages: 69
Registered: July 2006
Member
On May 10, 12:02 pm, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> I have a shape file describing a 2D polygon that is *extremely*
> complex and detailed. For my puposes, overly so. I would like
> to "simplify" or "smooth" this polygon to make it more suitable
> for my purpose (using it as a cookie-cutter for extracting data).
> Has anyone written a polygon smoothing routine, possibly using
> Bézier curves, in IDL to do such a thing? Would you be willing
> to share it?
>
> Thanks,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thue. ("Perhaps thos speakest truth.")

How about a Douglas-Peucker Algorithm?

Brad Gom submitted POLY_SIMPLIFY.pro into ITTVIS' Code Library that
uses this approximation algorithm.

Smooth Sailing!

Kelly Dean
Fort Collins, CO
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Possible to get name of current procedure from within procedure?
Next Topic: decimal numbers

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

Current Time: Fri Oct 10 13:29:19 PDT 2025

Total time taken to generate the page: 0.88066 seconds