Skip to content
/ DEN Public

This is an official implementation of "DEN: Disentangling and Exchanging Network for Depth Completion" in TensorFlow.

License

Notifications You must be signed in to change notification settings

Lilyo/DEN

Repository files navigation

DEN: Disentangling and Exchanging Network for Depth Completion(Updated on Sep 14, 2020)

This is an official implementation of "DEN: Disentangling and Exchanging Network for Depth Completion" by Arthur Wu at CCU 2019. This repo offers the original implementation of the paper in Tensorflow. This is published in 2020 25th International Conference on Pattern Recognition (ICPR)
The goal of our method is "structure" guided raw depth map completion by disentanged common features from a sigle RGBD image.

  • Result of DEN.

Introduction

In this research, we propose a Disentangling and Exchanging Network (DEN) to inpainting the depth channel of an RGB-D image, which is captured by a commodity-grade depth camera. When the environment is large, surfaces are shiny, or strong lighting is abundant, the depth channel is often sparse or produced with missing data, while the RGB channels are still dense and store all of the useful information. From this observation, we were thinking about the feasibility of borrowing useful information from RGB image, such as structural information, to complete the obtained sparse depth channel.

Quick Test(Updated on Apr 1, 2020)

  1. Download ScanNet testing data in ./data/, and unzip it there.
  2. Download 650291.ckpt in ./pre_train_model/.
  3. Modify default setting and run main_dc.py.
python main_dc.py --phase test

Pre-trained Model(Updated on Apr 1, 2020)

We provide pre-trained models on ScanNet dataset. Please check ./checkpoint/ScanNet_gan_2layer_4dis_4scale_1con_60ch_36z_36z/ for download links.

Depth Completion Dataset

Training(UNOPENED)

-

Experiment

  • Error visualization.

  • Point cloud visualization of DEN and other comparisons.

Evaluation

  • We use the MATLAB code ./matlab/evalDEN.m to evaluate the performance of the depth completion.

  • To evaluate on ScanNet, you need to get accesses to these dataset to download ground truth for the testing set.

  • We provide pre-computed results of our method on ScanNet. You will need a MAT file which contain predict result, raw depth and ground truth depth to run evaluation. Download 650291.mat in ./result_eval/ScanNet_gan_2layer_4dis_4scale_1con_60ch_36z_36z/.

  • Please check ./data_list/ScanNet_test.txt for the list of testing images. Since the testing data also comes from original dataset, please email Yinda Zhang for download link after getting access to ScanNet.

Benchmark

  • Error metrics on ScanNet dataset:

    RGBD-Both Rel RMSE tRMSE delta1 delta2 delta3
    Bilateral (ECCV2012) 0.0844 0.4118 0.2539 0.9073 0.9412 0.9584
    Zhang et al. (CVPR2018) 0.0877 0.3201 0.2284 0.9213 0.9588 0.9764
    DEN 0.0748 0.3043 0.2195 0.9247 0.9621 0.9794
    RGBD-Valid Rel RMSE tRMSE delta1 delta2 delta3
    Bilateral (ECCV2012) 0.0494 0.2485 0.1710 0.9588 0.9757 0.9857
    Zhang et al. (CVPR2018) 0.0490 0.2484 0.1709 0.9588 0.9757 0.9856
    DEN 0.0470 0.2300 0.1636 0.9617 0.9786 0.9877
    RGBD-Invalid Rel RMSE tRMSE delta1 delta2 delta3
    Bilateral (ECCV2012) 0.2266 0.6974 0.4098 0.7560 0.8398 0.8781
    Zhang et al. (CVPR2018) 0.2016 0.4714 0.3460 0.8113 0.9092 0.9492
    DEN 0.1567 0.4574 0.3332 0.9160 0.9134 0.9551

About

This is an official implementation of "DEN: Disentangling and Exchanging Network for Depth Completion" in TensorFlow.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages