8000 Avoid hard crash if Jacobian matrix is rank deficient by mihaidusmanu · Pull Request #1557 · colmap/colmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Avoid hard crash if Jacobian matrix is rank deficient #1557

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 2 commits into from
Jul 5, 2022

Conversation

mihaidusmanu
Copy link
Contributor

Ceres hard crashes (LOG(FATAL)) in covariance.GetCovarianceMatrixInTangentSpace if the Jacobian matrix is rank deficient. In this case, covariance.Compute returns false as well.

If the Jacobian computation fails, we can directly return false (refinement failed) to avoid the hard crash.

@mihaidusmanu mihaidusmanu changed the title Do not fail if Jacobian matrix is rank deficient Do not hard crash if Jacobian matrix is rank deficient Jul 4, 2022
@mihaidusmanu mihaidusmanu changed the title Do not hard crash if Jacobian matrix is rank deficient Avoid hard crash if Jacobian matrix is rank deficient Jul 4, 2022
@ahojnnes ahojnnes merged commit 69f73e3 into colmap:dev Jul 5, 2022
@mihaidusmanu mihaidusmanu deleted the mihai/covariance-fix branch July 9, 2022 08:25
lucasthahn pushed a commit to tne-ai/colmap that referenced this pull request Aug 17, 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
0