Hello everyone. not sure if this is the right spot for this or not, but I am trying to convert the force of gravity from meters to pixels, this is what I am thinking, can anyone tell me if this makes sense?
In the real world the force of gravity is (9.81 m/s2), however, in order to deal with gravity on screen(I need the force of gravity in order to predict the peak of a thrown motion tracked ball) I need to have a gravity force that is in pixels, not meters. I am not sure but it seems like in order to do the conversion from meters to pixels, I need to take into account the distance I am away from the camera, right?
This conversion may be simple though, say i am working with a camera that has a pixel height of 100, and i hold a tape measure up when I am, say 5(irrelevant i think) meters away from the screen and i find that at this distance the camera can see exactly 2 meters of my tape measure.
then it seems like to find my gravity effect at this range all i would need to do is
100pixels = 2m
Zpixels/s^2 = 9.81m/s^2
where Z = gravity in pixels
and in this case Z = 490.5
Can anyone confirm that this makes sense? Thanks!
1