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

Home » Public Forums » archive » perimeter of a blob
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: perimeter of a blob [message #18760 is a reply to message #18634] Thu, 27 January 2000 00:00 Go to previous messageGo to previous message
Ben Tupper is currently offline  Ben Tupper
Messages: 186
Registered: August 1999
Senior Member
Thanks to each of you for your help.

I have tried the convolution and contouring methods suggested by Richard
and David respectively. I used a black (0) and white (255) image of the
capital letter G (hand drawn.)

The convolution exactly defines the inclusive perimeter of the blob. I
haven't figured out how to sort the indicies into a clockwise (or
counter clockwise order yet... but I haven't tried either.)

The contour method misses the exact inclusive perimeter whenever an
inside corner is encountered (i.e. concavity.) It cuts diagonally
across these inside corners a result. The loss is nearly insignificant
in this case, but I recall have difficulty comparing polygon perimeter
estimates made in IDL with those made on the same data in ARC/INFO.

Each method works for my current purposes.

Thanks again!

Ben


--
Ben Tupper
Pemaquid River Company
248 Lower Round Pond Road
POB 106
Bristol, ME 04539

Tel: (207) 563-1048
Email: PemaquidRiver@tidewater.net
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: TVRD() and WRITE_GIF
Next Topic: Map image with a sparse array

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

Current Time: Mon Dec 01 13:53:30 PST 2025

Total time taken to generate the page: 0.47686 seconds