docs/sphinx/rst/software/SfM/SfMInit_ImageListingFromKnownPoses.rst
openMVG_main_SfMInit_ImageListingFromKnownPoses
Load datasets with ground truth position and orientation information and pack them into sfm_data.json.
Now support Strecha's Dataset <https://icwww.epfl.ch/~marquez/multiview/denseMVS.html>, MiddleBury's Dataset <http://vision.middlebury.edu/mview/data/>, DTU MVS Dataset <http://roboimagedata.compute.dtu.dk/?page_id=36>, ETH 3D Dataset <https://www.eth3d.net/datasets> and Kitti Odometry Dataset <http://www.cvlibs.net/datasets/kitti/eval_odometry.php>_.
.. code-block:: c++
$ openMVG_main_SfMInit_ImageListing -i [] -g [] -t []
Arguments description:
Required parameters:
[-i|--imageDirectory]
[-g|--groundTruthDirectory]
[-t|--groundTruthDataset]
Type of dataset
-1: Strecha's Dataset
-2: MiddleBury's Dataset
-3: DTU MVS Dataset
-4: ETH 3D Dataset
-5: Kitti Odometry Dataset
[-o|--outputDirectory]
Download one of the Strecha's datasets from Strecha's Dataset <https://icwww.epfl.ch/~marquez/multiview/denseMVS.html>_
Put the images and ground truth file in separate folder
Launch the openMVG_main_SfMInit_ImageListingFromKnownPoses
.. code-block:: c++
$ openMVG_main_SfMInit_ImageListingFromKnownPoses -i /home/user/Dataset/Strecha/images -g /home/user/Dataset/Strecha/gt -t 1 -o /home/user/Dataset/Strecha/result