Du2Net: Learning Depth Estimation from
Dual-Cameras and Dual-Pixels


Yinda Zhang      Neal Wadhwa      Sergio Orts-Escolano      Christian Häne      Sean Fanello      Rahul Garg






Abstract


Computational stereo has reached a high level of accuracy, but degrades in the presence of occlusions, repeated textures, and correspondence errors along edges. We present a novel approach based on neural networks for depth estimation that combines stereo from dual cameras with stereo from a dual-pixel sensor, which is increasingly common on consumer cameras. Our network uses a novel architecture to fuse these two sources of information and can overcome the above-mentioned limitations of pure binocular stereo matching. Our method provides a dense depth map with sharp edges, which is crucial for computational photography applications like synthetic shallow-depth-of-field or 3D Photos. Additionally, we avoid the inherent ambiguity due to the aperture problem in stereo cameras by designing the stereo baseline to be orthogonal to the dual-pixel baseline. We present experiments and comparisons with state-of-the-art approaches to show that our method offers a substantial improvement over previous works.




Paper



Click to view the paper. Download full resolution version (56M) here.




More Results


3D photo results. Download video (56M) here.




Collected Examples


You can click on stereo or DP images to see the other view. Please zoom into to see the difference between the DP views.

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)

right_camera
(Click the image to see left_camera)

left_camera
(Click the image to see right_camera)

right_camera_top_dp_view
(Click the image to see right_camera_bottom_dp_view)

right_camera_bottom_dp_view
(Click the image to see right_camera_top_dp_view)