Skip to content

Third Party Bundles

simonfuhrmann edited this page Sep 3, 2014 · 3 revisions

Wiki HomeThe MVE Users Guide ▸ Third Party Bundles

The makescene application, which is part of the MVE framework, can import from a few third party bundler formats. These formats are:

For VisualSFM, makescene expects the NVM file as argument. For all other formats a directory is expected. Here are a few notes how to compile and run third party applications:

VisualSFM

A VisualSFM binary is available from Changchang Wu's Website. After a successful SfM reconstruction, the bundle can be exported using the menu SfM -> Extra Functions -> Save Compact NVM.

OpenMVG

In order to compile OpenMVG, the following procedure has been successfully used:

git clone --recursive https://github.com/openMVG/openMVG.git
cd openMVG
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE . ../src/
make -j12

The following commands can be used to create a bundle:

export INPUT_DIR="images/"
export OUTPUT_DIR="output/"
export CAMERA_FILE="$OPENMVG/src/software/SfM/cameraSensorWidth/cameraGenerated.txt"
mkdir $OUTPUT_DIR
openMVG_main_CreateList -i $INPUT_DIR -d $CAMERA_FILE -o $OUTPUT_DIR/matches
openMVG_main_computeMatches -i $INPUT_DIR -o $OUTPUT_DIR/matches
openMVG_main_IncrementalSfM -i $INPUT_DIR -m $OUTPUT_DIR/matches -o $OUTPUT_DIR/outReconstruction