Hi everyone. I’m trying to learn the basics of modern C++ multithreading. I’m doing so by implementing a multithreaded version of the kmeans clustering algoritm, but I’m struggling quite a bit on managing threads inside a for loop. This is my setting: I have a NxD matrix of data points: template <typename T, const size_t ..
In the PCL tutorial, we can learn how to segment a plane and extract the Euclidean cluster point clouds. So now, after I used the pcl::EuclideanClusterExtraction algorithm. I need the centroid or the mean position of each cluster. Using pcl::EuclideanClusterExtraction I need to calculate the centroid with the for loops. After my search I found ..