Introduction
Depth estimation is a fundamental component of spatial AI, enabling technologies like autonomous vehicles and robotic systems to navigate complex environments. However, standard depth estimation models frequently fail when encountering transparent or mirror (ToM) surfaces. Because these surfaces reflect or refract light, they violate the "Lambertian assumption"—the principle that a point in space should look the same regardless of the viewing angle. This paper presents a novel "Monocular Distillation" pipeline that enables networks to accurately estimate the depth of ToM surfaces without requiring manual depth annotations.
The Challenge of ToM Surfaces
Transparent and mirror surfaces present a dual challenge for computer vision. First, they create visual artifacts: a mirror may appear as a room extending behind a wall, while a glass door may be entirely invisible to a sensor. Second, acquiring ground-truth data for these surfaces is notoriously difficult. Active sensors, such as Time-of-Flight (ToF) or structured light cameras, rely on light beams that either pass through glass or bounce away from mirrors, resulting in missing or erroneous data. Consequently, high-quality datasets for ToM depth are rare and expensive to produce.
Methodology: Monocular Distillation
The authors propose a remarkably effective pipeline based on a key observation: while monocular networks are distracted by the complex textures of glass and mirrors, they are highly capable of inferring a room's layout based on surrounding context (e.g., floors and walls). By removing the distracting visual information, the network can be forced to "hallucinate" the correct geometry.
The Three-Step Process
- Surface Labeling: The system identifies ToM regions using existing segmentation networks (such as Trans2Seg or MirrorNet) or manual masks.
- In-painting and Distillation: The identified ToM objects are "masked" by filling them with random uniform colors. These modified images are passed through a pre-trained monocular depth network (e.g., DPT or MiDaS). Because the network now sees a solid-colored shape instead of a confusing reflection, it relies on the surrounding environmental context to predict a plausible depth. By repeating this with multiple colors and taking the median result, the authors generate a stable "Virtual Depth" map.
- Fine-tuning: These Virtual Depth maps serve as pseudo-labels. The network is then fine-tuned using the original, unmodified images, teaching it to associate the actual visual features of glass and mirrors with the correct hallucinated depth.
Extension to Stereo Matching
The authors further extend this logic to stereo vision. By converting the monocular "Virtual Depth" into disparity (the pixel shift between left and right images), they create a hybrid training signal that allows standard stereo networks to overcome their inherent difficulties with reflective surfaces.
Experimental Setup and Datasets
The study evaluated the pipeline using several specialized datasets:
- Trans10K & MSD: Used to provide the segmentation masks for transparent objects and mirrors.
- Booster: A challenging indoor dataset with high-resolution ground-truth depth used for rigorous evaluation.
- NYU-V2: A standard indoor dataset used to ensure the fine-tuning process did not degrade the model's performance on non-ToM (Lambertian) surfaces.
Key Results and Insights
The results demonstrate that context is the most critical factor in resolving ToM geometry. By unlocking the latent geometric knowledge already present in monocular networks, the authors achieved dramatic improvements:
- Monocular Accuracy: On the Booster dataset, the DPT model’s Mean Absolute Error (MAE) on ToM surfaces was reduced from 113.14 mm to 57.19 mm—a nearly 50% improvement.
- Stereo Accuracy: CREStereo’s MAE in ToM regions improved from 12.42 pixels to 5.02 pixels.
- Generalization: Crucially, the models maintained their accuracy on standard surfaces, proving that the distillation process adds specialized knowledge without causing "catastrophic forgetting" of general spatial features.
Conclusion and Future Work
This research proves that it is possible to learn complex physical properties like refraction and reflection through a "Zero-Depth-GT" training approach. By leveraging monocular distillation, the pipeline bypasses the need for expensive active sensors or manual depth labeling.
The primary limitation remains the dependence on accurate segmentation masks; if a ToM surface is not detected, its depth cannot be corrected. Future research may focus on integrating instance segmentation to handle overlapping ToM objects and exploring more sophisticated in-painting textures to further refine the distillation process.
Summary updated