Thursday, February 16, 2017

Depth Map Automatic Generator 11b (DMAG11b)

DMAG11b is a tool that can be used to improve the quality of depth maps. Given a reference rgb image and an input depth map, DMAG11b detects pixels where the depth is unreliable and makes the depth at that pixel transparent in the output depth map. The output depth map can be fed to DMAG4, DMAG9, or DMAG11 (the programs used for 2d to 3d image conversion) to fill the transparent pixels for hopefully a better depth map than the one we started with.

To determine if the depth (coming from the input depth map) at a given pixel is reliable, DMAG11b computes the depth variance using the joint bilateral filter. A low (high) depth variance translates to a high (low, respectively) confidence. The output depth map is generated by making transparent any pixel for which the depth (coming from the input depth map) is of low confidence.

This idea of using the variance of the depth to compute a confidence comes from Jon Barron and his paper entitled "The Fast Bilateral Solver".

Here's an example:

Reference image.

Input depth map.

Depth confidence map. White (black) means high (low, respectively) confidence. This depth confidence map is computed internally by DMAG11b.

Output depth. Transparent pixels have the checkerboard pattern.

The windows executable (guaranteed to be virus free) is available for free via the 3D Software Page.

No comments:

Post a Comment