10000 Add covariance weighted cost functor by ahojnnes · Pull Request #2880 · colmap/colmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add covariance weighted cost functor #2880

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 4 commits into from
Nov 3, 2024

Conversation

ahojnnes
Copy link
Contributor
@ahojnnes ahojnnes commented Nov 3, 2024

No description provided.

@B1ueber2y
Copy link
Contributor

Thanks. Do we still want to support CovarianceType templating to retain the performance of reprojection error?

@ahojnnes
Copy link
Contributor Author
ahojnnes commented Nov 3, 2024

Thanks. Do we still want to support CovarianceType templating to retain the performance of reprojection error?

I think we discussed that the overhead is minimal? We can easily bring it back, if needed. The initial concern was that this would affect the performance of the unweighted cost functions but this is not the case anymore now.

@ahojnnes ahojnnes enabled auto-merge (squash) November 3, 2024 15:37
@B1ueber2y B1ueber2y disabled auto-merge November 3, 2024 15:40
@ahojnnes ahojnnes enabled auto-merge (squash) November 3, 2024 15:45
@ahojnnes ahojnnes merged commit d6fe938 into main Nov 3, 2024
16 checks passed
@ahojnnes ahojnnes deleted the user/jsch/cov-weighted-cost-functor branch November 3, 2024 16:40
Comment on lines +126 to +127
ReprojErrorConstantPoseCostFunctor(const Eigen::Vector2d& point2D,
const Rigid3d& cam_from_world)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahojnnes What justifies this reordering?

Copy link
Contributor Author
@ahojnnes ahojnnes Nov 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this change, the point2D_cov and point2D parameters are separated by the cam_from_world in the weighted covariance wrapper (both in C++ and Python).

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.

3 participants
0