Crossed grating imaging is used to estimate the position of a camera.
Camera position and perspective correction are performed with a single-shot.
The focal length of the camera lens is obtained from few frames.
The processing algorithm is non-iterative and possesses low computational complexity.
The proposed method could be used in dynamic measurement systems.