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

Home » Public Forums » archive » Re: area inside tracings
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: area inside tracings [message #66550 is a reply to message #66549] Thu, 21 May 2009 14:52 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian Larsen writes:

> Something like this seems promising
> http://en.wikipedia.org/wiki/Pick%27s_theorem
>
> Anyone ever thought about this?

If your object is a simple polygon or "blob", as in
the description above, then Find_Boundary will
automatically find the boundary pixels for you
and calculate perimeter distance, center, and area (in
two slightly different, but correct, ways).

http://www.dfanning.com/programs/find_boundary.pro

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Is a dynamically sized pointer array object component possible?
Next Topic: Using [XYZ]TICKFORMAT for dynamic formatting

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

Current Time: Sun Oct 12 05:14:26 PDT 2025

Total time taken to generate the page: 0.88009 seconds