|
Point Cloud Library (PCL)
1.3.1
|
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. | |
| void | setSearchMethod (const KdTreePtr &tree) |
| Provide a pointer to the search object. | |
| KdTreePtr | getSearchMethod () |
| Get a pointer to the search method used. | |
| void | setClusterTolerance (double tolerance) |
| Set the spatial cluster tolerance as a measure in the L2 Euclidean space. | |
| double | getClusterTolerance () |
| Get the spatial cluster tolerance as a measure in the L2 Euclidean space. | |
| void | setMinClusterSize (int min_cluster_size) |
| Set the minimum number of points that a cluster needs to contain in order to be considered valid. | |
| int | getMinClusterSize () |
| Get the minimum number of points that a cluster needs to contain in order to be considered valid. | |
| void | setMaxClusterSize (int max_cluster_size) |
| Set the maximum number of points that a cluster needs to contain in order to be considered valid. | |
| int | getMaxClusterSize () |
| Get the maximum number of points that a cluster needs to contain in order to be considered valid. | |
| void | setMaxLabels (unsigned int max_label) |
| Set the maximum number of labels in the cloud. | |
| unsigned int | getMaxLabels () |
| Get the maximum number of labels. | |
| void | extract (std::vector< std::vector< PointIndices > > &labeled_clusters) |
| Cluster extraction in a PointCloud given by <setInputCloud (), setIndices ()> | |
| virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
| Provide a pointer to the input dataset. | |
| PointCloudConstPtr const | getInputCloud () |
| Get a pointer to the input point cloud dataset. | |
| void | setIndices (const IndicesPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| void | setIndices (const PointIndicesConstPtr &indices) |
| Provide a pointer to the vector of indices that represents the input data. | |
| 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. | |
| IndicesPtr const | getIndices () |
| Get a pointer to the vector of indices used. | |
| const PointT & | operator[] (size_t pos) |
| Override PointCloud operator[] to shorten code. | |
LabeledEuclideanClusterExtraction represents a segmentation class for cluster extraction in an Euclidean sense, with label info.
| typedef pcl::search::Search<PointT> pcl::LabeledEuclideanClusterExtraction::KdTree |
Definition at line 74 of file extract_labeled_clusters.h.
| typedef pcl::search::Search<PointT>::Ptr pcl::LabeledEuclideanClusterExtraction::KdTreePtr |
Definition at line 75 of file extract_labeled_clusters.h.
| typedef pcl::PointCloud<PointT> pcl::LabeledEuclideanClusterExtraction::PointCloud |
Reimplemented from pcl::PCLBase< PointT >.
Definition at line 70 of file extract_labeled_clusters.h.
Reimplemented from pcl::PCLBase< PointT >.
Definition at line 72 of file extract_labeled_clusters.h.
Reimplemented from pcl::PCLBase< PointT >.
Definition at line 71 of file extract_labeled_clusters.h.
Reimplemented from pcl::PCLBase< PointT >.
Definition at line 78 of file extract_labeled_clusters.h.
Reimplemented from pcl::PCLBase< PointT >.
Definition at line 77 of file extract_labeled_clusters.h.
| pcl::LabeledEuclideanClusterExtraction::LabeledEuclideanClusterExtraction | ( | ) | [inline] |
Empty constructor.
Definition at line 82 of file extract_labeled_clusters.h.
| void pcl::LabeledEuclideanClusterExtraction::extract | ( | std::vector< std::vector< PointIndices > > & | labeled_clusters | ) |
Cluster extraction in a PointCloud given by <setInputCloud (), setIndices ()>
| clusters | the resultant point clusters |
Definition at line 120 of file extract_labeled_clusters.hpp.
| double pcl::LabeledEuclideanClusterExtraction::getClusterTolerance | ( | ) | [inline] |
Get the spatial cluster tolerance as a measure in the L2 Euclidean space.
Definition at line 101 of file extract_labeled_clusters.h.
| IndicesPtr const pcl::PCLBase::getIndices | ( | ) | [inline, inherited] |
Get a pointer to the vector of indices used.
Definition at line 171 of file pcl_base.h.
| PointCloudConstPtr const pcl::PCLBase::getInputCloud | ( | ) | [inline, inherited] |
Get a pointer to the input point cloud dataset.
Definition at line 99 of file pcl_base.h.
| int pcl::LabeledEuclideanClusterExtraction::getMaxClusterSize | ( | ) | [inline] |
Get the maximum number of points that a cluster needs to contain in order to be considered valid.
Definition at line 117 of file extract_labeled_clusters.h.
| unsigned int pcl::LabeledEuclideanClusterExtraction::getMaxLabels | ( | ) | [inline] |
Get the maximum number of labels.
Definition at line 125 of file extract_labeled_clusters.h.
| int pcl::LabeledEuclideanClusterExtraction::getMinClusterSize | ( | ) | [inline] |
Get the minimum number of points that a cluster needs to contain in order to be considered valid.
Definition at line 109 of file extract_labeled_clusters.h.
| KdTreePtr pcl::LabeledEuclideanClusterExtraction::getSearchMethod | ( | ) | [inline] |
Get a pointer to the search method used.
Definition at line 93 of file extract_labeled_clusters.h.
| const PointT& pcl::PCLBase::operator[] | ( | size_t | pos | ) | [inline, inherited] |
Override PointCloud operator[] to shorten code.
| pos | position in indices_ vector |
Definition at line 178 of file pcl_base.h.
| void pcl::LabeledEuclideanClusterExtraction::setClusterTolerance | ( | double | tolerance | ) | [inline] |
Set the spatial cluster tolerance as a measure in the L2 Euclidean space.
| tolerance | the spatial cluster tolerance as a measure in the L2 Euclidean space |
Definition at line 98 of file extract_labeled_clusters.h.
| void pcl::PCLBase::setIndices | ( | const IndicesPtr & | indices | ) | [inline, inherited] |
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 105 of file pcl_base.h.
| void pcl::PCLBase::setIndices | ( | const PointIndicesConstPtr & | indices | ) | [inline, inherited] |
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 116 of file pcl_base.h.
| void pcl::PCLBase::setIndices | ( | size_t | row_start, |
| size_t | col_start, | ||
| size_t | nb_rows, | ||
| size_t | nb_cols | ||
| ) | [inline, inherited] |
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 132 of file pcl_base.h.
| virtual void pcl::PCLBase::setInputCloud | ( | const PointCloudConstPtr & | cloud | ) | [inline, virtual, inherited] |
Provide a pointer to the input dataset.
| cloud | the const boost shared pointer to a PointCloud message |
Definition at line 95 of file pcl_base.h.
| void pcl::LabeledEuclideanClusterExtraction::setMaxClusterSize | ( | int | max_cluster_size | ) | [inline] |
Set the maximum number of points that a cluster needs to contain in order to be considered valid.
| max_cluster_size | the maximum cluster size |
Definition at line 114 of file extract_labeled_clusters.h.
| void pcl::LabeledEuclideanClusterExtraction::setMaxLabels | ( | unsigned int | max_label | ) | [inline] |
Set the maximum number of labels in the cloud.
| max_label | the maximum |
Definition at line 122 of file extract_labeled_clusters.h.
| void pcl::LabeledEuclideanClusterExtraction::setMinClusterSize | ( | int | min_cluster_size | ) | [inline] |
Set the minimum number of points that a cluster needs to contain in order to be considered valid.
| min_cluster_size | the minimum cluster size |
Definition at line 106 of file extract_labeled_clusters.h.
| void pcl::LabeledEuclideanClusterExtraction::setSearchMethod | ( | const KdTreePtr & | tree | ) | [inline] |
Provide a pointer to the search object.
| tree | a pointer to the spatial search object. |
Definition at line 90 of file extract_labeled_clusters.h.
1.7.5