Skip to content
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

Question about the logic behind determining covariance of priors in Gauss Newton optimizations. #57

Open
ybkurt opened this issue Nov 3, 2023 · 0 comments

Comments

@ybkurt
Copy link

ybkurt commented Nov 3, 2023

I could not understand the covariance assignment of priors in Gauss-Newton optimization codes of Sparse Image Alignment part.

H_max_diag_trans = std::max(H_max_diag_trans, std::fabs(H_(j,j)));
Matrix3d I_trans = Matrix3d::Identity()*prior_lambda_trans_*H_max_diag_trans;

What is the logic behind this operation, i.e. looking at Hessian matrix entries to determine the information's weight? Same operation is also applied in reprojection error minimization part for rotation priors.

H_max_diag = std::max(H_max_diag, std::fabs(H_(j,j)));
I_prior_ *= H_max_diag*prior_lambda_;

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

No branches or pull requests

1 participant