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 #52823 is a reply to message #31799] Fri, 02 March 2007 07:57 Go to previous messageGo to previous message
ashraf is currently offline  ashraf
Messages: 4
Registered: March 2007
Junior Member
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.
Cheers
ashraf.

Paolo Grigis wrote:

> I don't believe there is a unique solution,
> how would you connect these points?
>
> x=[0,1,1,0,0.5]
> y=[0,0,1,1,0.5]
>
>
> Ciao,
> Paolo
>
> ashraf wrote:
>> Hello,
>> I have col and row coordinates of a polygon that I would like to plot
>> on an image using PLOTS function, but the data is noncontiguous, how
>> can I re-arrange the data so that it is contiguous, i.e. starting from
>> an arbitrary point on the polygon, the next point is the one coonected
>> to the first point say by moving anticlockwise and so on. Otherwise is
>> there another function in IDL that can plot noncontiguous data over an
>> image?
>> Thanks.
>>
>> ashraf.
>>
[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 04:28:20 PDT 2025

Total time taken to generate the page: 0.64283 seconds