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

Output camera projection matrix? #53

Closed
Kulbear opened this issue Jan 16, 2021 · 2 comments
Closed

Output camera projection matrix? #53

Kulbear opened this issue Jan 16, 2021 · 2 comments

Comments

@Kulbear
Copy link

Kulbear commented Jan 16, 2021

Hello,

Thanks for your great work on this problem! I am wondering whether it is also possible to get the projection matrix that can map the output mesh back to the 2D image?

Thanks!

@m-niemeyer
Copy link
Collaborator

Hi @Kulbear , thanks for your interest in our project!

We use the transform_to_world function to project pixels with a depth value to the world space. There, you can also find the inverse transform, transform_to_camera_space which is the function which maps 3D world points to the camera space. To get out the final pixel values, you have to divide the first two coordinates by the third which is the depth in camera space. To give an example, we are using the function here to get the depth value in camera space.

Good luck with your research!

@wangsen1312
Copy link

@m-niemeyer Thank you for your great work!
Can you tell me which configuration can generate the predict camera_mat/world_mat/Scale_mat along with the meshes?

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

3 participants