Ji1Xingyu / lio_gvm

81 stars 4 forks source link

Jacobian matrix H #4

Closed a-github-learner closed 3 months ago

a-github-learner commented 4 months ago

Nice work! II have a question about how to obtain the Jacobian matrix $\boldsymbol{H}_{k,j}^n$?Looking forward to your response.

Ji1Xingyu commented 4 months ago

Please see attached for the derivation of the Jacobian matrix. Also I have updated the sup_material.pdf to include this derivation. 2024-05-06_19-12

a-github-learner commented 4 months ago

Thank you for your timely reply and detailed derivation! I have two additional questions:

  1. Dose $^{G}\hat{\boldsymbol{p}}_j$ in your sup_material.pdf has the same meaning as $^G\mathbf{\hat{\mu}}_j^n$, which means the centroid of the voxel? Or does it simply denote the position of points in the global frame?
  2. In $\left(\Lambda_j^n\right)^{-1}=\left(\mathbf{Q}_j^n\right)^T \mathbf{V}_k^{-1} \mathbf{Q}_j^n$, since $\mathbf{V}_k$ is a diagonal matrix, how is matrix decomposition performed on it? Is $\mathbf{Q}_j^n$ an identity matrix?
Ji1Xingyu commented 4 months ago
  1. ${}^G\hat{\boldsymbol{p}}_j$ denotes the point ${}^{L_k}\hat{\boldsymbol{p}}_j$ after being transformed to the global frame.
  2. Actually, the matrix decomposition is performed on $\left( {\Lambda}_j^n \right)^{-1}$. Moreover, since it is a diagonal matrix, this decomposition can be simplified as solving the following equation on each diagonal element: $q_k = \sqrt{\frac{v_k}{\lambda_k}}$.