Mirror3D: Depth Refinement for Mirror Surfaces

Jiaqi Tan, Weijie Lin, Angel X. Chang, Manolis Savva

Abstract

Despite recent progress in depth sensing and 3D reconstruction, mirror surfaces remain a significant source of errors. To address this problem, we introduce the Mirror3D dataset: a 3D mirror plane dataset based on three RGBD datasets (Matterport3D, NYUv2, and ScanNet) containing 7,011 mirror instance masks and 3D planes. We then develop Mirror3DNet, a module that refines raw sensor depth or estimated depth to correct errors on mirror surfaces. Our key idea is to estimate the 3D mirror plane based on RGB input and surrounding depth context, using this estimate to directly regress mirror surface depth. Our experiments show that Mirror3DNet significantly mitigates errors from a variety of input depth data, including raw sensor depth and depth estimation or completion methods.

Introduction: The Mirror Blind Spot

In 3D computer vision, mirror surfaces represent a catastrophic failure point for commodity depth sensors like the Microsoft Kinect or Intel RealSense. These sensors, which rely on active infrared (IR) or Time-of-Flight (ToF) signals, struggle with mirrors for two primary reasons:

  1. Signal Loss: IR light reflects away from the sensor, resulting in missing data (holes).
  2. Virtual Geometry: Sensors often capture the depth of reflected objects, placing them "inside" the wall. This creates "explosions" of points that confuse SLAM algorithms and ruin 3D reconstructions.
Raw depth sensors often fail on mirrors, creating 'explosions' or holes in 3D reconstructions due to signal loss and virtual geometry.

While humans use contextual clues to identify mirrors, most state-of-the-art depth estimation models are trained on datasets where mirrors are either ignored or labeled with incorrect "ground truth" depth. Mirror3D aims to rectify this by providing both a large-scale annotated dataset and a robust refinement algorithm.

Methods: Mirror3DNet

The proposed solution involves a two-part approach: a human-in-the-loop annotation workflow to create the Mirror3D dataset and the Mirror3DNet neural refinement module.

Mirror3D Dataset

The authors annotated three popular RGBD datasets (Matterport3D, ScanNet, and NYUv2), resulting in 7,011 mirror instances across 5,894 frames. This provides the first reliable ground truth for surfaces previously considered noise.

Refinement Architecture

Mirror3DNet is a "plug-and-play" module designed to refine depth from any source. Its architecture focuses on:

  • Segmentation & Normal Estimation: Using Mask R-CNN and PlaneRCNN, the network predicts a mirror mask and a 3D normal vector. To improve stability, it uses "anchor normals" (common orientations) and predicts a residual offset.
  • The Border Trick: Because depth data on the mirror is unreliable, the module analyzes the mirror's border (a 50-pixel expansion). By calculating the average depth of these reliable surrounding points, the model mathematically infers the 3D plane's position.
  • Refinement: Erroneous "virtual" depth pixels are replaced with the calculated 3D plane depth, restoring the flat surface geometry.

Key Results and Insights

Mirror3DNet significantly improves both geometric accuracy and visual quality. In mirror normal estimation, the module reduced Angular Error from 11.2° to 9.1° compared to the PlaneRCNN baseline. When integrated with state-of-the-art depth completion models like SAIC, it reduced the Root Mean Square Error (RMSE) on mirror surfaces from 1.170 to 0.874 on the NYUv2 dataset.

Mirror3DNet refines depth data to produce clean, planar reconstructions of mirror surfaces that match real-world geometry.

Beyond metrics, the research highlights a critical "Assumed Ground Truth" trap: many depth estimation papers claim high accuracy because they evaluate against raw sensor data. If the sensor is wrong about a mirror, the model is rewarded for replicating that error. Mirror3DNet breaks this cycle by anchoring the 3D plane to the surrounding wall geometry.

Conclusion and Future Work

While Mirror3DNet effectively handles flat mirrors, limitations remain regarding curved or decorative glass. Future work may explore using mirror reflections as a source of information rather than just a sensing failure, potentially reconstructing parts of the scene located behind the camera. By turning a major blind spot into a source of data, the field can move toward truly robust 3D scene understanding.

Summary updated

BibTeX
@inproceedings{tan2021mirror,
  author = {Jiaqi Tan and Weijie Lin and Angel X. Chang and Manolis Savva},
  title = {{Mirror3D: Depth Refinement for Mirror Surfaces}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=ObWMG3lMHN},
}
Figure