http://hackaday.com/2013/06/21/3d-scanning-by-calculating-the-focus-of-each-pixel/

calculating-focus-to-generate-depth-map

 

The idea is to process the photos using luminance. It looks at a pixel and it’s neighbors, subtracting the luminance and summing the absolute values to estimate how well that pixel is in focus. Apparently if you do this with the entire image, and a set of other images taken from the same vantage point with different focal lengths, you end up with a depth map of pixels.

What we find most interesting about this is the resulting pixels retain their original color values. So after removing the cruft you get a 3D scan that is still in full color.

 

Comments are closed.