Wednesday, January 23, 2008

Make3D: Depth Information From A Single Shot. Stressing the Algorithm With Other World Views

In a previous installment, we saw how coded aperture could use specific bayesian priors to infer depth. Ashutosh Saxena went a little further to make a similar technology more accessible using normal images. He just made available to everybody the ability to produce 3-D models from single snapshots. This is an extension of his work with Min Sun and Andrew Ng. The site is at:


If you register with the site, you can upload your own images and see the results either in some Quicktime format or in VRML which can be viewed using the Cortona plugin for Windows, and this extension for Linux.

In order to push a little bit the boundaries of the algorithm, I specifically used imagery that is a little "weird" where the background has very sharp discontinuities: Planetary exploration.

The landscape as seen from Huygens when it landed on Titan is here:


Not bad for a single view (the Huygens probe survived only 30 minutes on Titan as expected and did not move) that no human has ever seen.

I am less impressed by the 3-D view rendered from the Mars rover Opportunity taken a week ago.


(the VRML can be seen here)
or Spirit



Some of the very sharp contrast images from Cassini looking a Phoebe did not converge.


But the beautiful view from the (amateur) HALO flight 2 is very interesting.


When using the 3D viewer, it looks like you are flying over clouds.

You can try it here.
Indoor scenes seem to provide also some good estimate, starting with the original shot:

while the 3D scene produces this:

one can view it with the 3D viewer.

I am half surprised by some of these results, if one recalls how the technique works, for outdoor photography, haze is an important part of the process that allows the method to differentiate between different depths. And so I am only half surprised that it does not converge for Phoebe (no atmosphere) but somewhat well on Mars (low atmosphere) and well on Titan (with an atmosphere) and on Earth at 28 km altitude looking at clouds and indoors.


Credit: ESA/NASA/JPL/University of Arizona/Alexei Karpenko

No comments:

Printfriendly