Real-time computer stereo vision for automotive applications

Rui FanBristol 2018

Introduction

Computer stereo vision is a fundamental component of autonomous vehicle navigation, enabling systems to perceive depth by comparing two-dimensional images from offset cameras. However, deploying these systems in real-world automotive environments presents a significant challenge: the "speed vs. accuracy" trade-off. While global algorithms offer high precision, they are often too computationally intensive for high-speed driving. Conversely, faster local algorithms frequently struggle with "textureless" surfaces, such as smooth asphalt, leading to errors in critical tasks like lane tracking and pothole detection.

This research addresses these challenges by introducing a high-speed, high-accuracy stereo vision pipeline optimized for autonomous driving. By leveraging the inherent geometric constraints of road surfaces and utilizing GPU acceleration, the proposed system achieves real-time performance without sacrificing the precision required for civil engineering-grade road assessments.

Methodology

The core of this work lies in several novel algorithmic optimizations designed to reduce computational overhead while maintaining robust depth estimation.

Search Range Propagation (SRP)

To overcome the inefficiency of searching entire images for matching pixels, the system employs Search Range Propagation. This technique exploits the fact that road depth changes gradually. By "propagating" the search range from previously calculated pixels in the row below, the algorithm drastically narrows the search space. This geometric shortcut allows the system to ignore approximately 90% of potential matches, significantly accelerating processing speeds.

Optimized Normalised Cross-Correlation (NCC)

The matching cost function, Normalised Cross-Correlation (NCC), was factorized and optimized using integral images. By pre-calculating means and variances, the matching process is reduced to a simple dot product. Furthermore, the system implements perspective warping, transforming the target image to match the reference image's perspective before matching. This minimizes distortion on slanted road surfaces, which typically plagues standard stereo matching.

V-Disparity Modeling and Lane Detection

For lane detection, the pipeline utilizes "v-disparity" maps—histograms of disparity per row. Unlike traditional models that assume a perfectly flat road, this work models the road as a parabola. It employs RANSAC (Random Sample Consensus) to robustly calculate the vanishing point, effectively ignoring outliers such as other vehicles or pedestrians that might otherwise clutter the disparity map.

Two-Step Quadratic Surface Fitting for Pothole Detection

Detecting small-scale road damage requires extreme precision. The system first transforms the disparity map to "flatten" the road perspective. It then fits a quadratic surface using a two-step process: a coarse estimate identifies the general road plane, followed by an iterative refinement. By integrating surface gradients (slopes) into the RANSAC model, the system can distinguish between sensor noise and the sharp-edged geometry of an actual pothole.

Experimental Setup and Datasets

The algorithms were evaluated using a combination of industry-standard benchmarks and custom-collected data:

  • KITTI Stereo 2012: Used to benchmark disparity estimation against state-of-the-art autonomous driving algorithms.
  • EISATS: Synthetic stereo sequences were utilized to test the robustness of roll-angle estimation.
  • Custom Pothole Datasets: Three new datasets were captured using a ZED stereo camera. These included 3D-printed road models with precisely measured potholes to provide a definitive ground truth for millimeter-scale accuracy testing.

Key Results

The proposed pipeline demonstrates industry-leading performance across several metrics:

  • Processing Speed: The lane detection system achieved a throughput of 143 fps on a heterogeneous hardware setup (Intel i7 CPU + NVIDIA GTX 970M GPU), exceeding the requirements for high-speed highway navigation.
  • Reliability: The lane detection algorithm maintained a 99.5% success rate across nearly 2,500 test frames.
  • Precision: 3D road reconstruction achieved an absolute error range of 0.1 mm to 3 mm, meeting the strict standards required for automated civil engineering road inspections.
  • Detection Accuracy: The robust two-step modeling approach resulted in a pothole detection rate of approximately 99%.

Conclusion and Future Work

This research demonstrates that geometric constraints and targeted hardware acceleration can bridge the gap between real-time performance and high-precision depth sensing. While the system is highly effective, challenges remain in extreme lighting conditions and scenarios involving heavy occlusions, such as large vehicles blocking lane markings.

Future developments will explore the integration of Deep Learning for more robust vanishing point estimation in complex urban intersections. Additionally, integrating these algorithms with SLAM (Simultaneous Localization and Mapping) could allow vehicles to contribute to city-wide databases of road damage, facilitating more efficient municipal repairs.

Summary updated

BibTeX
@inproceedings{fan2018real,
  author = {Rui Fan},
  title = {{Real-time computer stereo vision for automotive applications}},
  booktitle = {Bristol},
  year = {2018},
}
Figure