BaowenZ / RaDe-GS

RaDe-GS: Rasterizing Depth in Gaussian Splatting
Other
460 stars 25 forks source link

Why dividing rendered_alpha? #12

Closed zcai0612 closed 3 months ago

zcai0612 commented 3 months ago

https://github.com/BaowenZ/RaDe-GS/blob/4e74c2535a904c8944c751838c6f4761a0f1bd05/train.py#L148

I have a problem understanding this line, Is the rendered depth divided by the rendered alpha (mask)? Is it specially defined?

BaowenZ commented 3 months ago

The rendered_depth is the summation of weighted depths, and rendered_mask is the summation of weights. So it is a normalization.

zcai0612 commented 3 months ago

Got it, and thanks a lot for your response.