-
Notifications
You must be signed in to change notification settings - Fork 72
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
How to convert ARIA's camera coordinate system to COLMAP's camera coordinate system? #157
Comments
Hello, I'm trying to do the same thing. Have you solved the problem? Any help would be appreciated. |
ARIA's camera coordinate system seems like OpenGL coordinate system. I referred to conversion method in OpenGL and solved it. |
Thanks for your quick reply. I'll have a try. But do you know why it's the case? According to the description here, the ARIA's local coordinate system should be the same as COLMAP's convention. |
Sorry I might mislead you, I reversed the second row and the third row of the transformation matrix and turned it to quaternion to initialize the extrinsic matrix in colmap. I referred to conversion code in NeRF and 3DGS and it works for DTC dataset. Other dataset might be different and the document you referred confused me as well. |
Really appreciate your quick response. I referred to this documentation page to show that the camera coordinate system convention in Project Aria Glasses is the same as COLMAP's convention, namely Z forward, Y downward, X rightward. Therefore, the RGB camera extrinsic obtained with the following psedo-code should be compatible with the COLMAP extrinsic (except in different forms like rotation matrix and quaternion):
I'm also not sure if the |
I guess that I found where the question is! The camera coordinate system, as you mentioned, follows Z forward, Y downward, X rightward. But the world coordinate system follows X rightward, Y upward, Z backward, you could check it in session "3D Coordinate frame conventions", which has a picture of glasses and coordinate demonstrations. On the lower right corner of the picture is the world coordinate. So reversing the second and third row seems to be the correct transformation. |
We want to utilize given ARIA's camera pose(extrinsic matrix) to implement sparse reconstruction in COLMAP. However we found that simply convert the rotation matrix and translation matrix to quaternions input to COLMAP doesn't work. We wonder if they have different coordinate systems and how to convert between them?
The text was updated successfully, but these errors were encountered: