kwea123 / nerf_pl

NeRF (Neural Radiance Fields) and NeRF in the Wild using pytorch-lightning

Home Page:https://www.youtube.com/playlist?list=PLDV2CyUo4q-K02pNEyDr7DYpTQuka3mbV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why we need to correct scale so that the nearest depth is at a little more than 1.0?

MMMazart opened this issue · comments

commented

I don't understand why we need to correct scale so that the nearest depth is at a little more than 1.0。
` near_original = self.bounds.min()

    scale_factor = near_original*0.75 # 0.75 is the default parameter# the nearest depth is at 1/0.75=1.33
    self.bounds /= scale_factor
    self.poses[..., 3] /= scale_factor`

Could you explain?thank you