What problem this addresses
A video see-through AR headset decides whether a virtual object should appear in front of or behind a real object by comparing depths. The depth of the virtual scene is exact, but the depth of the real scene comes from a consumer-level depth camera, which usually gives low resolution, missing regions, and jagged boundaries. In our visualization error analysis, we listed this as the rendering error: when the real depth is wrong, a virtual object that should be in front of a real one can disappear or be partly cut off. In AR robot programming, this means the operator can misjudge whether the virtual robot collides with the real workcell.
Many methods exist for completing and upsampling RGB images, but depth images are harder, because their boundaries and geometry matter. This project tested whether a learned depth completion and super-resolution method can fix the occlusion problem in a real AR robot programming interface.
Approach
The method is a multi-scale progressive fusion network, developed with Chuhua Xian and Jun Zhang (see Figure 1). It takes a raw depth image and its RGB image as input. A color encoder branch extracts texture and structure from the RGB image, a depth encoder branch extracts geometric features from the depth image, and a reconstruct branch fuses the features of both branches level by level to produce a complete or higher-resolution depth image, while a multi-dimension loss keeps the boundaries and geometric features sharp. To train depth completion at scale, the network uses a hybrid strategy that combines random masks with real and synthetic RGB-D data.
Wenhao Yang and Jun Zhang carried out the human-robot collaboration applications. We applied the trained network, without additional training, to three scenarios: a remote-controlled robot on an unmanned ground vehicle (UGV), AR-based toolpath planning, and automatic toolpath extraction. For the first two, a ZED Mini camera captured depth at 1280 × 720 and 30 frames per second.
Results
On the NYU Depth V2 and Matterport3D test sets, and other public datasets, the method outperformed the compared state-of-the-art methods in depth completion and super-resolution, both qualitatively and quantitatively. It is also fast, running at 0.15–0.18 s per frame for super-resolution on NYU Depth V2, which matters for real-time AR.
In the AR toolpath planning interface, the operator defines waypoints, checks the virtual robot traveling along the path, and only then lets the real robot move, so this check depends on correct occlusion. With the raw depth image, the missing depth on the corner of the frame structure made the virtual robot render incorrectly. After our method completed and refined the depth image, the virtual robot was rendered with proper occlusion (see Figure 2). The same holds for the UGV scenario, where the black boxes in Figure 3 mark the regions that were missing in the raw depth and are filled in by our method.
What’s next
The AR test checked occlusion on real scenes, but it did not measure occlusion quality with a quantitative metric or with users. Note that better depth only addresses the rendering error. The other error classes remain, and the camera extrinsic error, which our analysis identified as the main source of misregistration, is addressed in our global calibration framework.
This work was published in the Journal of Intelligent Manufacturing (see the citation).