重新组合OpenCV RQDECOMP3X3X3的结果

重新组合OpenCV RQDECOMP3X3X3的结果,opencv,linear-algebra,rotational-matrices,matrix-factorization,matrix-decomposition,Opencv,Linear Algebra,Rotational Matrices,Matrix Factorization,Matrix Decomposition,跑步后,您将获得: mtxR – Output 3x3 upper-triangular matrix. mtxQ – Output 3x3 orthogonal matrix. Qx – Optional output 3x3 rotation matrix around x-axis. Qy – Optional output 3x3 rotation matrix around y-axis. Qz – Optional output 3x3 rotation matrix around

跑步后,您将获得:

mtxR – Output 3x3 upper-triangular matrix.
mtxQ – Output 3x3 orthogonal matrix.
Qx – Optional output 3x3 rotation matrix around x-axis.
Qy – Optional output 3x3 rotation matrix around y-axis.
Qz – Optional output 3x3 rotation matrix around z-axis.
如何从三个旋转矩阵(
Qx
Qy
Qz
)返回到原始输入矩阵

或者,如果输入矩阵是旋转矩阵,
mtxR
将是单位矩阵,那么如何从三个旋转矩阵转换为
mtxQ

更新 尽管我不明白为什么需要转置,但我还是给出了答案。

看起来(至少对于旋转矩阵输入):
input=(Qx@Qy@Qz)

旋转矩阵的转置和逆矩阵相同原始矩阵应该是mtxQ*mtxR,但我知道它是QR分解,而不是RQ分解?!?所以你的问题应该是如何从Qx,Qy,Qz到mtxQ?