After running RQDecomp3x3
in OpenCV, you get:
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.
How do you get back from the three rotation matrices (Qx
, Qy
, Qz
) to the original input matrix?
Or in the case where the input matrix was a rotational matrix, mtxR
will be the identity matrix so how can you go from the three rotation matrices to mtxQ
?
UPDATED With answer though I don't get why the transpose is needed.