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

What are the format and unit of KRT? #10

Closed
TianyuDai opened this issue Jul 27, 2022 · 2 comments
Closed

What are the format and unit of KRT? #10

TianyuDai opened this issue Jul 27, 2022 · 2 comments

Comments

@TianyuDai
Copy link

Thanks for sharing this dataset!
I have read through DATASET_ASSET and DATA_STRUCTURE, but cannot find the information about camera matrices unit.
I assume that the first three rows (3x3 matrix) in KRT is the camera intrinsic. Is this intrinsic in unit of pixel? What is the fourth row (0.0 0.0 0.0 0.0 0.0)? Are the last three rows (3x4 matrix) the camera extrinsic? Are the translation in extrinsic shown in unit of millimeter?
Are vertices coordinates in xxx.obj and translation in xxx_transform.txt also saved in unit of millimeter?
In addition, what is the dtype and exact meaning of the values in xxx.bin? I noticed that they are slightly more than the number of vertices saved in xxx.obj.
Thank you!

@cwuu
Copy link
Contributor

cwuu commented Jul 28, 2022

Hi,

  1. All the units is in millimeter.
  2. The 3x4 matrix in the transform.txt is the projection matrix, which comes from multiplying camera intrinsic (3x3 matrix) with the camera extrinsic ([rotation|translation], 3x4 matrix).
  3. Aside from storing vertex values (which's the content of .bin files), .obj files also store the uv coordinate and the vertex topology. Storing data in binary format provides greater space-efficiency and processing-efficiency.

@TianyuDai
Copy link
Author

Thank you for the quick answer!

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