std::vector< pcl::IndicesPtr > RTABMAP_CORE_EXPORT </td><tdclass="memItemRight"valign="bottom"><b>rtabmap::util3d::extractClusters</b> (const pcl::PointCloud< pcl::PointXYZ >::Ptr &cloud, float clusterTolerance, int minClusterSize, int maxClusterSize=std::numeric_limits< int >::max(), int *biggestClusterIndex=0)</td></tr>
<trclass="memdesc:ga62a0d02930f5969cbff707afe01d1bcd"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract clusters from point cloud of type <code>pcl::PointXYZ</code>. <br/></td></tr>
std::vector< pcl::IndicesPtr > RTABMAP_CORE_EXPORT </td><tdclass="memItemRight"valign="bottom"><b>rtabmap::util3d::extractClusters</b> (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, float clusterTolerance, int minClusterSize, int maxClusterSize=std::numeric_limits< int >::max(), int *biggestClusterIndex=0)</td></tr>
<trclass="memdesc:ga180048dc26009c5d6d1233bb6ce5de04"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract clusters from point cloud of type <code>pcl::PointXYZRGB</code>. <br/></td></tr>
std::vector< pcl::IndicesPtr > RTABMAP_CORE_EXPORT </td><tdclass="memItemRight"valign="bottom"><b>rtabmap::util3d::extractClusters</b> (const pcl::PointCloud< pcl::PointXYZ >::Ptr &cloud, const pcl::IndicesPtr &indices, float clusterTolerance, int minClusterSize, int maxClusterSize=std::numeric_limits< int >::max(), int *biggestClusterIndex=0)</td></tr>
<trclass="memdesc:ga8184974cc084fdd804e82bb979eb2353"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract clusters from point cloud of type <code>pcl::PointXYZ</code> inside provided indices. <br/></td></tr>
std::vector< pcl::IndicesPtr > RTABMAP_CORE_EXPORT </td><tdclass="memItemRight"valign="bottom"><b>rtabmap::util3d::extractClusters</b> (const pcl::PointCloud< pcl::PointNormal >::Ptr &cloud, const pcl::IndicesPtr &indices, float clusterTolerance, int minClusterSize, int maxClusterSize=std::numeric_limits< int >::max(), int *biggestClusterIndex=0)</td></tr>
<trclass="memdesc:gaecfbf327f7ef38738d0e592ed470d318"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract clusters from point cloud of type <code>pcl::PointNormal</code> inside provided indices. <br/></td></tr>
std::vector< pcl::IndicesPtr > RTABMAP_CORE_EXPORT </td><tdclass="memItemRight"valign="bottom"><b>rtabmap::util3d::extractClusters</b> (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, const pcl::IndicesPtr &indices, float clusterTolerance, int minClusterSize, int maxClusterSize=std::numeric_limits< int >::max(), int *biggestClusterIndex=0)</td></tr>
<trclass="memdesc:ga7c622ccc41a487527f0448db84fd8539"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract clusters from point cloud of type <code>pcl::PointXYZRGB</code> inside provided indices. <br/></td></tr>
std::vector< pcl::IndicesPtr > RTABMAP_CORE_EXPORT </td><tdclass="memItemRight"valign="bottom"><b>rtabmap::util3d::extractClusters</b> (const pcl::PointCloud< pcl::PointXYZRGBNormal >::Ptr &cloud, const pcl::IndicesPtr &indices, float clusterTolerance, int minClusterSize, int maxClusterSize=std::numeric_limits< int >::max(), int *biggestClusterIndex=0)</td></tr>
<trclass="memdesc:gada592bb1e0525a32412d5009002b9b1e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract clusters from point cloud of type <code>pcl::PointXYZRGBNormal</code> inside provided indices. <br/></td></tr>
std::vector< pcl::IndicesPtr > RTABMAP_CORE_EXPORT </td><tdclass="memItemRight"valign="bottom"><b>rtabmap::util3d::extractClusters</b> (const pcl::PointCloud< pcl::PointXYZI >::Ptr &cloud, const pcl::IndicesPtr &indices, float clusterTolerance, int minClusterSize, int maxClusterSize=std::numeric_limits< int >::max(), int *biggestClusterIndex=0)</td></tr>
<trclass="memdesc:ga3e51576a82fef5cddffe4d3ae14d8899"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract clusters from point cloud of type <code>pcl::PointXYZI</code> inside provided indices. <br/></td></tr>
std::vector< pcl::IndicesPtr > RTABMAP_CORE_EXPORT </td><tdclass="memItemRight"valign="bottom"><b>rtabmap::util3d::extractClusters</b> (const pcl::PointCloud< pcl::PointXYZINormal >::Ptr &cloud, const pcl::IndicesPtr &indices, float clusterTolerance, int minClusterSize, int maxClusterSize=std::numeric_limits< int >::max(), int *biggestClusterIndex=0)</td></tr>
<trclass="memdesc:ga8e23ae8df06afbb753eb6eb0b54a400a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Extract clusters from point cloud of type <code>pcl::PointXYZ</code>. <br/></td></tr>
<p>Performs Euclidean cluster extraction on a point cloud. </p>
<p>This function uses PCL's Euclidean clustering algorithm to segment the input point cloud into clusters based on spatial proximity. It optionally considers a subset of indices within the cloud, and returns the list of clusters as vectors of point indices.</p>
<p>Additionally, it can return the index of the largest cluster found.</p>
<dlclass="params"><dt>Parameters</dt><dd>
<tableclass="params">
<tr><tdclass="paramname">cloud</td><td>The input point cloud from which clusters will be extracted. </td></tr>
<tr><tdclass="paramname">indices</td><td>Optional pointer to a list of indices to consider for clustering. If empty, the full cloud is used. </td></tr>
<tr><tdclass="paramname">clusterTolerance</td><td>The spatial distance threshold for clustering. Points within this distance are considered part of the same cluster. </td></tr>
<tr><tdclass="paramname">minClusterSize</td><td>The minimum number of points required for a valid cluster. </td></tr>
<tr><tdclass="paramname">maxClusterSize</td><td>The maximum number of points allowed in a cluster. </td></tr>
<tr><tdclass="paramname">biggestClusterIndex</td><td>Optional output pointer. If not null, it will be set to the index of the largest cluster in the output.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd>A vector of indices, where each element contains the indices of one extracted cluster.</dd></dl>
<dlclass="section note"><dt>Note</dt><dd>Internally, this uses a KdTree for spatial searches and <code>pcl::EuclideanClusterExtraction</code> for segmentation. </dd>
<dd>
The order of clusters in the output is not guaranteed to reflect size or position. </dd>
<dd>
If no clusters are found, the output vector will be empty and biggestClusterIndex will be set to -1. </dd></dl>
<divid="nav-path"class="navpath"><!-- id is needed for treeview function! -->
<ul>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.9.8 </li>