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

Real-Time Depth Refinement for Specular Objects

Roy Or-El, Rom Hershkovitz, Aaron Wetzler, Guy Rosman, Alfred M. Bruckstein, Ron Kimmel

Abstract

The introduction of consumer RGB-D scanners set off a major boost in 3D computer vision research. Yet, the precision of existing depth scanners is not accurate enough to recover fine details of a scanned object. While modern shading based depth refinement methods have been proven to work well with Lambertian objects, they break down in the presence of specularities. We present a novel shape from shading framework that addresses this issue and enhances both diffuse and specular objects' depth profiles. We take advantage of the built-in monochromatic IR projector and IR images of the RGB-D scanners and present a lighting model that accounts for the specular regions in the input image. Using this model, we reconstruct the depth map in real-time. Both quantitative tests and visual evaluations prove that the proposed method produces state of the art depth reconstruction results.

Introduction

Consumer-grade RGB-D sensors, such as the Kinect or Intel RealSense, have revolutionized 3D computer vision. However, their raw depth output often lacks the precision required for high-fidelity applications, frequently suffering from noise and missing fine geometric details. Shape-from-Shading (SfS) techniques are commonly employed to refine these depth maps by using light and shadow cues to infer surface orientation.

A significant challenge in classic SfS is the assumption of Lambertian (matte) surfaces. When encountering specular highlights on shiny objects, these algorithms often misinterpret brightness spikes as sharp changes in surface angle, leading to artifacts like "hallucinated" bumps or holes. Furthermore, many existing refinement methods are computationally intensive, preventing real-time interaction. This paper introduces a framework that explicitly models specular reflections and non-uniform surface colors to achieve real-time, high-fidelity depth refinement.

Methodology

The proposed framework leverages the infrared (IR) components of a depth scanner as a controlled lighting environment. The pipeline consists of three primary stages, as illustrated in the system overview below.

Figure 2: The complete depth refinement pipeline, showing the flow from raw depth and IR images to the final refined depth map.

1. Near-Field Lighting Model

Unlike traditional SfS methods that assume a distant, unknown light source, this approach exploits the fixed and known spatial relationship between the scanner's IR projector and camera. The projector is modeled as a point light source, incorporating the inverse-square law to account for intensity drop-off over distance.

2. Greedy Albedo Estimation

To handle varying surface properties, the system decomposes the IR image into diffuse and specular components. The diffuse albedo is estimated by treating specular highlights as outliers in a robust optimization process, while a specular albedo map is solved using an L1 Total-Variation regularizer to ensure sparsity.

Figure 4: Decomposition of the input IR image (a) into its diffuse albedo (b), specular albedo (c), and isolated specular highlights (d).

3. Direct Depth Refinement

To achieve real-time performance, the method bypasses the traditional, computationally expensive step of integrating a normal field. Instead, it optimizes depth values directly. By linearizing the shading equations via a first-order Taylor expansion, the optimization problem is solved efficiently on a GPU.

Evaluation and Results

The framework was evaluated using both synthetic models (e.g., Armadillo, Dragon) rendered with realistic shaders and real-world data from an Intel RealSense scanner.

  • Accuracy: The method significantly outperforms previous state-of-the-art techniques in specular regions. For the "Armadillo" model, the median error was reduced to 0.294mm, a notable improvement over the 0.335mm achieved by prior methods.
  • Performance: The entire pipeline processes a 640x480 image in approximately 80ms on an NVIDIA GeForce GTX 650, enabling live 3D scanning applications.
  • Visual Quality: Qualitative results demonstrate that the method successfully recovers fine details, such as fabric folds and surface textures, without the artifacts typically caused by specular highlights.

Conclusion

This work presents a robust, real-time solution for depth refinement that handles both diffuse and specular materials. By utilizing the controlled IR environment of consumer scanners and optimizing depth directly, the framework achieves high fidelity at interactive speeds. Future work could involve extending the model to handle external IR interference and more complex material properties like subsurface scattering.

Summary updated

BibTeX
@inproceedings{orel2016real,
  author = {Roy Or-El and Rom Hershkovitz and Aaron Wetzler and Guy Rosman and Alfred M. Bruckstein and Ron Kimmel},
  title = {{Real-Time Depth Refinement for Specular Objects}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  url = {https://openreview.net/forum?id=SJ-S1T-dbS},
}
Figure