The Dream Within Pictures
Follow TheDreamWithinPictures on Twitter

Using Focus Stacking Photography to Create a 3D Reconstruction

Creating a 3D scan of an object can be done several different ways. We’ve seen everything from long distance laser cameras and hacked Kinects used to great effect. Computer engineer Giancarlo Todone’s take on creating a 3D reconstruction takes another approach: using focus stacking photography.

This method isn’t new. It’s called depth from focus, and it was proposed as far back as the late 1980′s in a research paper by P. Grossman. Todone simply managed to do it using only a Canon Powershot with some custom firmware.

Without getting extremely technical, the method basically works by taking a focus stack of an object, and then analyzing the luminance of each pixel in relation to its neighbors. The luminance difference between a pixel and those around it will tell you how well in focus it is, giving the pixel a “focus rank.” That info can, in turn, be used to generate a depth map of the object.

The cool thing about this technique is that the individual pixels aren’t messed with, and so they retain their original color. The final point clouds that Todone created in MeshLab using the data he collected are color-accurate 3D representations of the subjects created from a focus stacked 2D image.

Of course, the technical details are a bit more complex, but you can learn all about the process and its challenges over on Todone’s blog if you so choose. And if you wanna try the technique yourself or get your hands dirty (in a programmer sort of way) you can find all of the necessary details — including the code, setup and more sample photos — on that blog as well.

(via Hack a Day)

[via PetaPixel]

[via PetaPixel]

Visitors: 425

Comments are closed.

comments-bottom

Featured Photos

A Rose… Posted by author icon The Dream Within Jan 16th, 2012 | no responses
Eclipse Posted by author icon The Dream Within Dec 9th, 2011 | no responses
”In a strange land” Exhibi... Posted by author icon Jean-Luc Dushime Sep 24th, 2011 | no responses

Random Photos

Flare Posted by author icon The Dream Within Mar 24th, 2011 | no responses
Walt Disney Concert Hall #... Posted by author icon The Dream Within Dec 25th, 2012 | Comments Off on Walt Disney Concert Hall #3
Psychedelic Lights #1 Posted by author icon The Dream Within Mar 21st, 2011 | no responses
Monkey Forest Posted by author icon The Dream Within Dec 25th, 2012 | Comments Off on Monkey Forest
Ink Me… Posted by author icon The Dream Within Dec 25th, 2012 | Comments Off on Ink Me…
Composition Posted by author icon David Montiel Aug 18th, 2012 | no responses
Butterfly Posted by author icon The Dream Within Dec 25th, 2012 | Comments Off on Butterfly
Romantic Rose #1 Posted by author icon The Dream Within Dec 25th, 2012 | Comments Off on Romantic Rose #1
String Of Lights Posted by author icon The Dream Within Mar 21st, 2011 | no responses
Psychedelic Lights #3 Posted by author icon The Dream Within Mar 21st, 2011 | no responses

Top Rated

A Rose… Posted by author icon The Dream Within
1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, avg: 4.00 out of 5)
Loading...
Lovers #2 Posted by author icon The Dream Within
1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, avg: 3.75 out of 5)
Loading...
Lovers #1 Posted by author icon The Dream Within
1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, avg: 3.00 out of 5)
Loading...