I thinks that the image is scaled to [-1, 1] x [-1, 1] where (-1, 1) is the (0,0) pixel in the original image and (1, 1) is the (128, 128) pixel (in your case).
So if you want to translate x pixels you should out x / 128 for 128 x 128 images in your case.
Cheers.