Commit 603fb48f authored by artificiel's avatar artificiel
Browse files

EuclidianExtractor: augmentation de la limite superieure de points

parent 27af14c4
...@@ -75,7 +75,7 @@ class EuclidianExtractor : public ofThread ...@@ -75,7 +75,7 @@ class EuclidianExtractor : public ofThread
pcl::EuclideanClusterExtraction<pcl::PointXYZ> ec; pcl::EuclideanClusterExtraction<pcl::PointXYZ> ec;
ec.setClusterTolerance(cluster_distance_tolerance); ec.setClusterTolerance(cluster_distance_tolerance);
ec.setMinClusterSize(cluster_minimum_points); ec.setMinClusterSize(cluster_minimum_points);
ec.setMaxClusterSize(25000); // whatever? ec.setMaxClusterSize(100000); // whatever? mettre 100k au lieu de 25k semble regler un crash rare
ec.setSearchMethod(tree); ec.setSearchMethod(tree);
ec.setInputCloud(cloud); ec.setInputCloud(cloud);
ec.extract(cluster_indices); ec.extract(cluster_indices);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment