A novel lane feature extraction algorithm implemented on the TMS320DM6437 DSP platform

Yifei Wang, Naim Dahnoun, Alin Achim2009

Abstract

This paper presents an implementation of a novel lane edge feature extraction algorithm based on digital interpolation. The method is based on the observation that by zooming towards the vanishing point, the positions and the sizes of the lanes will not change significantly while other objects will. Comparing the zoomed image with the original image allows us to remove most of the unwanted features from the lane feature map. The proposed algorithm shows outstanding performance on extracting features belonging solely to the lanes embedded in severe noise environment. The algorithm runs in real-time on the TMS320DM6437 DSP platform from Texas Instruments. The system implemented can achieve at least 23 fps, without performing any code optimisation but only considering memory management.

Introduction

Lane detection is a cornerstone of Advanced Driver Assistance Systems (ADAS), yet it remains challenging in real-world environments. Standard edge detection algorithms often capture significant noise, such as tree shadows, road textures, other vehicles, and roadside barriers. Traditional systems typically extract all edges first and then apply complex models like Hough transforms or Kalman filters to isolate lanes. This paper proposes a different approach: moving the "intelligence" upstream by using global geometric road properties to filter noise during the feature extraction stage itself.

Methodology

The core of the proposed system is a technique termed Digital Interpolation on Lane Images. This method leverages the geometric principle that on a straight road, lanes converge at a single vanishing point (VP) on the horizon.

Flowchart of the proposed lane feature extraction algorithm.

The algorithm operates in several distinct stages:

  1. Vanishing Point Detection: Using Sobel edge detection and an accumulator-based voting process, the system identifies the most likely VP. To accommodate curved roads, the image is partitioned into horizontal bands, with a local VP calculated for each.
  2. The "Zoom" Trick: A region surrounding the VP is selected and interpolated (zoomed) back to the original image dimensions.
  3. Feature Comparison: Because lanes radiate from the VP, their image positions are invariant under this specific zoom transformation. Conversely, non-lane objects (e.g., adjacent cars or shadows) shift or change size significantly.
  4. Logical Filtering: A "logical AND" operation is performed between the original and zoomed edge maps. Edges that persist in both maps and maintain their orientation are preserved as valid lane features.
  5. Iteration: This process is repeated approximately 10 times with varying zoom ratios to progressively eliminate non-lane noise.
Visual representation of the interpolation and comparison process used to isolate lane features.

Implementation and Performance

The system was implemented on a Texas Instruments TMS320DM6437 DSP, a 600MHz fixed-point processor. Real-time performance of at least 23 fps was achieved primarily through efficient memory management rather than complex code optimization. Specifically, Enhanced Direct Memory Access (EDMA) was utilized to transfer image "strips" into fast internal L1/L2 RAM, minimizing CPU idle time.

Computational analysis revealed that 82% of the processing power was dedicated to digital interpolation and feature extraction, while VP detection accounted for 18%. The use of the 'IQmath' library enabled high-precision fixed-point calculations for the interpolation steps.

Results and Discussion

Evaluation using NTSC video sequences (352 x 240 resolution) demonstrated the algorithm's robustness in challenging conditions, including heavy shadows and dense traffic. By utilizing global shape information (the VP) during initial extraction, the computational burden on subsequent detection and tracking stages is significantly reduced due to the cleaner input data.

However, some limitations remain. While horizontal banding aids with curves, the interpolation logic is fundamentally rooted in straight-line geometry, potentially struggling with very sharp turns. Additionally, aggressive zooming can occasionally "erase" the upper portions of segmented lane markings, necessitating careful tuning of the zoom ratio.

Conclusion

This research demonstrates that geometric invariance can serve as a powerful filter for lane detection. By shifting noise reduction to the feature extraction stage, the system achieves high robustness and real-time efficiency on standard automotive DSP hardware. Future work may explore utilizing hardware-based "Resizer" modules to further offload the CPU.

Summary updated

BibTeX
@misc{wang2009novel,
  author = {Yifei Wang and Naim Dahnoun and Alin Achim},
  title = {{A novel lane feature extraction algorithm implemented on the TMS320DM6437 DSP platform}},
  year = {2009},
  doi = {10.1109/icdsp.2009.5201242},
}

Loading related content...

Figure