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

How to get depth boundaries of poses_bounds.npy? #72

Open
LEEJUHUI6635 opened this issue Aug 13, 2022 · 3 comments
Open

How to get depth boundaries of poses_bounds.npy? #72

LEEJUHUI6635 opened this issue Aug 13, 2022 · 3 comments

Comments

@LEEJUHUI6635
Copy link

Hello.
I have a problem in the process of understanding how to obtain the boundaries of depth in pose_bounds.npy file.
image
I thought that pts_arr is the point of world coordinates, poses[:3, 3:4, :] is the translation term of camera to world coordinates, and poses[:3, 2:3, :] is the rotation term of z values in c2w matrix.
I think that the task of finding the depth boundaries is to find the z value at the camera coordinate point. To do, I think we can take the following formula and obtain the z value, but I can't understand the formula of the code.
image

If you explain the formula for me, I think that it will be helpful for my research. Thank you for reading my question.

@Cerf-Volant425
Copy link

sorry to bother you, I was wondering whether you find the way to obtain the boundaries of depth in pose_bounds.npy file, thanks in advance.

@LEEJUHUI6635
Copy link
Author

LEEJUHUI6635 commented Nov 14, 2022

Sorry for late response. I just understood that through the formula in the picture attached above, the z_value of the 3D points can be obtained, and min_depth and max_depth can be obtained by scaling the min and max values of the z_value. Thank you.

@Cerf-Volant425
Copy link

Thank you so much, it can be very helpful.

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