getkeops / keops

KErnel OPerationS, on CPUs and GPUs, with autodiff and without memory overflows
https://www.kernel-operations.io
MIT License
1.04k stars 64 forks source link

Best way to get voxel center coordinates? #172

Closed SamGalanakis closed 3 years ago

SamGalanakis commented 3 years ago

Thanks for the great package. I need voxelization for point clouds which pykeops.torch.cluster.grid_cluster works great for but I also need a way to get the coordinates of the centerpoint for a given voxel, is that possible? Maybe a function for calculating it given the index and the voxel sizes?

Thanks in advance.