How to get the indices for rasterizing descriptors?
BostonLobster opened this issue · comments
I saw the descriptors are stored in PointTexture class as nn.Parameters, and they are rasterized to image through index_select
. I am wondering how to get these indices?
@BostonLobster are you referring to this line?
Line 61 in c0cf6f2
In this case, the ind
array should be suitable.
Line 55 in c0cf6f2
@seva100 Yes, that is the line I referred. I am confused about where did you get the ind
array.
hi, in my understanding, the ids is obtained from the rendering of the scene, ids = inputs[:, 0], some parameters of the point cloud are passed into the NNScene class as some parameters of the scene, and then rendered to get the inputs, The pixel value of this inputs[:,0] is a corresponding index value from the 3D point cloud to the 2D plane.