forked from openMVG/openMVG
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into pop_develop_matching
Conflicts: docs/sphinx/rst/software/SfM/SfM.rst src/openMVG/matching/CMakeLists.txt src/openMVG/matching/matcher_cascade_hashing.hpp src/openMVG/matching_image_collection/Cascade_Hashing_Matcher_Regions_AllInMemory.cpp src/openMVG/sfm/pipelines/global/GlobalSfM_translation_averaging.cpp src/openMVG/sfm/pipelines/global/sfm_global_engine_relative_motions.cpp src/openMVG/sfm/pipelines/localization/SfM_Localizer_Single_3DTrackObservation_Database.cpp src/openMVG/sfm/pipelines/sequential/sequential_SfM.cpp src/software/SfM/main_ComputeMatches.cpp src/software/SfM/main_GlobalSfM.cpp src/software/SfM/main_openMVG2MVE2.cpp
- Loading branch information
Showing
55 changed files
with
2,110 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
docs/sphinx/rst/software/ui/SfM/control_points_registration/GCP.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
*********************************** | ||
Ground Control Points registration | ||
*********************************** | ||
|
||
Structure from Motion find camera poses & a structure to an unknown scale of the real metric measure. In order to restore the correct scale and orientation to known 3D coordinates, OpenMVG provide a GUI to perform Ground Control Point registration. | ||
|
||
- Given some 3D known ground control points and their 2D observations in some images, we can compute the rigid transformation to move the SfM scene to the known 3D coordinates. The rigid transformation (7Dof) is computed in least square between the triangulation of the observations and the known 3D positions). | ||
|
||
- For your ground control points your can use specific pattern or object for which you known the measures (post-it, ruller, calibration target...). | ||
|
||
.. figure:: gcp_principle.png | ||
:align: center | ||
|
||
Figure : Ground Control Point registration principle illustration. | ||
|
||
Short tutorial | ||
==================== | ||
|
||
In this sample we scale the scene from the known dimensions of a paper target (see the post-it on the images below). | ||
|
||
- 1. Open your scene in the GUI | ||
|
||
- File/Open Project (CTRL+O) and open an sfm_data file. | ||
- double click on an image on the list to display it on the right | ||
- zoom level can be changed with CTRL+WHEEL | ||
|
||
.. figure:: gcp_gui.jpg | ||
:align: center | ||
|
||
- 2. Set your GCP observations positions whithin the images | ||
|
||
- choose your image, | ||
- click inside it (at the right position or not, you can move it later) & select your GCP unique ID, | ||
- then the Control point observation appears | ||
- to move your GCP click to it, and keep left mouse button clicked while moving it. | ||
|
||
.. figure:: gcp_edit_observation_positions.jpg | ||
:align: center | ||
.. figure:: gcp_edit_observation_positions_3pts.jpg | ||
:align: center | ||
|
||
- 3. Provide the 3D GCP known X,Y,Z positions | ||
|
||
- File/Control Point Edition (CTRL+E) | ||
- double click in the X,Y,Z cells and edit the 3D coordinates | ||
- close the window to save them | ||
|
||
.. figure:: gcp_edit_3Dposition.jpg | ||
:align: center | ||
|
||
- 4. Perform the registration | ||
|
||
- File/Control Point Registration (CTRL+R) | ||
- If at least 3D control points exist and iff their observations are triangulable, the registration will be performed and a report appears. | ||
|
||
.. figure:: gcp_registration.jpg | ||
:align: center | ||
|
||
- 5. Save your scene | ||
|
||
- File/Save Project (CTRL+S) and save your sfm_data file. | ||
- Post-process or use directly the point cloud to perform measures. | ||
- i.e here once MVS have been computed we can measure the eyes distance => ~= 5 cm | ||
|
||
.. figure:: gcp_measure_on_the_model.jpg | ||
:align: center | ||
|
||
|
Binary file added
BIN
+18.7 KB
.../sphinx/rst/software/ui/SfM/control_points_registration/gcp_edit_3Dposition.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+32.4 KB
.../software/ui/SfM/control_points_registration/gcp_edit_observation_positions.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+25.7 KB
...ware/ui/SfM/control_points_registration/gcp_edit_observation_positions_3pts.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+93.9 KB
docs/sphinx/rst/software/ui/SfM/control_points_registration/gcp_gui.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+77.6 KB
...nx/rst/software/ui/SfM/control_points_registration/gcp_measure_on_the_model.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+76.9 KB
docs/sphinx/rst/software/ui/SfM/control_points_registration/gcp_principle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
271 changes: 271 additions & 0 deletions
271
docs/sphinx/rst/software/ui/SfM/control_points_registration/gcp_principle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+34 KB
docs/sphinx/rst/software/ui/SfM/control_points_registration/gcp_registration.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Submodule osi_clp
updated
7 files
+61 −63 | CoinUtils/src/CoinHelperFunctions.hpp | |
+33 −33 | CoinUtils/src/CoinModelUseful2.cpp | |
+29 −29 | CoinUtils/src/CoinOslC.h | |
+296 −296 | CoinUtils/src/CoinOslFactorization3.cpp | |
+9 −9 | CoinUtils/src/CoinPackedVectorBase.cpp | |
+6 −6 | CoinUtils/src/CoinSearchTree.hpp | |
+211 −211 | CoinUtils/src/CoinSimpFactorization.cpp |
Oops, something went wrong.