While analyzing the paper and code together, there was something curious about Semantic Tracing
In the paper, the following equation is used to calculate the weight of i-th Gaussian:
$w_i = \sum o_i(p) T_i(p) M(p) $
However, in the code, particularly in apply_weight.cu, which seems to be the part assigning weight to the Gaussian, it appears to be implemented differently from the equation above.
When the Gaussian is used to render a 2D masked region, it seems the weight is calculated by just adding the mask value (0 or 1), which is C[ch]. And the average weight is calculated by dividing it in cnt.
Is that correct? Because It seems that the weight calculation method doesn't follow the equation in the paper, so I'm reaching out to inquire.
I would appreciate any insights from those who are familiar with this.
Hello, Thanks for your work!
While analyzing the paper and code together, there was something curious about Semantic Tracing
In the paper, the following equation is used to calculate the weight of i-th Gaussian: $w_i = \sum o_i(p) T_i(p) M(p) $
However, in the code, particularly in
apply_weight.cu
, which seems to be the part assigning weight to the Gaussian, it appears to be implemented differently from the equation above.When the Gaussian is used to render a 2D masked region, it seems the weight is calculated by just adding the mask value (0 or 1), which is C[ch]. And the average weight is calculated by dividing it in cnt.
Is that correct? Because It seems that the weight calculation method doesn't follow the equation in the paper, so I'm reaching out to inquire.
I would appreciate any insights from those who are familiar with this.