Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Drop weight support for different relative poses in rotation averaging. #3897

Merged
B1ueber2y merged 5 commits into
maincolmap/colmap:mainfrom
shaohui/refactor-image-pair-patch-3colmap/colmap:shaohui/refactor-image-pair-patch-3Copy head branch name to clipboard
Dec 29, 2025
Merged

Drop weight support for different relative poses in rotation averaging. #3897
B1ueber2y merged 5 commits into
maincolmap/colmap:mainfrom
shaohui/refactor-image-pair-patch-3colmap/colmap:shaohui/refactor-image-pair-patch-3Copy head branch name to clipboard

Conversation

@B1ueber2y

Copy link
Copy Markdown
Contributor

No description provided.

@B1ueber2y
B1ueber2y requested a review from ahojnnes December 29, 2025 14:04
@ahojnnes

Copy link
Copy Markdown
Contributor

Why this change? This step in isolation feels a bit backwards without understanding the context. In particular, the previous approach of storing all info related to a view pair in a single structure looks superior to me as opposed to storing it in separate/redundant maps?

@B1ueber2y

Copy link
Copy Markdown
Contributor Author

Why this change? This step in isolation feels a bit backwards without understanding the context. In particular, the previous approach of storing all info related to a view pair in a single structure looks superior to me as opposed to storing it in separate/redundant maps?

The goal is to replace ImagePair with TwoViewGeometry, which can enable a lot of consolidation in the two view geometry part.

@B1ueber2y

Copy link
Copy Markdown
Contributor Author

Or, alternative, do we want to add a weight field in TwoViewGeometry? It also feels not ideal. The weight is actually only used in rotation averaging, and is disabled by default.

@ahojnnes

Copy link
Copy Markdown
Contributor

If it's disabled by default then it sounds like we should maybe just get rid of it?

@B1ueber2y

B1ueber2y commented Dec 29, 2025

Copy link
Copy Markdown
Contributor Author

If it's disabled by default then it sounds like we should maybe just get rid of it?

I agree, unless there were some exotic use cases for this weight field. Was it only used in the testing process? Dropping it would also mean removing this field in the CLI: https://github.com/colmap/glomap/blob/main/glomap/exe/rotation_averager.cc#L30

@ahojnnes

ahojnnes commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

I suggest removing it. I think this was only used for testing in the past. If we really need it again, then it's easy enough to bring back. Let's use the luxury of this initial import of the code to clean up and simplify as much as possible.

@B1ueber2y B1ueber2y closed this Dec 29, 2025
@B1ueber2y B1ueber2y reopened this Dec 29, 2025
@B1ueber2y B1ueber2y changed the title Move weight logic into ViewGraph. Drop weight support for different relative poses in rotation averaging. Dec 29, 2025
@B1ueber2y

Copy link
Copy Markdown
Contributor Author

I suggest removing it. I think this was only used for testing in the past. If we really need it again, then it's easy enough to bring back. Let's use the luxury of this initial import of the code to clean up and simplify as much as possible.

Done. PTAL : )

@B1ueber2y
B1ueber2y merged commit 902c65d into main Dec 29, 2025
14 checks passed
@B1ueber2y
B1ueber2y deleted the shaohui/refactor-image-pair-patch-3 branch December 29, 2025 16:49
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.