Abstract
Depth completion is a critical task for 3D reconstruction and autonomous navigation, yet it remains challenging due to irregular missing data patterns and the difficulty of fusing multi-modal RGB-D features. We propose a novel architecture centered on Mask-adaptive Gated Convolution (MagaConv) and Bi-directional Aligning Projection (Bid-AP). MagaConv dynamically selects convolution kernels based on local mask patterns using a gating mechanism, while Bid-AP utilizes global spatial-channel attention to filter depth-irrelevant color features. Our model achieves state-of-the-art performance on the NYU-Depth V2 benchmark with an RMSE of 0.083 and maintains real-time efficiency at 24.4 FPS.
Introduction
Depth sensors, such as LiDAR and structured light cameras, frequently produce sparse depth maps with "holes" caused by reflections, transparent surfaces, or sensor noise. Filling these gaps—depth completion—is essential for downstream tasks. Traditional methods like Partial Convolution (PConv) treat all invalid pixels uniformly, failing to account for the varying geometric properties of different hole patterns. Furthermore, naive fusion of RGB and depth data often introduces "texture noise," where color edges that do not correspond to physical depth changes confuse the network. This paper introduces a mask-adaptive approach to convolution and an intelligent bi-directional fusion strategy to address these limitations.
Methodology
Overall Architecture
The proposed network follows an encoder-decoder structure designed to handle multi-modal inputs: color images, sparse depth maps, and binary masks. The architecture consists of a Mask-adaptive Depth Encoder, a Depth Decoder integrated with Bid-AP layers, and a Color Encoder to provide structural guidance.
Mask-adaptive Gated Convolution (MagaConv)
The core innovation is the MagaConv module, which replaces standard convolutions in the depth encoder. Unlike PConv, which simply masks out invalid pixels, MagaConv generates gating signals to modulate the convolution process. It employs a multi-head "M-Layer" structure with varying kernel sizes (e.g., K=3, 5, 7) to capture different scales of missing data patterns.
A custom Reverse-and-Cut (RnC) activation function is used to refine the gating signals, allowing the network to select kernels specifically tailored to the local invalidity pattern. This ensures that a small speck of noise is processed differently than a large contiguous hole.
Bi-directional Aligning Projection (Bid-AP)
To fuse RGB and depth features effectively, we introduce the Bid-AP module. Instead of simple concatenation, Bid-AP uses a Cross-modality Aligning Projection (CMAP) module. CMAP applies global spatial-channel attention to identify and filter out features in the RGB image that are irrelevant to depth (such as surface textures or posters) while preserving structural cues like object boundaries that align with depth discontinuities.
Experiments and Results
Datasets and Evaluation
The model was rigorously evaluated on three indoor benchmarks: NYU-Depth V2, DIML, and SUN RGB-D. These datasets provide a range of challenges, from large-scale indoor scenes to irregular sensor gaps and edge shadows.
Performance Metrics
- Accuracy: On the NYU-Depth V2 dataset, the model achieved a Root Mean Squared Error (RMSE) of 0.083, outperforming competitive methods like CFormer and TPVD.
- Robustness: On the DIML dataset, which features challenging irregular holes, the model demonstrated a 20% improvement in RMSE over previous state-of-the-art methods.
- Efficiency: The architecture is optimized for real-time performance, achieving 24.4 FPS on a single GPU, making it suitable for robotics and AR applications.
Conclusion
By treating the pattern of missing data as a learnable signal rather than a simple binary mask, the MagaConv architecture significantly improves the precision of indoor depth completion. Combined with the Bid-AP fusion strategy, the network effectively leverages color information without being misled by irrelevant textures. Future work will explore extending this mask-adaptive logic to outdoor LiDAR data and specialized Time-of-Flight (ToF) sensor noise profiles.
Summary updated