How to do it...

Download VisualSFM from http://ccwu.me/vsfm/. In a console terminal, execute the following:

Visualsfm <IMAGES_FOLDER>

VisualSFM will start rendering the 3D, model using as input a folder with images. It will take a couple of hours to process. Then, when it finishes, it will return a point cloud file.

We can view this data in a program such as MeshLab at http://meshlab.sourceforge.net/. A good tutorial on using MeshLab to view point clouds can be found at http://www.cse.iitd.ac.in/~mcs112609/Meshlab%20Tutorial.pdf.

The following image shows what our point cloud looks like when viewed in MeshLab:

In the VisualSFM output, there ...

Get PostGIS Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.