machinevisiontoolbox.PointCloud.PointCloud.downsample_random
- PointCloud.downsample_random(fraction, seed=None)[source]
Downsample point cloud by random selection
- Parameters:
fraction (float) – fraction of points to retain
seed (int, optional) – random number seed, defaults to None
- Returns:
downsampled point cloud
- Return type:
PointCloud
Point cloud resolution is reduced by randomly selecting a subset of points.
- Seealso: