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

Home » Public Forums » archive » Re: pixel value to x and y position
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: pixel value to x and y position [message #67502 is a reply to message #67487] Thu, 30 July 2009 08:53 Go to previous messageGo to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
On Jul 30, 4:27 am, mark nolan <marknolan2...@gmail.com> wrote:
> hi everyone!
>
> can anyone check if this is correct way to convert pixel value to x
> and y position (iam trying
> to write a simple tracking code in IDL):
>
> y = pixel_value/width_picture
> x = pixel_value mod width_picture
>
> i really have time on the x,it gives a wrong result. i think i got the
> y coordinate correctly.
>
> thanks and GOD bless!
>
> mark

is array_indices what you are looking for? how about using these free
particle tracking procedures: http://www.physics.emory.edu/~weeks/idl/

G
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: oplot with colours
Next Topic: Question about the installation of IDL AACGM DLM

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

Current Time: Sat Oct 11 14:45:31 PDT 2025

Total time taken to generate the page: 1.35841 seconds