Automatic Lens Distortion Estimation for an Active Camera