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

Home » Public Forums » archive » Re: Thinning problems...
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: Thinning problems... [message #61949] Tue, 12 August 2008 15:15
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Sheerin writes:

> My problem might have something in common with the last post but I have an
> array of floats (actually the result of bandpass filtering an image) and am
> left with a landscape of blobs with local maxima. What I would like is to
> obtain the coordinates of these maxima. I have tried using "THIN" with but
> this sometimes generates lines rather than fixed points. How do I go about
> trying to the reduce these lines to one point? I have tried using "/PRUNE"
> but this just reduces the line to one of the end points rather that the
> middle one. Thanks for any suggestions...

I usually just find the blobs with LABEL_REGION, then one-by-one
find the center of mass of the blob. Or, if you prefer, you
can find the boundary around the blob and other useful information:

http://www.dfanning.com/ip_tips/boundary.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Thinning problems...
Next Topic: Rough Sets

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

Current Time: Fri Oct 10 22:11:20 PDT 2025

Total time taken to generate the page: 0.47600 seconds