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

关于非线性优化的雅可比矩阵的疑惑?ch6和ch7 #304

Open
MaZhaoYong opened this issue Dec 21, 2024 · 2 comments
Open

关于非线性优化的雅可比矩阵的疑惑?ch6和ch7 #304

MaZhaoYong opened this issue Dec 21, 2024 · 2 comments

Comments

@MaZhaoYong
Copy link

  1. 在ch6中,给出了曲线拟合的手写高斯牛顿法,其中利用误差项e(x)对待优化变量x进行求导,得到的是雅可比矩阵J,也顺利代入增量方程 JJ^TΔx =-Je进行计算;” H += inv_sigma * inv_sigma * J * J.transpose(); b += -inv_sigma * inv_sigma * error * J;“
  2. 但是在ch7中,给出pnp的ba的手写高斯牛顿时,其中 利用误差项e(x)对待优化变量x进行求导,得到的却是雅可比矩阵的转置J^T,然后在程序代入增量方程时,先将J^T再装置一下。” H += J.transpose() * J; b += -J.transpose() * e;“
  3. 我的疑惑时为什么两者同样是将利用误差项e(x)对待优化变量x进行求导,前者得到的是雅可比矩阵J,而后者得到的是雅可比矩阵的转置J^T

924d38618fadfa0ddbff1638426b428

@BTREE-C802
Copy link

BTREE-C802 commented Dec 21, 2024 via email

@MaZhaoYong
Copy link
Author

88c6c5c63dc38327e95849d0b553502
f9d2cce7e0b752578ff7dd6c0041824

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

2 participants