Closed Silverster98 closed 2 years ago
Hi, thanks for your interest in our paper!
The offset
variable is designed to project a point into 3x3 pixels that form a square centered at the original projection pixel. Given that the point cloud is sparse, we believe that this densify operation would produce smoother image.
Therefore, idx_xy_dense
is the densified index for projection and f_dense
is just a duplication of the original feature to match size.
I notice there is a variable
offset
defined in theProjEnc
class at Line33. And it is used for computingidx_xy_dense
at Line65. BTW, what's the meaning ofidx_xy_dense
andf_dense
? I didn't find related clarification in the original paper. Can you explain more?https://github.com/wangzy22/P2P/blob/b26e9942a1bafd70e999815df5feb7d1a3210b4c/models/layers/encoder.py#L33
https://github.com/wangzy22/P2P/blob/b26e9942a1bafd70e999815df5feb7d1a3210b4c/models/layers/encoder.py#L65
https://github.com/wangzy22/P2P/blob/b26e9942a1bafd70e999815df5feb7d1a3210b4c/models/layers/encoder.py#L81