sarafridov / K-Planes

Other
479 stars 45 forks source link

Question about depth calculation. #7

Open DOGEwbx opened 1 year ago

DOGEwbx commented 1 year ago

Thanks for your awesome work. Recently I've been working with depth in NeRF and I found that your calculation of depth is different from the original NeRF. I wonder why do you add a one_minus_transmittance on to the depth. Thanks a lot.

DOGEwbx commented 1 year ago

I'm also curious about why did you use ndc_far as a hyperparameter instead of the fixed value 1. Is there any difference between them?

YuanxunLu commented 1 year ago

same question, I also think the depth calculation is confusing

sarafridov commented 1 year ago

Sorry for the confusion...we don't actually use this depth calculation anywhere in the rendering pipeline, it was just for visualization and debugging purposes. If I recall correctly, we added some scalings to make it easier to visualize back when we were setting up coordinate transforms like NDC and scene contraction.