Mhaiyang / CVPR2021_PDNet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVPR2021_PDNet

Depth-Aware Mirror Segmentation

Haiyang Mei, Bo Dong, Wen Dong, Pieter Peers, Xin Yang, Qiang Zhang, Xiaopeng Wei

[Paper] [Project Page]

Abstract

We present a novel mirror segmentation method that leverages depth estimates from ToF-based cameras as an additional cue to disambiguate challenging cases where the contrast or relation in RGB colors between the mirror re-flection and the surrounding scene is subtle. A key observation is that ToF depth estimates do not report the true depth of the mirror surface, but instead return the total length ofthe reflected light paths, thereby creating obvious depth dis-continuities at the mirror boundaries. To exploit depth information in mirror segmentation, we first construct a large-scale RGB-D mirror segmentation dataset, which we subse-quently employ to train a novel depth-aware mirror segmentation framework. Our mirror segmentation framework first locates the mirrors based on color and depth discontinuities and correlations. Next, our model further refines the mirror boundaries through contextual contrast taking into accountboth color and depth information. We extensively validate our depth-aware mirror segmentation method and demonstrate that our model outperforms state-of-the-art RGB and RGB-D based methods for mirror segmentation. Experimental results also show that depth is a powerful cue for mirror segmentation.

Citation

If you use this code, please cite:

@InProceedings{Mei_2021_CVPR,
    author    = {Mei, Haiyang and Dong, Bo and Dong, Wen and Peers, Pieter and Yang, Xin and Zhang, Qiang and Wei, Xiaopeng},
    title     = {Depth-Aware Mirror Segmentation},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2021}
}

Requirements

  • PyTorch == 1.0.0
  • TorchVision == 0.2.1
  • CUDA 10.0 cudnn 7.2

Test

Download 'resnet50-19c8e357.pth' at here and trained model 'PDNet.pth' at here, then run infer.py.

License

Please see LICENSE

Contact

E-Mail: mhy666@mail.dlut.edu.cn

About

License:Other


Languages

Language:Python 100.0%