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

Skip to content

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