Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation

About

This paper aims to address the problem of supervised monocular depth estimation. We start with a meticulous pilot study to demonstrate that the long-range correlation is essential for accurate depth estimation. Therefore, we propose to leverage the Transformer to model this global context with an effective attention mechanism. We also adopt an additional convolution branch to preserve the local information as the Transformer lacks the spatial inductive bias in modeling such contents. However, independent branches lead to a shortage of connections between features. To bridge this gap, we design a hierarchical aggregation and heterogeneous interaction module to enhance the Transformer features via element-wise interaction and model the affinity between the Transformer and the CNN features in a set-to-set translation manner. Due to the unbearable memory cost caused by global attention on high-resolution feature maps, we introduce the deformable scheme to reduce the complexity. Extensive experiments on the KITTI, NYU, and SUN RGB-D datasets demonstrate that our proposed model, termed DepthFormer, surpasses state-of-the-art monocular depth estimation methods with prominent margins. Notably, it achieves the most competitive result on the highly competitive KITTI depth estimation benchmark. Our codes and models are available at https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox.

Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang• 2022

Related benchmarks

TaskDatasetResultRank
Monocular Depth EstimationKITTI (Eigen)
Abs Rel0.052
502
Depth EstimationKITTI (Eigen split)
RMSE4.149
276
Monocular Depth EstimationKITTI (Eigen split)
Abs Rel0.052
193
Depth EstimationNYU Depth V2
RMSE0.339
177
Monocular Depth EstimationDDAD (test)
RMSE11.051
122
Monocular Depth EstimationKITTI (test)
Abs Rel Error8.54
103
Monocular Depth EstimationKITTI Eigen split (test)
AbsRel Mean0.0513
94
Depth EstimationSUN RGB-D (test)
Root Mean Square Error (RMS)0.408
93
Monocular Depth EstimationNYU-Depth v2 (official)
Abs Rel0.094
75
Depth EstimationNYU v2 (val)
RMSE0.339
53
Showing 10 of 18 rows

Other info

Code

Follow for update