Monday, February 13, 2017

Depth Map Automatic Generator 11 (DMAG11)

DMAG11 is a joint bilateral filter which can be used to "densify" a sparse depth map in the context of 2d to 3d image conversion.

The input to DMAG11 (in terms of image files) is a reference image and a (sparse) depth map where where some depths have been scribbled upon. DMAG11 can be used to convert 2d images into 3d as an alternative to Depth Map Automatic Generator 4 (DMAG4) and Depth Map Automatic Generator 9 (DMAG9).

Here's an example:


Reference image.


Sparse depth map (input).


Dense depth map (output).

My good friend, Ocean Quigley, has taken the time to write a step-by-step guide to using dmag11: Step by step with DMAG11.

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

11 comments:

  1. hi its showing.. program not supported. what shouls have to do?

    ReplyDelete
    Replies
    1. Are you following the instructions given in dmag11_manual.pdf? Are you on 64 bit windows? If yes, then can you send me a screenshot of the error you are getting. If you want, you can use DMAG4, it's pretty much the same thing. Feel free to send me your input files and dmag11_input.txt file and I can try it here on my machine. Thanks.

      Delete
  2. how to generate Sparse depth map (input)
    i tried photoshop and saved the image as png and it gives me nothing
    the cmd starts and run everything then the we loading images it suddenly print "A" and close

    ReplyDelete
    Replies
    1. Hi:
      Please send me your sparse depth map and reference image and I will check it out.

      Delete
    2. Also please send me your dmag11_input.txt and dmag11.bat if you don't mind. Thanks in advance. Note that you could also use dmag4 as an alternative as it is probably easier to run.

      Delete
  3. This comment has been removed by the author.

    ReplyDelete
  4. I've been steering people towards this tool for making depth maps for 3D Photos in FB. It's so much better than doing it by hand in Photoshop

    ReplyDelete
    Replies
    1. Wow that's awesome Ocean. Thank you so much. One can also use dmag4 for semi-automatic 2d to 3d conversion.

      Delete
  5. I've put together an illustrated step-by-step here, for various people that have been asking how to use it. Feel free to copy it / post it if that would be useful:
    https://oceanquigley.blogspot.com/2018/11/step-by-step-with-dmag11.html?fbclid=IwAR2LBKMs9We10LcX8I96mhOzbUuAXMUmIzGCxsT63rgdFM-U4MQY5TD3u8c

    ReplyDelete
  6. (once more, with the proper step-by-step URL)
    https://oceanquigley.blogspot.com/2018/11/step-by-step-with-dmag11.html

    ReplyDelete
    Replies
    1. Wow, that's much better than what I have in the manual. Thanks for doing this. I added the link to your tutorial in the dmag11 post.

      Delete