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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: area inside tracings [message #66549] Thu, 21 May 2009 14:58
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
Excellent, this is why you ask questions since sometimes the answer is
easy.





Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
http://people.bu.edu/balarsen/Home/IDL
Re: area inside tracings [message #66550 is a reply to message #66549] Thu, 21 May 2009 14:52 Go 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.")
Re: area inside tracings [message #66551 is a reply to message #66550] Thu, 21 May 2009 14:44 Go to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
Something like this seems promising
http://en.wikipedia.org/wiki/Pick%27s_theorem

Anyone ever thought about this?





Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
http://people.bu.edu/balarsen/Home/IDL
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 09:22:05 PDT 2025

Total time taken to generate the page: 0.00613 seconds