machinevisiontoolbox.PointCloud.PointCloud.select

PointCloud.select(ind, invert=False)[source]

Select points by index

Parameters:
  • ind (ndarray()) – indices into point cloud

  • invert (bool, optional) – exclude points, defaults to False

Returns:

subset of point cloud

Return type:

PointCloud

Create point cloud from points with indices given by integer array ind. If invert is True then select those points not given by ind.