sniklaus/softmax-splatting

about the weights of splatting and interpolate operations

Closed this issue · 2 comments

Think of it as in inverse of the bilinear interpolation. Instead of taking a weighted sum of four pixels to compute the interpolated pixel, in splatting we have to distribute the pixel that we are splatting to the four closest pixels in the target. The weights that are used during splatting (scattering) happen to be the same as the weights used during interpolation (gathering).

Originally posted by @sniklaus in #44 (comment)

Thank you for your patient reply!
I found the key of the problem.
How splatting weights are obtained and why they happen to be the same as interpolation weights.
Is there a theoretical derivation or is it an intuitive assumption?
Could you please give the derivation process or relevant literature that can provide the answer.

I am afraid that I do not have any literature at hand, the bilinear splatting is rather intuitive for me.