NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SGE: Structured Light System Based on Gray Code with an Event Camera

Xingyu Lu, Lei Sun, Diyang Gu, Zhijie Xu, Kaiwei WangarXiv 2024 · DOI

Abstract

High-speed 3D sensing is critical for robotics and dynamic scene analysis, yet traditional structured light (SL) systems are often constrained by the low frame rates and high data redundancy of conventional cameras. This paper introduces SGE (Structured Gray-code Event-based), a novel 3D sensing system that leverages the unique properties of event cameras. By employing binary Gray code temporal encoding, SGE moves away from error-prone timestamp matching to a more robust sequence-based approach. The system achieves depth acquisition speeds exceeding 1000 Hz and real-time 720p processing at 200 Hz with millimeter-level precision. Key innovations include a specialized calibration scheme (SEC) and a high-speed lookup table (GX-map) for efficient disparity calculation.

Introduction

Traditional SL systems, such as those used in 3D scanners and facial recognition, rely on frame-based cameras. These sensors are inherently limited by fixed frame rates (typically 30–60 Hz) and generate significant redundant data. While high-speed cameras can mitigate these issues, they are prohibitively expensive and produce overwhelming data volumes.

Event cameras, or Dynamic Vision Sensors, offer an alternative by asynchronously reporting intensity changes at microsecond resolution. However, existing event-based SL methods typically use point or line scanning, which are highly sensitive to timestamp noise—latency and jitter that can lead to significant triangulation errors. SGE addresses these challenges by combining Gray code patterns with event-based sensing to create a robust, high-speed solution.

The SGE System Architecture

The SGE system utilizes the synergy between binary Gray code and the "on/off" nature of event camera signals. Unlike point-scanning, Gray code encoding uses a sequence of binary stripe patterns.

Overview of the SGE system pipeline, showing the transition from Gray code projection to event-based 3D reconstruction.

The core strength of SGE lies in its reliance on the sequence of patterns rather than the exact arrival time of individual events. This makes the system robust against hardware-induced timestamp jitter. To further enhance performance, the system incorporates the GX-map (Gray code X-map), a pre-calculated lookup table that bypasses computationally expensive epipolar line searches, resulting in a 250x processing speedup. Additionally, a time-overlapping strategy allows for high-throughput depth map updates by using a sliding window of projected patterns.

Calibration and Optimization

Calibrating event cameras is non-trivial because they do not perceive static scenes. To solve this, the authors proposed SEC (Simple Event-based SL Calibration).

The SEC calibration process utilizing a flickering LCD to display chessboard patterns for event camera and projector alignment.

As shown in the figure above, SEC uses a flickering LCD to display a chessboard pattern, creating the intensity changes necessary for the event camera to "see" the calibration target. This allows for simultaneous sub-pixel calibration of both the camera and the projector, ensuring the accuracy required for high-precision depth estimation.

Key Results

The SGE system was evaluated using both laser-point and high-speed DLP projector setups across a variety of static and dynamic scenes. Key performance metrics include:

  • High Speed: Achieved a depth acquisition rate of over 1000 Hz, representing a 41x improvement over some scanning-based methods.
  • Real-time Performance: The pipeline maintains 200 Hz performance at 1280 x 720 resolution on a standard GPU (RTX 3060).
  • Precision: The system achieved millimeter-level accuracy with a Root Mean Square Error (RMSE) of less than 2.34mm, approximately 1/200 of the average scene depth.
  • Dynamic Robustness: SGE effectively captures high-speed motion, such as rotating fans or collapsing structures, without the "rolling shutter" distortions common in traditional scanning-based methods.

Conclusion

SGE represents a significant advancement in high-speed 3D sensing. By harmonizing Gray code encoding with event-based vision, the system achieves unprecedented speed and robustness. While performance currently depends on the balance between ambient light and projector intensity, future work focusing on C++ optimization and edge device implementation could enable ultra-high-speed 3D sensing for a wide range of mobile and robotic applications.

Summary updated

BibTeX
@misc{lu2024sge,
  author = {Xingyu Lu and Lei Sun and Diyang Gu and Zhijie Xu and Kaiwei Wang},
  title = {{SGE: Structured Light System Based on Gray Code with an Event Camera}},
  year = {2024},
  eprint = {2403.07326},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.07326},
}
Figure