forked from 3DOM-FBK/deep-image-matching
-
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.
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
general: | ||
OS: windows | ||
path_to_binaries: C:\Users\threedom\Desktop\OpenMVG\ReleaseV1.6.Halibut.WindowsBinaries_VS2017\ReleaseV1.6.Halibut.WindowsBinaries_VS2017 | ||
openmvg_database: C:\Users\threedom\Desktop\OpenMVG\ReleaseV1.6.Halibut.WindowsBinaries_VS2017\ReleaseV1.6.Halibut.WindowsBinaries_VS2017\sensor_width_database\sensor_width_camera_database.txt |
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 |
---|---|---|
@@ -1,3 +1,32 @@ | ||
# Use with OpenMVG | ||
|
||
**Page under construction...** | ||
DIM can export matches in OpenMVG-compatible format and execute a comprehensive SfM reconstruction. All intermediate and final OpenMVG data are stored in the project folder specified with the `--dir` option, within the results folder for the current pipeline, under the openmvg subfolder. | ||
|
||
To run OpenMVG processing pass to `--openmvg` option the configuration file that containes path to the binaries and run for instance: | ||
|
||
``` | ||
python ./main.py --dir ./assets/example_cyprus --pipeline superpoint+lightglue --openmvg ./config/openmvg_win.yaml | ||
``` | ||
|
||
An example of openmvg configuration file for windows: | ||
``` | ||
general: | ||
path_to_binaries: path\to\OpenMVG\ReleaseV1.6.Halibut.WindowsBinaries_VS2017 | ||
openmvg_database: path\to\ReleaseV1.6.Halibut.WindowsBinaries_VS2017\sensor_width_camera_database.txt | ||
``` | ||
|
||
An example of openmvg configuration file for linux: | ||
``` | ||
general: | ||
path_to_binaries: null # If None, the binaries are assumed to be in the PATH | ||
openmvg_database: null # If None, it will be downloaded from the openMVG repository | ||
``` | ||
|
||
Camera model for openmvg can be specified in `config/cameras.yaml`: | ||
``` | ||
general: | ||
camera_model: "pinhole" # ["simple-pinhole", "pinhole", "simple-radial", "opencv"] | ||
openmvg_camera_model: "pinhole_radial_k3" # ["pinhole", "pinhole_radial_k3", "pinhole_brown_t2"] | ||
single_camera: False | ||
``` | ||
Cameras can be shared between all the images (`single_camera == True`), or each camera can have a different camera model (`single_camera == False`). |