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

Format of pose.txt #17

Open
HaiDang2001VN opened this issue Jun 13, 2018 · 2 comments
Open

Format of pose.txt #17

HaiDang2001VN opened this issue Jun 13, 2018 · 2 comments

Comments

@HaiDang2001VN
Copy link

HaiDang2001VN commented Jun 13, 2018

@andyzeng
Sorry but could you please specify the format of camera poses in the data you use in demo code?
Because there're just 6 numbers in 6DoF format of pose or 7 numbers as in TUM RGB-D Trajectories Dataset but you have up to 16 params here (I noticed that 4 last ones is the same for all).
And I saw that most repos use 6DoF as camera poses, so if you have time then you can mark this as Pull request.
Thanks in advance!

@andyzeng
Copy link
Owner

Each pose.txt holds a 4x4 rigid transformation matrix, which consists of a 3x3 rotation matrix and a 3x1 translation vector:

r11, r12, r13, tx
r21, r22, r23, ty
r31, r32, r33, tz
0, 0, 0, 1

The 3x3 rotation matrix can be converted to and from 3 numbers (e.g. euler angles, axis angle representation) or 4 numbers (e.g. quaternions like the TUM dataset).

@HaiDang2001VN
Copy link
Author

Thanks for your detailed explanation! @andyzeng

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