correspond values

dani's icon

Hi
Does anybody know how to correspond the location values of a
grid to correspond it to the location of images that appear on a screen...
Any idea of the object that I might use for that, or a hint?

Daniela

Peter Nyboer's icon

not quite clear on what you are looking to do, but I've found
jit.gencoord to be very useful in describing and decoding grids...

p

danielast's icon

Peter thanks
Iam looking into that. I am trying to correspond the location values
from a preasurre sensitive board to the screen.
Daniela

Wesley Smith's icon

Do you mean that you have a pressure sensitive grid with which you
want to change some corresponding grid on the screen?

wes

danielast's icon

Yes exactly the only thing is that I have two coming values preasurre
and location.

Wesley Smith's icon

Ok, well it's still unclear what you want to do although I have an
idea as to what your setup is. If you're just trying to correspond a
pressure location to a screen location, then it should be quite simple
to figure out how to map one to the other. Imagine you have a
coordinate system for your mat and a coordinate system for your image.
Getting one point on the map to correspond to one point on the screen
is simply a matter of determining how the coordinates transform from
one space to the other. Basically, figuring out relative orientation
(is one flipped with respect to the other?), figuring out relative
scale (is one bigger than the other?) etc. Your values should all
follow the same transformation if you are dealing with 2 grids.

wes

Peter Nyboer's icon
dani's icon

Hello
Thanks for the explanation and patch.. I am sorry that it took me a while to read the answer..but I am new to this mailing list and I am still confused between the mailing list and this list...
Daniela