nerfstudio-project / nerfacc

A General NeRF Acceleration Toolbox in PyTorch.
https://www.nerfacc.com/
Other
1.37k stars 113 forks source link

Fix distortion-loss to skip first term per sample / use inner zero sum #281

Closed ph03 closed 5 months ago

ph03 commented 5 months ago

Correctly evaluate Eq (2) of

Improved Direct Voxel Grid Optimization for Radiance Fields Reconstruction https://arxiv.org/pdf/2206.05085.pdf


The current formulation as an accumulation of per-sample terms requires the first term to vanish and subsequent terms to be "matched" with an offset term of the scanned inner sum, which is achieved using an exclusive scan.