Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Structure from Motion

Installing Dependencies

MOSEK

  1. Download here https://mosek.com/downloads. Academic license is available.
  2. Remember to copy place the license file according to MOSEK install instructions.
  3. For Unix/Linux, start MATLAB with LD_LIBRARY_PATH="<mosek_root>/8/tools/platform/linux64x86/bin" matlab. This is done in matlab_start.sh.

VLFEAT

Install instructions: http://www.vlfeat.org/install-matlab.html

Lowe´s SIFT implementation (optional)

Download and unpack http://www.cs.ubc.ca/~lowe/keypoints/siftDemoV4.zip.

Calibration toolbox

Download and unpack http://www.vision.caltech.edu/bouguetj/calib_doc/.

Initiate session

The setup code assumes that the above libs have been placed in a common folder , below referred to as the library path.

For Unix/Linux:

  1. Start matlab with ./start_matlab.sh <absolute library path>.
  2. Run setup.m

Otherwise:

  1. Run setup.m <absolute library path>

Running the example

The example is executed with reconstruct_corner.m and uses data from the folder corner. Settings for the reconstruction are found in corner/reconstr_setup.m.

  1. cd SfM_lib
  2. Run reconstruct_corner.m

Running on your images

  1. Put your images in a folder together with your settings file named reconstr_setup.m. Copy the corner example settings file to use as a template.
  2. Make sure the settings file points correctly to your calibration data.
  3. Run reconstruct_scene <path to data>

About

Struktur-från-rörelse bibliotek.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages