A Noise‐aware Filter for Real‐time Depth Upsampling

Derek Y. Chan, Hylke Buisman, Christian Theobalt, Sebastian Thrun2008

TL;DR

This paper introduces NAFDU, a novel "noise-aware" filter that upsamples low-resolution, noisy depth data from time-of-flight cameras to match high-resolution video. It effectively combats texture copying artifacts, a common problem in existing methods, while achieving real-time performance on GPUs.

What Problem Does This Paper Address?

Modern 3D range sensors, like time-of-flight (ToF) cameras, can capture depth maps at video frame rates. However, this speed comes at a cost: the depth data is often noisy and has a limited spatial resolution (e.g., 176x144 pixels). This significantly hinders applications requiring detailed 3D scene understanding, such as robotics, 3D video reconstruction, and human-computer interaction. To overcome this, researchers often fuse this low-resolution depth data with high-resolution color images from standard cameras. The challenge lies in upsampling the depth data to match the video resolution without introducing unwanted artifacts, particularly "texture copying," where details from the color image incorrectly appear in the reconstructed 3D geometry, especially in smooth or noisy depth regions.

Methods

The core contribution is the Noise-Aware Filter for Depth Upsampling (NAFDU). This method builds upon the concept of joint bilateral upsampling (JBU), which uses a high-resolution intensity image to guide the upsampling of a low-resolution depth map. JBU's key idea is to use the intensity image's edges to preserve depth edges, preventing blurring.

NAFDU introduces a crucial modification: it's noise-aware. It employs a blending function that adaptively switches between two modes:

  • Case I (Standard Bilateral Upsampling): Similar to JBU, it uses the high-resolution intensity image for edge preservation. This is suitable for regions where depth and intensity correlations are reliable.
  • Case II (Depth-Only Smoothing): This mode relies solely on the low-resolution depth data for smoothing, effectively acting as a depth-domain edge-preserving filter. This is crucial for noisy regions where intensity information might mislead the upsampling process.

The blending function α(ΔΩ) determines the influence of each case based on ΔΩ, a measure of the local depth variation in a low-pass filtered depth map. If ΔΩ is small (indicating a smooth region likely contaminated by noise), Case II is favored. If ΔΩ is large (indicating a true geometric detail), Case I is preferred. This adaptive approach prevents texture copying by downplaying the influence of potentially misleading color information in noisy or smooth depth areas. The entire pipeline is designed for efficient GPU implementation.

Datasets

The authors used the following:

  • Custom recorded sequences: Captured with a Mesa Swissranger SR3100 (ToF camera) and a Point Grey Flea2 (high-resolution video camera).
  • Middlebury stereo benchmark dataset: Specifically, the "Cones," "Teddy," and "Venus" scenes, which provide ground truth depth maps for quantitative evaluation. These ground truth depth maps were downsampled to simulate the low-resolution input from a ToF sensor.

Key Insights and Ideas

  • The "noise-aware" aspect is critical: Simply using intensity to guide depth upsampling (like JBU) is problematic when the depth data is noisy, leading to texture copying. NAFDU's adaptive switching mechanism directly addresses this.
  • Distinguishing noise from geometry is key: The ΔΩ metric, calculated on a low-pass filtered depth map, is an effective heuristic for differentiating between noisy smooth surfaces and actual geometric discontinuities.
  • GPU acceleration is essential for real-time performance: The filter's design is inherently parallelizable, making it well-suited for modern GPUs, which is vital for real-time applications.
  • Texture copying is a significant artifact: The paper clearly demonstrates how existing methods fail to prevent this, and how NAFDU successfully mitigates it, leading to more faithful 3D reconstructions.

Key Results

  • Improved Reconstruction Quality: NAFDU successfully upsamples low-resolution depth maps to high resolution, significantly reducing noise and preserving sharp geometric details.
  • Artifact Prevention: The method effectively prevents texture copying artifacts, which are present in results from MRF and JBU methods, especially on noisy data.
  • Real-time Performance: The GPU implementation achieves real-time upsampling (e.g., 49 ms per frame for upsampling from 176x144 to 800x600 resolution), making it practical for live 3D sensing.
  • Quantitative Accuracy: On the Middlebury dataset, NAFDU's performance is comparable to or better than MRF-based upsampling, particularly in cases with noise. Table 1 shows RMSE values, where NAFDU often outperforms MRF, especially on challenging scenes.

Limitations and Future Work

  • Heuristic Blending Function: The current blending function relies on manually set parameters (ε and τ) and a heuristic model. Future work aims to learn the correct blending function from real data.
  • 2D Image Plane Definition: The filter is currently defined in the 2D image plane. Investigating a local 3D domain definition could lead to further improvements.
  • Spatial Resolution Limits: While the paper demonstrates upsampling to video resolution, further research is needed to determine the limits of effective spatial resolution increase.
  • Quantization Artifacts: The current implementation uses 8-bit quantization, leading to some stepping artifacts. Moving to a full floating-point pipeline will resolve this.
  • Alignment Accuracy: The warping-based alignment method might lead to slight misalignments between depth and video, especially around sharp edges. An ideal hardware solution with shared optics would greatly facilitate alignment.

Summary updated

Abstract

A new generation of active 3D range sensors, such as time-of-flight cameras, enables recording of full-frame depth maps at video frame rate. Unfortunately, the captured data are typically starkly contaminated by noise and the sensors feature only a rather limited image resolution. We therefore present a pipeline to enhance the quality and increase the spatial resolution of range data in real-time by upsampling the range information with the data from a high resolution video camera. Our algorithm is an adaptive multi-lateral upsampling filter that takes into account the inherent noisy nature of real-time depth data. Thus, we can greatly improve reconstruction quality, boost the resolution of the data to that of the video sensor, and prevent unwanted artifacts like texture copy into geometry. Our technique has been crafted to achieve improvement in depth map quality while maintaining high computational efficiency for a real-time application. By implementing our approach on the GPU, the creation of a real-time 3D camera with video camera resolution is feasible.
BibTeX
@misc{chan2008noiseaware,
  author = {Derek Y. Chan and Hylke Buisman and Christian Theobalt and Sebastian Thrun},
  title = {{A Noise‐aware Filter for Real‐time Depth Upsampling}},
  year = {2008},
}
Figure