Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find optimal R, t between two 3x4 homogeneous metrics #14

Open
khayamgondal opened this issue Oct 28, 2023 · 2 comments
Open

Find optimal R, t between two 3x4 homogeneous metrics #14

khayamgondal opened this issue Oct 28, 2023 · 2 comments

Comments

@khayamgondal
Copy link

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

@nghiaho12
Copy link
Owner

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

@khayamgondal
Copy link
Author

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants