|
Point Cloud Library (PCL)
1.6.0
|
LabeledEuclideanClusterExtraction represents a segmentation class for cluster extraction in an Euclidean sense, with label info. More...
#include <pcl/segmentation/extract_labeled_clusters.h>


Public Types | |
| typedef pcl::PointCloud< PointT > | PointCloud |
| typedef PointCloud::Ptr | PointCloudPtr |
| typedef PointCloud::ConstPtr | PointCloudConstPtr |
| typedef pcl::search::Search < PointT > | KdTree |
| typedef pcl::search::Search < PointT >::Ptr | KdTreePtr |
| typedef PointIndices::Ptr | PointIndicesPtr |
| typedef PointIndices::ConstPtr | PointIndicesConstPtr |
Public Member Functions | |
| LabeledEuclideanClusterExtraction () | |
| Empty constructor. More... | |
| void | setSearchMethod (const KdTreePtr &tree) |
| Provide a pointer to the search object. More... | |
| KdTreePtr | getSearchMethod () const |
| Get a pointer to the search method used. More... | |
| void | setClusterTolerance (double tolerance) |
| Set the spatial cluster tolerance as a measure in the L2 Euclidean space. More... | |
| double | getClusterTolerance () const |
| Get the spatial cluster tolerance as a measure in the L2 Euclidean space. More... | |
| void | setMinClusterSize (int min_cluster_size) |
| Set the minimum number of points that a cluster needs to contain in order to be considered valid. More... | |
| int | getMinClusterSize () const |
| Get the minimum number of points that a cluster needs to contain in order to be considered valid. More... | |
| void | setMaxClusterSize (int max_cluster_size) |
| Set the maximum number of points that a cluster needs to contain in order to be considered valid. More... | |
| int | getMaxClusterSize () const |
| Get the maximum number of points that a cluster needs to contain in order to be considered valid. More... | |
| void | setMaxLabels (unsigned int max_label) |
| Set the maximum number of labels in the cloud. More... | |
| unsigned int | getMaxLabels () const |
| Get the maximum number of labels. More... | |
| void | extract (std::vector< std::vector< PointIndices > > &labeled_clusters) |
| Cluster extraction in a PointCloud given by <setInputCloud (), setIndices ()> More... | |
| virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Provide a pointer to the input dataset. More... | |
| PointCloudConstPtr const | getInputCloud () |
| Get a pointer to the input point cloud dataset. More... | |
| void | setIndices (const IndicesPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. More... | |
| void | setIndices (const IndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. More... | |
| void | setIndices (const PointIndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. More... | |
| void | setIndices (size_t row_start, size_t col_start, size_t nb_rows, size_t nb_cols) |
| Set the indices for the points laying within an interest region of the point cloud. More... | |
| IndicesPtr const | getIndices () |
| Get a pointer to the vector of indices used. More... | |
| const PointT & | operator[] (size_t pos) |
| Override PointCloud operator[] to shorten code. More... | |
LabeledEuclideanClusterExtraction represents a segmentation class for cluster extraction in an Euclidean sense, with label info.
Definition at line 71 of file extract_labeled_clusters.h.
| typedef pcl::search::Search<PointT> pcl::LabeledEuclideanClusterExtraction< PointT >::KdTree |
Definition at line 80 of file extract_labeled_clusters.h.
| typedef pcl::search::Search<PointT>::Ptr pcl::LabeledEuclideanClusterExtraction< PointT >::KdTreePtr |
Definition at line 81 of file extract_labeled_clusters.h.
| typedef pcl::PointCloud<PointT> pcl::LabeledEuclideanClusterExtraction< PointT >::PointCloud |
Definition at line 76 of file extract_labeled_clusters.h.
| typedef PointCloud::ConstPtr pcl::LabeledEuclideanClusterExtraction< PointT >::PointCloudConstPtr |
Definition at line 78 of file extract_labeled_clusters.h.
| typedef PointCloud::Ptr pcl::LabeledEuclideanClusterExtraction< PointT >::PointCloudPtr |
Definition at line 77 of file extract_labeled_clusters.h.
| typedef PointIndices::ConstPtr pcl::LabeledEuclideanClusterExtraction< PointT >::PointIndicesConstPtr |
Definition at line 84 of file extract_labeled_clusters.h.
| typedef PointIndices::Ptr pcl::LabeledEuclideanClusterExtraction< PointT >::PointIndicesPtr |
Definition at line 83 of file extract_labeled_clusters.h.
|
inline |
Empty constructor.
Definition at line 88 of file extract_labeled_clusters.h.
| void pcl::LabeledEuclideanClusterExtraction< PointT >::extract | ( | std::vector< std::vector< PointIndices > > & | labeled_clusters) |
Cluster extraction in a PointCloud given by <setInputCloud (), setIndices ()>
| [out] | labeled_clusters | the resultant point clusters |
Definition at line 123 of file extract_labeled_clusters.hpp.
|
inline |
Get the spatial cluster tolerance as a measure in the L2 Euclidean space.
Definition at line 114 of file extract_labeled_clusters.h.
|
inlineinherited |
Get a pointer to the vector of indices used.
Definition at line 190 of file pcl_base.h.
|
inlineinherited |
Get a pointer to the input point cloud dataset.
Definition at line 107 of file pcl_base.h.
|
inline |
Get the maximum number of points that a cluster needs to contain in order to be considered valid.
Definition at line 134 of file extract_labeled_clusters.h.
|
inline |
Get the maximum number of labels.
Definition at line 144 of file extract_labeled_clusters.h.
|
inline |
Get the minimum number of points that a cluster needs to contain in order to be considered valid.
Definition at line 124 of file extract_labeled_clusters.h.
|
inline |
Get a pointer to the search method used.
Definition at line 104 of file extract_labeled_clusters.h.
|
inlineinherited |
Override PointCloud operator[] to shorten code.
| pos | position in indices_ vector |
Definition at line 197 of file pcl_base.h.
|
inline |
Set the spatial cluster tolerance as a measure in the L2 Euclidean space.
| [in] | tolerance | the spatial cluster tolerance as a measure in the L2 Euclidean space |
Definition at line 110 of file extract_labeled_clusters.h.
|
inlineinherited |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 113 of file pcl_base.h.
|
inlineinherited |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 124 of file pcl_base.h.
|
inlineinherited |
Provide a pointer to the vector of indices that represents the input data.
| indices | a pointer to the vector of indices that represents the input data. |
Definition at line 135 of file pcl_base.h.
|
inlineinherited |
Set the indices for the points laying within an interest region of the point cloud.
| row_start | the offset on rows |
| col_start | the offset on columns |
| nb_rows | the number of rows to be considered row_start included |
| nb_cols | the number of columns to be considered col_start included |
Definition at line 151 of file pcl_base.h.
|
inlinevirtualinherited |
Provide a pointer to the input dataset.
| cloud | the const boost shared pointer to a PointCloud message |
Reimplemented in pcl::PCA< PointT >.
Definition at line 103 of file pcl_base.h.
|
inline |
Set the maximum number of points that a cluster needs to contain in order to be considered valid.
| [in] | max_cluster_size | the maximum cluster size |
Definition at line 130 of file extract_labeled_clusters.h.
|
inline |
Set the maximum number of labels in the cloud.
| [in] | max_label | the maximum |
Definition at line 140 of file extract_labeled_clusters.h.
|
inline |
Set the minimum number of points that a cluster needs to contain in order to be considered valid.
| [in] | min_cluster_size | the minimum cluster size |
Definition at line 120 of file extract_labeled_clusters.h.
|
inline |
Provide a pointer to the search object.
| [in] | tree | a pointer to the spatial search object. |
Definition at line 100 of file extract_labeled_clusters.h.
1.8.4