G2LTex icon indicating copy to clipboard operation
G2LTex copied to clipboard

Question about .cam file

Open eckertzhang opened this issue 4 years ago • 1 comments

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.

eckertzhang avatar Nov 12 '20 08:11 eckertzhang

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]

fdp0525 avatar Nov 13 '20 01:11 fdp0525