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

left multiply or right multiply? #33

Closed
Lxiangyue opened this issue Sep 27, 2022 · 2 comments
Closed

left multiply or right multiply? #33

Lxiangyue opened this issue Sep 27, 2022 · 2 comments

Comments

@Lxiangyue
Copy link

Thanks for your great work!

May I ask why you sometimes apply left multiply on Rmat, and sometimes right multiply? Why not use the same formation? What's the difference? I'm really confused about that.

@gengshan-y
Copy link
Contributor

Hi, thanks for pointing it out. There should only be left multiply in the ideal case (P'=RP+T assuming P is 3xN). But sometimes P is Nx3, in this case, I right multiply R transpose (P'=PR^T+T), which is equivalent to left multiplying R. Hopefully there is no exceptions, if there is please let me know.

@Lxiangyue
Copy link
Author

Thanks for your clear reply! It seems that they are equal. And the attention point is using R transpose instead of R when utilizing right multiply.

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