sxyu / svox2

Plenoxels: Radiance Fields without Neural Networks
BSD 2-Clause "Simplified" License
2.79k stars 360 forks source link

What's the meaning of `ndc_coeff`? #100

Closed wzy-99 closed 1 year ago

wzy-99 commented 1 year ago

Hello, I don't understant the meaning of ndc_coeff in LLFFDataset and tv_loss. Can you give an explanation?

sxyu commented 1 year ago

ndc_coeff are just some conventient variables used for internal NDC computation. Actually it's just a normalized focal length

self.ndc_coeffs = (2 * self.intrins_full.fx / self.w_full,
    2 * self.intrins_full.fy / self.h_full)
sxyu commented 1 year ago

I think tv loss refers to the total variation loss (not sure if that answers your question)

wzy-99 commented 1 year ago

Thank you!