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

Home » Public Forums » archive » Re: print, pixel coordinates?
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: print, pixel coordinates? [message #49503] Tue, 01 August 2006 12:47 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
oops, I forgot one parameter

indices1D = where(data gt 0)
indices2D = array_indices(data, indices1D)

for each location i
x = indices2D[0,i]
y = indices2D[1,i]

Jean

> adisn123@yahoo.com wrote:
>
>> Hello,
>>
>> Is there any command or procedure that prints out pixel coordinates in
>> an array such as
>>
>> (140, 100) ;; x pixel coordinate 140 and y pixel coordinate 100 ?
>>
>> I'm trying to get the only pixel coordinates corresponding to their
>> pixel values are greater 0 (zero).
>>
>> Thanks.
>>
[Message index]
 
Read Message
Read Message
Previous Topic: print, pixel coordinates?
Next Topic: correlation of images

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

Current Time: Wed Oct 08 20:03:07 PDT 2025

Total time taken to generate the page: 0.02631 seconds