Totoro97 / f2-nerf

Fast neural radiance field training with free camera trajectories
https://totoro97.github.io/projects/f2-nerf/
Apache License 2.0
933 stars 69 forks source link

Are disparity and depth the same? #75

Open jelleopard opened 1 year ago

jelleopard commented 1 year ago

The rendered result contains disparity and depth, are these two equivalent or do they need to be converted? auto renderresult = renderer->Render(rays_o, rays_d, bounds, emb_idx); struct RenderResult { using Tensor = torch::Tensor; Tensor colors; Tensor first_oct_dis; Tensor disparity; Tensor edge_feats; Tensor depth; Tensor weights; Tensor idx_start_end; };

Totoro97 commented 1 year ago

Hi, they are different. You can assume that disparity = 1/depth. Thanks!

jelleopard commented 1 year ago

Thanks for you reply.