med-air / EndoNeRF

Neural Rendering for Stereo 3D Reconstruction of Deformable Tissues in Robotic Surgery
https://med-air.github.io/EndoNeRF/
173 stars 14 forks source link

Time in EndoNeRF #20

Open smoreira00 opened 1 year ago

smoreira00 commented 1 year ago

How does the time enters in the EndoNeRF?

yuehaowang commented 1 year ago

The render function receives a parameter frame_time, which will be batched with ray origins and ray directions (L171-172). Then, in the render_rays function, the frame time will be unpacked from the ray batch(L482) and fed into the network (L533).

smoreira00 commented 1 year ago

And how is the time sampled?

yuehaowang commented 1 year ago

The time is sampled evenly among [0, 1]. Check the code here.