Wednesday, December 16, 2015

2D to 3D Conversion - Nathan Fillion as Firefly's Malcolm Reynolds

This 2d to 3d image conversion highlights the use of Depth Map Automatic Generator 9 (DMAG9) to "densify" a sparse depth map while being edge-aware.


Reference image and scribbles depths on top.


Dense depth map produced by DMAG9.

In my dmag9_input.txt, I used:
Spatial sample rate = 8
Range (color) sample rate = 16
Lambda = 0.5
Hash table size = 10000
Number of PCG (Preconditioned Conjugate Gradient) iterations = 1000
Scale parameter of Geman-McClure function = 1.41
Number of IRLS (Iteratively Reweighted Least Squares) iterations = 1

In general, if DMAG9 leaves out black pixels in the depth map, you can either slightly blur the reference image (Gaussian blur is fine) or increase the spatial sample rate.


Animated 3d wiggle gif made by WiggleMaker.

No comments:

Post a Comment