Abstract
We present a new approach to direct depth estimation for Spatial Augmented Reality (SAR) applications using event cameras. These dynamic vision sensors are a great fit to be paired with laser projectors for depth estimation in a structured light approach. Our key contributions involve a conversion of the projector time map into a rectified X-map, capturing x-axis correspondences for incoming events and enabling direct disparity lookup without any additional search. Compared to previous implementations, this significantly simplifies depth estimation, making it more efficient, while the accuracy is similar to the time map-based process. Moreover, we compensate non-linear temporal behavior of cheap laser projectors by a simple time map calibration, resulting in improved performance and increased depth estimation accuracy. Since depth estimation is executed by two lookups only, it can be executed almost instantly (less than 3 ms per frame with a Python implementation) for incoming events. This allows for real-time interactivity and responsiveness, which makes our approach especially suitable for SAR experiences where low latency, high frame rates and direct feedback are crucial. We present valuable insights gained into data transformed into X-maps and evaluate our depth from disparity estimation against the state of the art time map-based results. Additional results and code are available on our project page: https://fraunhoferhhi.github.io/X-maps/
Introduction
Spatial Augmented Reality (SAR) overlays digital information directly onto physical objects, creating immersive environments. However, maintaining this immersion requires extremely low latency; any delay between an object's movement and its corresponding projection update breaks the user's sense of presence. Traditional depth-sensing technologies often struggle with high-speed motion due to frame-rate limitations, typically capping out at 30 fps.
Event cameras, which capture pixel-level intensity changes with microsecond precision, offer a promising alternative. When paired with structured light, such as laser projectors, they can provide high-frequency depth data. Yet, the computational cost of "correspondence searching"—matching camera events to projector pixels—has remained a significant hurdle. This paper introduces X-maps, a novel data structure that eliminates the need for runtime searches, enabling real-time SAR at over 60 Hz.
Methodology: The X-map Concept
The primary contribution of this work is the conversion of the projector's temporal data into a rectified lookup table called an X-map. In traditional event-based structured light systems, "time maps" record when a laser hits a specific pixel. Finding depth requires searching these maps along epipolar lines to find a matching timestamp, a process that is computationally expensive.
X-maps invert this logic. They pre-calculate the projector's $x$-coordinate as a function of the vertical coordinate ($y$) and the time ($t$). When an event occurs at camera coordinates $(x_{cam}, y)$ at time $t$, the system performs a direct lookup in the X-map to find the corresponding projector $x$-coordinate ($x_{proj}$). The disparity $d$ is then calculated instantly: $d = x_{proj} - x_{cam}$. This transforms depth estimation into a constant-time $O(1)$ operation per event.
To account for the non-linear scan patterns of low-cost MEMS (Micro-Electro-Mechanical Systems) laser projectors, the authors developed a calibration routine. By mapping hardware-specific scan patterns into the X-map, the system achieves high accuracy without requiring expensive, high-end hardware.
Performance and Results
The X-map approach was evaluated using the ESL Public Dataset and a custom live demonstrator. The results highlight a dramatic improvement in computational efficiency:
- Processing Speed: X-maps achieved a depth map calculation time of 2.67 ms on a single CPU. This represents a 10,000x speedup over previous CPU-based state-of-the-art methods and even outperforms optimized GPU implementations by a factor of seven.
- Accuracy: The massive speed increase does not come at the cost of precision. The Root Mean Square Error (RMSE) difference compared to exhaustive search methods was less than 0.7 mm in most scenarios.
- Real-time Interaction: The system successfully demonstrated low-latency projection onto moving objects, proving its suitability for interactive SAR applications where direct feedback is crucial.
Discussion and Future Work
While X-maps offer unprecedented speed, they are sensitive to noise because they process events individually without extensive temporal filtering. Additionally, the system currently relies on identifying "frame triggers" (the start/end of a laser scan), which can be challenging in extremely sparse scenes.
Future research will focus on integrating lightweight filtering techniques and "foveated" scanning to enhance resolution on moving objects. Additionally, the team aims to combine this fast depth sensing with object tracking to enable the overlay of complex, dynamic textures on 3D objects in motion.
Summary updated