Closed qhdqhd closed 8 months ago
Hi, Yes.
Thanks for your fast response.
I just can not understand why is opacity * coef
? I thought it should be scale * coef
to make the scale of the 3d gaussian ball larger.
Here is your raw code:
def get_opacity_with_3D_filter(self):
opacity = self.opacity_activation(self._opacity)
# apply 3D filter
scales = self.get_scaling
scales_square = torch.square(scales)
det1 = scales_square.prod(dim=1)
scales_after_square = scales_square + torch.square(self.filter_3D)
det2 = scales_after_square.prod(dim=1)
coef = torch.sqrt(det1 / det2)
return opacity * coef[..., None]
Hi, scale is modified in get_scale_with_3D_filter. Here the coef is the sqrt part in your screenshot.
Thanks. I get it.
Does the s in equation (9) refer to 0.2 in the code?