Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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
borovik135 pushed a commit to borovik135/colmap that referenced this pull request Nov 6, 2023
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