docs/sphinx/rst/software/SfM/ComputeStructureFromKnownPoses.rst
openMVG_main_ComputeStructureFromKnownPoses
This application computes corresponding features and robustly triangulates them according to the geometry of the known camera intrinsics & poses.
Algorithm of the application
.. code-block:: c++
Require: internal + external camera calibration Require: image description regions (features + descriptors) Ensure: 3D point cloud compute image visibility list all the pair that share common visual content - camera frustum based - or structure visbility (SfM tracks) based list triplets of view from pairs for each triplets compute 3 view tracks if tracks triangulable add correspondences to p link 3 views validated matches (p) as tracks robustly triangulate them
The chain is designed to run on a sfm_data.json file and some pre-computed matches. The sfm_data file should contain:
valid view with some defined intrinsics and camera poses,
(optional existing structure).
.. code-block:: c++
$ openMVG_main_ComputeStructureFromKnownPoses -i Dataset/out_Reconstruction/sfm_data.json -o Dataset/out_Reconstruction/robustFitting.json
Argument descriptions:
Required parameters:
[-i|--input_file]
[-m|--matchdir]
[-o|--outdir]
Optional parameters:
[-f|--match_file]
[-p|--pair_file]
[-b|--bundle_adjustment]
[-r|--residual_threshold]