sc_depth_pl
sc_depth_pl copied to clipboard
quat2mat
https://github.com/JiawangBian/sc_depth_pl/blob/2f76ce86524188c1ac04d0d1d4a9bd45eb3902e0/losses/inverse_warp.py#L63
if we use the quaternion coefficients as shown in image1
according to the Rodriguez formula,We can deduce the rotation matrix,as shown in image2
i find there are difference between formula and codes. Could you tell me the details of the changes you have made?
Just copied from https://github.com/ClementPinard/SfmLearner-Pytorch/blob/master/inverse_warp.py. Didn't use it.
yes, i saw it, may i ask it will influence the results? have you think adout this trick?
You can try this one "https://kornia.readthedocs.io/en/latest/_modules/kornia/geometry/conversions.html#quaternion_to_rotation_matrix" if you need it.
yes, i saw it, may i ask it will influence the results? have you think adout this trick?
I tried it before and got very similar results compared to using euler angle on KITTI.
ok , thanks for your reply. i will try it later. Best regards.