A digitalized image is usually stored in a frame buffer, that can be seen as a matrix of pixels with W columns and H rows. Let (i,j) be the discrete frame coordinates of the image with origin in the upperleft corner, (Ox,Oy) be the focal point of the lens (the intersection between the optical axes and the image plane) in the frame coordinates, and (x,y) be the image coordinates.