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 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:
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.
UPDATE (03/03/2020): I now recommend using 2d to 3d Image Conversion Software - the3dconverter2 for 2d to 3d conversion over DMAG11.
Automatic depth map generation, stereo matching, multi-view stereo, Structure from Motion (SfM), photogrammetry, 2d to 3d conversion, etc. Check the "3D Software" tab for my free 3d software. Turn photos into paintings like impasto oil paintings, cel shaded cartoons, or watercolors. Check the "Painting Software" tab for my image-based painting software. Problems running my software? Send me your input data and I will do it for you.
Subscribe to:
Post Comments (Atom)
hi its showing.. program not supported. what shouls have to do?
ReplyDeleteAre 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.
Deletehow to generate Sparse depth map (input)
ReplyDeletei 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
Hi:
DeletePlease send me your sparse depth map and reference image and I will check it out.
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.
DeleteThis comment has been removed by the author.
ReplyDeleteI'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
ReplyDeleteWow that's awesome Ocean. Thank you so much. One can also use dmag4 for semi-automatic 2d to 3d conversion.
DeleteI'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:
ReplyDeletehttps://oceanquigley.blogspot.com/2018/11/step-by-step-with-dmag11.html?fbclid=IwAR2LBKMs9We10LcX8I96mhOzbUuAXMUmIzGCxsT63rgdFM-U4MQY5TD3u8c
(once more, with the proper step-by-step URL)
ReplyDeletehttps://oceanquigley.blogspot.com/2018/11/step-by-step-with-dmag11.html
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.
DeleteWhat an amazing tool! Well done! I need your help if you could help me with a problem that I'm experiencing though. I followed Ocean's tutorial and I just can't get a depth map output. Dmag processes the two files but it stops just before it calculates the iterations. Also, I must say that in order to get the dmag11.bat file to run (the one that shares the same folder with the reference image and the sparse image) I had to put that folder inside the the main folder where the dmag11 and all the other files are or it wouldn't run and not in a different, separate folder.
ReplyDeleteThe executable can be put wherever as long as it is properly referenced in the .bat file. Dmag11 might stop and complain if the sparse depth map pixels are not either fully transparent or fully opaque (that is, there is some anti-aliasing going on in the sparse depth map). Send me your dmag11.bat file, the dmag11_input.txt file, and the 2 input images and i should be able to help you better.
DeleteThank you for the prompt reply and instructions. I checked a few things in my folders and the problem is solved.
ReplyDeleteDoes dmag11 still stop? Usually, it's because of anti-aliasing (some pixels are not fully opaque). In gimp, it's very easy to get rid of those using Layer->Transparency->Threshold Alpha as explained in the dmag4 post or in dmag11_manual.pdf that should be in the directory where you extracted the stuff. In photoshop, i am not sure how to do it. Maybe ask Ocean.
DeleteHi Ugo, awesome work - I don't have windows is there any possibility of paying to have a range of depth maps created for 10 images I have? Cheers
ReplyDeleteAsk Zaza at depthmask.com
Deletehey!!!! please help how i can get DMAG setup
ReplyDeleteFollow what's explained here: https://oceanquigley.blogspot.com/2018/11/step-by-step-with-dmag11.html
DeleteHello, is there a version in French or a tutorial or a PDF? does the software work with Gimp and Blender?
ReplyDeleteThank you for your answers
Regards
i think it's better to use software called the3dconverter2. here's a video about it: https://youtu.be/wD3HgvZZ8O0. you use gimp to produce the input files the software needs. it's not a plugin.
DeleteHello, is there a version in French or a tutorial or a PDF? does the software work with Gimp and Blender?
ReplyDeleteThank you for your answers
Regards
Merci
ReplyDeletehttps://www.facebook.com/photo/?fbid=4285142634861985
ReplyDeleteyou can see this image interactive