-
Notifications
You must be signed in to change notification settings - Fork 187
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
About projection. #19
Comments
We follow the nerf-pytorch code convention and define the z-axis as "front to back". |
Why not cam_cord[:, 2] *= -1 but cam_cord[:, 0] *= -1? |
cam_cord[:, 0] *= -1是为了让计算得到的相机坐标的x, y, z在数据集的坐标系中均取反值吗?为什么不把cam_cord[:, 1] *= -1, cam_cord[:, 2] *= -1, 然后将计算得到的相机坐标转到数据集的坐标系中呢? |
I am also confused about |
我的理解是在代码相机(局部)坐标系下表达的坐标都是右上后的(正常相机坐标系为右下前,这里在load_pose就取反了),但是内参矩阵是右下前的,要变到像素坐标系就将第一列乘以负一,得到正常的像素坐标系取值范围 |
In Mapper.py,
in get_mask_from_c2w:
cam_cord[:, 0] *= -1
why are x of cam_cord needed to multiply by -1?
Besides,
mask = mask & (0 <= -z[:, :, 0]) & (-z[:, :, 0] <= depths+0.5)
why do you use the -z[:, :, 0] rather than z[:, :, 0]?
in keyframe_selection_overlap:
mask = mask & (z[:, :, 0] < 0)
why (z[:, :, 0] < 0)?
The text was updated successfully, but these errors were encountered: