dunbar12138 / DSNeRF

Code release for DS-NeRF (Depth-supervised Neural Radiance Fields)
https://www.cs.cmu.edu/~dsnerf/
MIT License
746 stars 126 forks source link

Some confusion about depth computation #61

Closed darui18 closed 1 year ago

darui18 commented 1 year ago

Hi! Thanks for your excellent work! I have some confusion about depth computation in load_llff.py line 371 depth = (poses[id_im-1,:3,2].T @ (point3D - poses[id_im-1,:3,3])) * sc what's mean about poses[id_im-1,:3,2].T ? It looks like a vector, not a rotation matrix.

darui18 commented 1 year ago

I see. this is to get z