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

Setting clear_points to true per default in point_triangulator #2252

Merged
merged 2 commits into from
Nov 3, 2023

Conversation

tsattler
Copy link
Contributor

@tsattler tsattler commented Nov 2, 2023

Making sure that image_ids between a model and the database are consistent is a pain. The clear_points flag takes care of this by assigning the correct image_ids to images (consistent with the database) based on filenames. This makes things much easier for casual users, who don't need to read out the image_ids from the database. I would argue that enabling this by default is the better choice (especially since in many cases, one would re-triangulate from scratch anyways).

The PR sets the default value to true. It also adds a bit of documentation about the behavior described above to the --help argument.

If you prefer to keep clear_points set to false by default, I would suggest to add another flag that makes recomputing image_ids default behavior.

@ahojnnes ahojnnes enabled auto-merge (squash) November 3, 2023 08:32
@ahojnnes
Copy link
Contributor

ahojnnes commented Nov 3, 2023

Thanks, that makes sense!

@ahojnnes ahojnnes merged commit 34aed30 into colmap:main Nov 3, 2023
11 checks passed
borovik135 pushed a commit to borovik135/colmap that referenced this pull request Nov 6, 2023
…#2252)

Co-authored-by: Johannes Schönberger <joschonb@microsoft.com>
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.

None yet

2 participants