rigid_transform_3D icon indicating copy to clipboard operation
rigid_transform_3D copied to clipboard

Find optimal R, t between two 3x4 homogeneous metrics

Open khayamgondal opened this issue 1 year ago • 2 comments

I have two camera homogeneous matrices with rotation 3x3 and translation 3x1 = 3x4. How can I find the optimal between those two? Thanks

khayamgondal avatar Oct 28 '23 20:10 khayamgondal

This is basic matrix algebra. The solution is of the form inv(A)*B.

nghiaho12 avatar Oct 29 '23 05:10 nghiaho12

Thanks, I am new to vector algebra. Do I need to do it to do it separately for translation and Rotation? Also once I have the H matrix by inv(A)*B should I pass H through singular value decomposition (SVD) to get U, Vt and optimal rotation via Vt.T.dot(U)?

khayamgondal avatar Oct 29 '23 17:10 khayamgondal