- Download here https://mosek.com/downloads. Academic license is available.
- Remember to copy place the license file according to MOSEK install instructions.
- For Unix/Linux, start MATLAB with
LD_LIBRARY_PATH="<mosek_root>/8/tools/platform/linux64x86/bin" matlab
. This is done inmatlab_start.sh
.
Install instructions: http://www.vlfeat.org/install-matlab.html
Download and unpack http://www.cs.ubc.ca/~lowe/keypoints/siftDemoV4.zip.
Download and unpack http://www.vision.caltech.edu/bouguetj/calib_doc/.
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:
- Start matlab with
./start_matlab.sh <absolute library path>
. - Run
setup.m
Otherwise:
- Run
setup.m <absolute library path>
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
.
cd SfM_lib
- Run
reconstruct_corner.m
- 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. - Make sure the settings file points correctly to your calibration data.
- Run
reconstruct_scene <path to data>