Saturday, December 12, 2015

Depth Map Automatic Generator 9 (DMAG9)

DMAG9 is an implementation of The Fast Bilateral Solver by Jonathan T. Barron and Ben Poole.

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

Here's an example:


Slightly blurred version of original photo by Sam Shaw. That's the input reference image for DMAG9.


Sparse depth map input to DMAG9.


Dense depth map produced by DMAG9.

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

12 comments:

  1. hello,
    May i know if its possible to create the depth map without loosing too much on the details? So that face features can be easily identified. Thank you.

    ReplyDelete
    Replies
    1. Are you talking about 2d to 3d conversion?

      Delete
  2. im talking about the generated depth map. I can see its auto generate from the sparse depth map that is manually created. Can we refine the generated depth map so that we can see the nose eyes and lip for examples. Being that the nose should be more light color since it more near to the front camera perspective view right?

    ReplyDelete
    Replies
    1. The automatic fill is based on color similarity and proximity. the program has absolutely no prior knowledge of what the 3d scene actually is. In the case of a face, there are specialized programs that can map features onto a generic face and get depth maps that correspond to what you would expect. but not here.

      Delete
  3. Hi, most problems using all DMAGs I get with dmag9 and fsb9.
    The most frequent error is: "Filename extension for 32.0 not recognized!Supported: tiff, TIFF, tif, TIF, png, PNG, jpeg, JPEG, jpg, JPG"
    I only use .tiff or .png. Why does this error appear?
    I dont use any further image file extension.

    Bernd Pietsch from Germany

    Therefor I prefer working with DMAG4, it works slower it seems to be more stable.
    But great tools. My compliments.

    ReplyDelete
    Replies
    1. My guess is that the filename contains spaces. If you could send me your .txt input file, I could verify that it is indeed the problem.

      Delete
  4. I can not open DMAG9 file(.RAR),please tell me the cause of ploblem.

    ReplyDelete
    Replies
    1. The DMAG9 executable is inside ugosoft3d-9-x64.rar which you can download from the software page. Here's the direct link https://www.dropbox.com/s/1vnh200he98ocht/ugosoft3d-9-x64.rar?dl=0

      Delete
    2. Depth Map Automatic Generator 9 cannot be run in DOS mode of windows.

      Delete
    3. I have just downloaded ugosoft3d-9-x64.rar, extracted the archive, edited the .bat file in dmag9_test directory so that the path to the dmag9 executable is correct, double-clicked on .bat file, and it runs fine on my windows 7 machine. Maybe send me your .bat file if you still have problems (and dmag9_input.txt).

      Delete
  5. Hello, is this software available on Mac ?

    ReplyDelete