Abstract
The perception of transparent objects is one of the well-known challenges in computer vision. Conventional depth sensors have difficulty in sensing the depth of transparent objects due to refraction and reflection of light. Previous research has typically trained a neural network to complete the depth acquired by the sensor, and this method can quickly and accurately acquire accurate depth maps of transparent objects. However, previous training relies on a large amount of annotation data for supervision, and the labeling of depth maps is costly. To tackle this challenge, we propose a new self-supervised method for training depth completion networks. Our method simulates the depth deficits of transparent objects within non-transparent regions and utilizes the original depth map as ground truth for supervision. Experiments demonstrate that our method achieves performance comparable to supervised approach, and pre-training with our method can improve the model performance when the training samples are small.
The Challenge of Transparent Object Perception
Most robotic systems rely on RGB-D (Red, Green, Blue + Depth) cameras to understand their environment. These cameras typically operate on the Lambertian assumption: the idea that light reflects diffusely off a surface. Transparent objects—like a glass bottle or a plastic container—break this rule. Light refracts through them or reflects off them in complex ways, leading to "depth deficits" where the sensor either reports zero depth or wildly inaccurate values.
While deep learning models can be trained to "fill in" these holes (depth completion), they usually require massive amounts of supervised data—specifically, perfectly accurate "ground truth" depth maps of transparent objects. Obtaining this ground truth is incredibly difficult and expensive, often requiring specialized setups or tedious manual labeling.
Masking-based Simulation Method
The authors propose a self-supervised approach that removes the need for ground truth depth of transparent objects during initial training. Their core idea is Masking-based Simulation, which leverages the reliable depth data of non-transparent objects to create a training signal.
- Object Segmentation: They use the Segment Anything Model (SAM) to automatically identify both transparent and non-transparent objects in an RGB image.
- Simulating Deficits: Instead of trying to guess the depth of transparent objects immediately, they look at the non-transparent objects (where the depth sensor worked perfectly). They apply a mask to these regions to "delete" their depth data, effectively creating a synthetic version of the failure seen in transparent objects.
- Morphological Erosion: Crucially, they don't mask the entire object. They use "erosion" to shrink the mask, leaving the edges of the object intact. This mimics real-world sensor behavior, where depth sensors often capture the edges of a glass object correctly but fail in the center.
- Training: The network (specifically TDCNet) is trained to reconstruct the original, known depth of the non-transparent objects using the masked version as input.
- Loss Function: The model is optimized using a combination of depth accuracy ($L_2$ loss) and surface normal consistency, ensuring the reconstructed shapes are smooth and physically plausible.
Datasets and Insights
The study utilizes TransCG, a large-scale real-world dataset for transparent object depth completion. It contains 57,715 RGB-D images across 130 distinct scenes with 57 different transparent object targets. The presence of both transparent and non-transparent objects in the same scenes is vital for the masking strategy.
Key insights from this approach include:
- Localized vs. Global Masking: Unlike general self-supervised methods that mask random pixels, this method uses localized masking. By targeting specific object regions, the model learns features relevant to object geometry rather than just image textures.
- Learning from the "Easy" to Solve the "Hard": The geometric patterns needed to complete a hole in a ceramic mug are fundamentally similar to those needed for a glass mug. By practicing on the ceramic mug (where the answer is known), the model generalizes to glass.
- Edge Preservation: By preserving the edges of the masked regions during training, the model learns to use boundary information as a hint for the internal geometry.
Key Results
- Competitive Performance: The fully self-supervised model achieved approximately 70% of the performance of state-of-the-art supervised models, despite never seeing a "correct" depth map of a transparent object during training.
- Superior Pre-training: When used as a pre-training step for supervised learning, the method significantly outperformed standard Masked Autoencoder (MAE) pre-training.
- Data Efficiency: In scenarios with very limited labeled data (only 5% of the training set), pre-training with this method led to an RMSE of 0.019, compared to 0.021 without pre-training—a significant margin in depth precision.
Limitations and Future Work
The method requires datasets that contain both transparent and non-transparent objects. If a scene only contains glass, there are no "reliable" regions to mask and learn from. Additionally, there remains a visual disparity between how a masked opaque object looks and how a transparent object looks in an RGB image (refraction vs. solid color). Future directions include better modeling of specific sensor noise patterns to further refine the simulation.
Summary updated