8000 Fixed the collection of arguments in colmap.bat by tdegraaff · Pull Request #1121 · colmap/colmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed the collection of arguments in colmap.bat #1121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 8, 2022

Conversation

tdegraaff
Copy link
Contributor

The previous use of the shift-operator in colmap.bat lead to splitting ""-encapsulated comma-separated values (e.g. "1,2,3") into individual arguments. Therefore, parameters like --ImageReader.camera_params could not be used on Windows (see screenshot).

grafik

This pull request replaces the previous mechanism that uses the shift-operator by simply using the %* operator. This way, using --ImageReader.camera_params on Windows works flawlessly.

tdegraaff and others added 3 commits February 15, 2021 11:23
Previous use of the shift-operator lead to splitting ""-encapsulated comma-separated values (e.g. "1,2,3") into individual arguments. Therefore, parameters like --ImageReader.camera_params could not be used on Windows.
@ahojnnes
Copy link
Contributor
ahojnnes commented Sep 8, 2022

Thanks, took a long time for me to look at this PR (sorry!). LGTM.

@ahojnnes ahojnnes enabled auto-merge (squash) September 8, 2022 12:04
@ahojnnes ahojnnes merged commit 7acff81 into colmap:dev Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0