fabiotosi92 / NeRF-Supervised-Deep-Stereo

A novel paradigm for collecting and generating stereo training data using neural rendering
https://nerfstereo.github.io/
MIT License
348 stars 19 forks source link

about the depth of NERF #31

Open xubin1994 opened 1 year ago

xubin1994 commented 1 year ago

Hello, I have a question about when use NGP to render depth. It seems that NERF uses the distance of the sampling point to render the depth. It uses the distance from (x, y, z) to the origin (0, 0, 0) instead of the depth of z. So is it correct to use NERF to render the depth to disp here? Is there a problem?

wtyuan96 commented 9 months ago

The depth value is calculated by integration of t value, which is along the z axis. Remember that the camera ray r(t)=o+td.