open3d.geometry.voxel_down_sample_and_trace

open3d.geometry.voxel_down_sample_and_trace(input, voxel_size, min_bound, max_bound, approximate_class=False)

Function to downsample using geometry.VoxelDownSample also records point cloud index before downsampling

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

  • voxel_size (float) – Voxel size to downsample into.

  • min_bound (numpy.ndarray[float64[3, 1]]) – Minimum coordinate of voxel boundaries

  • max_bound (numpy.ndarray[float64[3, 1]]) – Maximum coordinate of voxel boundaries

  • approximate_class (bool, optional, default=False) –

Returns

Tuple[open3d.geometry.PointCloud, numpy.ndarray[int32[m, n]]]