Recovering the camera parameters from a transformation matrix