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

Home » Public Forums » archive » Re: Finding boundary and using plots
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: Finding boundary and using plots [message #37952] Fri, 06 February 2004 06:21 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nuno Oliveira writes:

> I'm doing little tests in here. And this doesn't bother you because if you
> have your own ROI tool, and probably you prevent this in other place. But if
> you call your find boundary with two regions that are not connected it will
> only return one of them.

Yes, exactly. FIND_BOUNDARY was developed as a method
for getting quantitative information about "blobs".
(And because I got a strange and inexplicable
fascination with chain-code algorithms one morning.)
If you have more than one blob, use LABEL_REGION
to identify them and process them one by one. I think
this is explained in the documentation for FIND_BOUNDARY.
(If not, it will be, since you are not the first to ask
about this.)

> Referring to my question yesterday, and while and I'm still using cw_defroi,
> the only solution indeed to return not only an array but as many arrays as
> the regions not connected. It means more pointers but I think that's the
> only solution to non-contiguous regions. Then I use PLOTS individually for
> each region.

Sounds like a winner to me. :-)

Cheers,

David

P.S. You are checking to be sure you are not
leaking memory, right?

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: using icontour multiple times
Next Topic: Mathematical manipulations

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

Current Time: Fri Oct 10 09:46:58 PDT 2025

Total time taken to generate the page: 0.88131 seconds