TDCNet: Transparent Objects Depth Completion with CNN-Transformer Dual-Branch Parallel Network

Shan Luo, Xianghui Fan, Chao Ye, Anping Deng, Xiaotian Wu, Mengyang Pan, Hang YangarXiv 2024 · DOI

Abstract

Transparent objects, such as glassware and plastic containers, present a significant challenge for standard 3D sensors due to their non-Lambertian reflective properties. This paper introduces TDCNet, a dual-branch neural network designed to address the "invisibility" of transparent objects in depth sensing. By integrating a Convolutional Neural Network (CNN) and a Swin-Transformer in a parallel architecture, TDCNet effectively captures both local geometric details and global contextual information. Experimental results on major benchmarks demonstrate that TDCNet achieves state-of-the-art accuracy in depth reconstruction, facilitating more reliable robotic interaction with transparent materials.

Introduction: The Challenge of Transparency in 3D Sensing

Standard depth sensors, including LiDAR and Time-of-Flight (ToF) cameras, generally operate under the "Lambertian assumption," which posits that light reflects uniformly off surfaces. Transparent objects violate this assumption by refracting and reflecting light, leading to "damaged" depth maps characterized by significant data gaps or erroneous readings.

System overview showing RGB-D sensing and depth restoration for robotic grasping.

Existing deep learning approaches to depth completion often fall short due to two primary issues:

  1. Early Feature Blending: Mixing raw depth data with RGB information in the initial layers can lead to the loss of critical geometric anchors.
  2. Gradient Conflict: The use of multiple loss functions (e.g., accuracy vs. smoothness) with static weights can cause optimization instability, as different objectives may pull the model in conflicting directions.

Methodology: The TDCNet Architecture

TDCNet employs a dual-branch parallel architecture to maintain distinct feature extraction pathways until the final stages of the network. This design prevents the "muddying" of reliable geometric features by visual data too early in the process.

Comparison of network architectures: (a) single-branch, (b) fusion-branch, and (c) the proposed TDCNet dual-branch parallel network.

Dual-Branch Design

  • CNN Branch: Utilizing a ResNet-18 backbone, this branch processes the raw depth map. CNNs are particularly effective at extracting local geometric features, as depth values are typically locally correlated.
  • Transformer Branch: A Swin-Transformer processes the combined RGB-D input. Transformers excel at capturing global context, which is essential for inferring the overall structure of transparent objects from visual cues like background distortion and surface reflections.

Multiscale Feature Fusion and Dynamic Loss

To integrate these features, the authors developed the Multiscale Feature Fusion Module (MFFM). This module employs spatial and channel attention mechanisms to weight features across different scales, ensuring that fine-grained edge details from shallow layers are preserved alongside high-level semantic information.

Furthermore, a Dynamic Loss Weighting strategy was implemented to mitigate gradient conflict. By suppressing the "smoothing loss" as the model approaches convergence, the network can prioritize absolute depth accuracy in the final training phases, leading to sharper transitions and more precise surfaces.

Datasets and Evaluation

TDCNet was rigorously evaluated on three prominent benchmarks:

  • TransCG: A real-world dataset comprising over 57,000 RGB-D images of 51 diverse objects.
  • ClearGrasp: A hybrid dataset with 23,524 synthetic training samples and mixed real/synthetic test data.
  • Omniverse (ODD): A dataset used to test the model's robustness in cluttered and varied environments.

Key Results and Insights

TDCNet achieved state-of-the-art (SOTA) performance across all evaluated metrics. On the TransCG dataset, it outperformed existing models in both Root Mean Square Error (RMSE) and Mean Absolute Error (MAE).

A critical finding was the model's strong generalization capability. When trained on ClearGrasp/ODD and tested on the unrelated TransCG dataset, TDCNet significantly outperformed its competitors. This suggests that the dual-branch architecture allows the model to learn the underlying physics of transparency rather than simply memorizing dataset-specific patterns. Qualitatively, the restored depth maps exhibit much sharper edges and more plausible surfaces in regions where sensor data was originally absent.

Conclusion and Future Directions

TDCNet represents a significant advancement in depth completion for transparent objects by leveraging the complementary strengths of CNNs and Transformers. While the results are promising for robotic applications, future work should address the computational overhead associated with dual-branch Transformer architectures to ensure real-time viability. Additionally, exploring multi-view fusion and conducting physical robotic grasping experiments would further validate the practical utility of the reconstructed depth maps in complex industrial settings.

Summary updated

BibTeX
@misc{luo2024tdcnet,
  author = {Shan Luo and Xianghui Fan and Chao Ye and Anping Deng and Xiaotian Wu and Mengyang Pan and Hang Yang},
  title = {{TDCNet: Transparent Objects Depth Completion with CNN-Transformer Dual-Branch Parallel Network}},
  year = {2024},
  eprint = {2412.14961},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.14961},
}
Figure