Tuesday, December 8, 2015

2D to 3D Conversion - Marilyn holding a rose

Here's a 2d to 3d image conversion made with Depth Map Automatic Generator 4 (DMAG4). The photo was taken by Sam Shaw, movie star photographer.


Sparse depth map on top of 2d reference image.


Dense depth map delivered by DMAG4.


3d animated gif obtained with Wiggle Maker.

My workflow of converting a 2d image into a 3d image is as follows: 1) Use Gimp pencil tool, eraser tool, selection tool, and gradient tool to scribble depth cues on what I call the sparse depth map, 2) run DMAG4 on that sparse depth map to get a dense depth map, 3) load up the 2d image and dense depth map into Wiggle Maker and make note of areas that don't wiggle correctly, 4) go back to Gimp to fine tune the sparse depth map, and 5) go back to step 2. I do this until I am happy with the animation.

2 comments:

  1. wow, superb results! This depth map was softened with Edge Preserving Smoothing 9 (EPS9)? the stem of the flower, is perfectly defined, great!

    ReplyDelete
    Replies
    1. Dear Tomas:
      Thank you for your comment. No, I didn't use EPS9 to post-process although one could have. DMAG4 will propagate depths as long as color is same, so sharp edges in the reference image are always maintained in the depth map.

      Delete