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

Home » Public Forums » archive » 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: plots [message #52822 is a reply to message #31799] Fri, 02 March 2007 08:05 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ashraf writes:

> These are integer pixel coordinates which form a closed boundary of an
> object, so each pixel will have at least two neighbours. I guess my
> question is how do you trace the boundary of an object if the all you
> have is an 2D array of noncontiguous pixel coordinates.

I think the answer was, you don't. At least not in
any unique way. If you DO want a unique path, you
are going to have to come up with something other than
this. :-)

You can always look for the point that is closest
to the point you are sitting on, but there is absolutely
no guarantee that this is the *next* point in any meaningful
sense.

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: make and read a subset of a tiff image
Next Topic: plots

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

Current Time: Sun Oct 12 14:22:28 PDT 2025

Total time taken to generate the page: 1.35370 seconds