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

Question about .cam file #14

Open
eckertzhang opened this issue Nov 12, 2020 · 1 comment
Open

Question about .cam file #14

eckertzhang opened this issue Nov 12, 2020 · 1 comment

Comments

@eckertzhang
Copy link

Thanks for your work of G2LTex.
I am following this work. There is an issue about the data.
Would please tell me what the 12 figures in .cam file means? The first nine figures is the rotation matrix? Or the fourth, eighth, and twelfth figure combine as the translation vector?

I am looking forward for your reply. Thanks for your time.

@fdp0525
Copy link
Owner

fdp0525 commented Nov 13, 2020

please refer to the illustrations:

  1. Input Format
    Color frames (color_XX.jpg): RGB, 24-bit, JPG.
    Depth frames (depth_XX.png): depth (mm), 16-bit, PNG (invalid depth is set to 0).
    Camera poses (color_XX.cam): world-to-camera [tx, ty, tz, R00, R01, R02, R10, R11, R12, R20, R21, R22].

The world-to-camera matrix can be constructed

[R00 R01 R02 tx

R10 R11 R12 ty

R20 R21 R22 tz

0 0 0 1]

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