Closed HaoRan-hash closed 11 months ago
Hi, grid subsampling picks one point in each grid. A larger grid size leads to smaller grids and thus a higher downsampling ratio (original / downsampled points). The actual downsampling ratio depends on the data. I simply load some point clouds, grid sample (leaving hash_size to 1) them, and print the ratios, then determine one. This parameter setting is mainly for performance issues. It's been quite some time since I wrote it and I can't recall its impact. But it should be minor. Just don't set it too small, in which case the hash table can't accommodate all subsampled points and a runtime error can occur.
I would like to know how downsampling ratio was determined and how it relates to grid size.