machinevisiontoolbox.PointCloud.PointCloud.downsample_voxel

PointCloud.downsample_voxel(voxel_size)[source]

Downsample point cloud by voxelization

Parameters:

voxel_size (float) – voxel dimension

Returns:

downsampled point cloud

Return type:

PointCloud

Point cloud resolution is reduced by keeping only one point per voxel.

Seealso:

downsample_random