Abstract
Online camera calibration technology can estimate the pose of the camera onboard in real time, playing an important role in many fields such as HD map production and autonomous vehicles. Some researchers use one vanishing point (VP) to calculate the pitch and yaw angle of the onboard camera. However, this method assumes that the roll angle is zero, which is impractical because of the inevitable installation error. This paper proposes a novel online camera orientation determination method based on a longitudinal vanishing point without the zero-roll hypothesis. The orientation of the camera is determined in two steps: calculating the pitch and yaw angles according to vanishing point theory, and then obtaining the roll angle with lane widths constraint which is modeled as an optimization problem. To verify the effectiveness of our algorithm, we evaluated it on the nuScenes dataset. As a result, the rotation error of the roll and pitch angle can achieve 0.154° and 0.116° respectively. Also, we deployed our method in the “Tuyou”, an autonomous vehicle developed by Wuhan University, and then tested it in the urban structured road. Our proposed method can reconstruct the ground space accurately compared with previous methods with zero-roll hypothesis.
Introduction
For an autonomous vehicle to navigate safely, it must transform 2D camera images into a 3D "bird's-eye view" (BEV) of the road through Inverse Perspective Mapping (IPM). This process relies heavily on knowing the camera’s exact orientation (extrinsic calibration). While many systems estimate pitch (tilting up/down) and yaw (turning left/right) using vanishing points, they often rely on the zero-roll hypothesis—the assumption that the camera is perfectly level.
In reality, installation errors and vehicle dynamics mean the roll is rarely zero. If the roll is ignored, the resulting BEV image becomes deformed: lanes on one side of the car appear wider than lanes on the other, leading to dangerous errors in lateral positioning. This paper introduces a real-time calibration method that determines pitch, yaw, and roll without assuming a level camera.
Methodology
The authors propose a two-step online calibration pipeline that decouples the orientation parameters:
- Decoupled Pitch and Yaw: By adjusting the order of Euler angles (pitch-yaw-roll), the researchers derived a formula to calculate pitch and yaw from a single longitudinal vanishing point (VP) independently of the camera's roll.
- Roll Optimization via Lane Widths: On structured roads, lane widths are generally constant. The authors modeled roll estimation as an optimization problem, searching for the specific roll angle that minimizes the variance between measured lane widths in the IPM projection. This process uses a custom Convolutional Neural Network (CNN) for lane segmentation.
Experimental Results
The approach was validated using the nuScenes dataset and the "Tuyou" autonomous vehicle developed by Wuhan University.
- High Accuracy: On the nuScenes dataset, the method achieved a mean rotation error of only 0.154° for roll and 0.116° for pitch.
- Real-Time Performance: The entire pipeline runs in approximately 75ms, meeting the requirements for real-time onboard processing.
- Visual Correction: Qualitative results demonstrate that while previous methods produced deformed BEV maps under installation errors, this new method successfully reconstructed the ground space accurately.
Conclusion and Future Work
By using the "equal lane width" property of modern roads as a geometric anchor, this method provides a robust way to calibrate cameras online without prior knowledge of camera height or exact lane dimensions. However, limitations remain: the system is sensitive to road curvature and relies on the presence of visible, parallel lane markers. Future work will focus on improving yaw sensitivity and adapting the algorithm for unstructured road environments.
Summary updated