I have a point cloud data. What I want to do is count how many objects are there in the point cloud.
Suppose there are many cylindrical objects in my point cloud. What I am thinking of doing is to average each point cloud objects( which will be a tight packed group of points) to a single centroid point(orange). Then counting the centroids will be the number of objects in the point cloud.
How can this actually be done? Are there any Python libraries which can read, do this operation, and write from/to point clouds?