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

Home » Public Forums » archive » 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
pixel value to x and y position [message #67512] Thu, 30 July 2009 02:27 Go to previous message
marknolan2006 is currently offline  marknolan2006
Messages: 5
Registered: February 2009
Junior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: SCALE3.pro isn't doing it's job
Next Topic: workbench stops responding

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

Current Time: Fri Oct 10 14:14:22 PDT 2025

Total time taken to generate the page: 0.55943 seconds