Skip to content
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

Allow refining principal point during bundle adjustment #203

Closed
wants to merge 1 commit into from

Conversation

francescomilano172
Copy link
Contributor

The current interface does not allow optimizing the principal point during bundle adjustment, since the call to pycolmap.incremental_mapping is done using this overload instead of this one, and ba_refine_principal_point is set to False by default in COLMAP. As a consequence, the principal point remains fixed to its initial estimate, i.e., the center of the image.

This change allows optionally refining the principal point, which in my setup produced much better pose estimates. Opening this PR in case you think this could be desirable for other people.

@sarlinpe
Copy link
Member

This should be solved by #210. Can you please confirm that it works for you?

@sarlinpe sarlinpe closed this Jul 27, 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