Critical motion sequences for the self-calibration of cameras and stereo systems with variable focal length