open3d.geometry.uniform_down_sample

open3d.geometry.uniform_down_sample(input, every_k_points)

Function to downsample input pointcloud into output pointcloud uniformly. The sample is performed in the order of the points with the 0-th point always chosen, not at random.

Parameters
  • input (open3d.geometry.PointCloud) – The input point cloud.

  • every_k_points (int) – Sample rate, the selected point indices are [0, k, 2k, …]

Returns

open3d.geometry.PointCloud