Thanks to Chen Shi's Email for pointing out the following issue:
In the calculation of the weight w_11 (and likely other similar weights), there appears to be a multiplication where I believe a division should be used. Specifically, in the following line:
This change would align with the standard bilateral filter formula, where the exponential term typically involves division by 2σ². I'm also considering the possibility that SIGMA_R might be defined as a reciprocal value in our implementation.
Thanks to Chen Shi's Email for pointing out the following issue:
In the calculation of the weight w_11 (and likely other similar weights), there appears to be a multiplication where I believe a division should be used. Specifically, in the following line:
I suspect that the correct formula should use division instead of multiplication:
This change would align with the standard bilateral filter formula, where the exponential term typically involves division by 2σ². I'm also considering the possibility that
SIGMA_R
might be defined as a reciprocal value in our implementation.