|
Point Cloud Library (PCL) 1.12.0
|
#include <pcl/segmentation/unary_classifier.h>
Collaboration diagram for pcl::UnaryClassifier< PointT >:Public Member Functions | |
| UnaryClassifier () | |
| Constructor that sets default values for member variables. | |
| ~UnaryClassifier () | |
| This destructor destroys the cloud... | |
| void | setInputCloud (typename pcl::PointCloud< PointT >::Ptr input_cloud) |
| This method sets the input cloud. | |
| void | train (pcl::PointCloud< pcl::FPFHSignature33 >::Ptr &output) |
| void | trainWithLabel (std::vector< pcl::PointCloud< pcl::FPFHSignature33 >, Eigen::aligned_allocator< pcl::PointCloud< pcl::FPFHSignature33 > > > &output) |
| void | segment (pcl::PointCloud< pcl::PointXYZRGBL >::Ptr &out) |
| void | queryFeatureDistances (std::vector< pcl::PointCloud< pcl::FPFHSignature33 >::Ptr > &trained_features, pcl::PointCloud< pcl::FPFHSignature33 >::Ptr query_features, pcl::Indices &indi, std::vector< float > &dist) |
| void | assignLabels (pcl::Indices &indi, std::vector< float > &dist, int n_feature_means, float feature_threshold, pcl::PointCloud< pcl::PointXYZRGBL >::Ptr out) |
| void | setClusterSize (unsigned int k) |
| void | setNormalRadiusSearch (float param) |
| void | setFPFHRadiusSearch (float param) |
| void | setLabelField (bool l) |
| void | setTrainedFeatures (std::vector< pcl::PointCloud< pcl::FPFHSignature33 >::Ptr > &features) |
| void | setFeatureThreshold (float threshold) |
Protected Member Functions | |
| void | convertCloud (typename pcl::PointCloud< PointT >::Ptr in, pcl::PointCloud< pcl::PointXYZ >::Ptr out) |
| void | convertCloud (typename pcl::PointCloud< PointT >::Ptr in, pcl::PointCloud< pcl::PointXYZRGBL >::Ptr out) |
| void | findClusters (typename pcl::PointCloud< PointT >::Ptr in, std::vector< int > &cluster_numbers) |
| void | getCloudWithLabel (typename pcl::PointCloud< PointT >::Ptr in, pcl::PointCloud< pcl::PointXYZ >::Ptr out, int label_num) |
| void | computeFPFH (pcl::PointCloud< pcl::PointXYZ >::Ptr in, pcl::PointCloud< pcl::FPFHSignature33 >::Ptr out, float normal_radius_search, float fpfh_radius_search) |
| void | kmeansClustering (pcl::PointCloud< pcl::FPFHSignature33 >::Ptr in, pcl::PointCloud< pcl::FPFHSignature33 >::Ptr out, int k) |
Protected Attributes | |
| pcl::PointCloud< PointT >::Ptr | input_cloud_ |
| Contains the input cloud. | |
| bool | label_field_ |
| unsigned int | cluster_size_ |
| float | normal_radius_search_ |
| float | fpfh_radius_search_ |
| float | feature_threshold_ |
| std::vector< pcl::PointCloud< pcl::FPFHSignature33 >::Ptr > | trained_features_ |
Definition at line 58 of file unary_classifier.h.
| pcl::UnaryClassifier< PointT >::UnaryClassifier | ( | ) |
Constructor that sets default values for member variables.
Definition at line 54 of file unary_classifier.hpp.
| pcl::UnaryClassifier< PointT >::~UnaryClassifier | ( | ) |
This destructor destroys the cloud...
Definition at line 65 of file unary_classifier.hpp.
| void pcl::UnaryClassifier< PointT >::assignLabels | ( | pcl::Indices & | indi, |
| std::vector< float > & | dist, | ||
| int | n_feature_means, | ||
| float | feature_threshold, | ||
| pcl::PointCloud< pcl::PointXYZRGBL >::Ptr | out ) |
Definition at line 330 of file unary_classifier.hpp.
|
protected |
Definition at line 205 of file unary_classifier.hpp.
References pcl::Feature< PointInT, PointOutT >::compute(), pcl::NormalEstimation< PointInT, PointOutT >::setInputCloud(), pcl::PCLBase< PointT >::setInputCloud(), pcl::FeatureFromNormals< PointInT, PointNT, PointOutT >::setInputNormals(), pcl::Feature< PointInT, PointOutT >::setRadiusSearch(), and pcl::Feature< PointInT, PointOutT >::setSearchMethod().
|
protected |
Definition at line 87 of file unary_classifier.hpp.
|
protected |
Definition at line 108 of file unary_classifier.hpp.
References pcl::_PointXYZRGBL::label.
|
protected |
Definition at line 135 of file unary_classifier.hpp.
References pcl::getFieldIndex().
|
protected |
Definition at line 170 of file unary_classifier.hpp.
References pcl::getFieldIndex().
|
protected |
Definition at line 234 of file unary_classifier.hpp.
References pcl::Kmeans::addDataPoint(), pcl::Kmeans::get_centroids(), pcl::FPFHSignature33::histogram, pcl::Kmeans::kMeans(), and pcl::Kmeans::setClusterSize().
| void pcl::UnaryClassifier< PointT >::queryFeatureDistances | ( | std::vector< pcl::PointCloud< pcl::FPFHSignature33 >::Ptr > & | trained_features, |
| pcl::PointCloud< pcl::FPFHSignature33 >::Ptr | query_features, | ||
| pcl::Indices & | indi, | ||
| std::vector< float > & | dist ) |
Definition at line 273 of file unary_classifier.hpp.
| void pcl::UnaryClassifier< PointT >::segment | ( | pcl::PointCloud< pcl::PointXYZRGBL >::Ptr & | out | ) |
Definition at line 405 of file unary_classifier.hpp.
|
inline |
Definition at line 99 of file unary_classifier.h.
|
inline |
Definition at line 114 of file unary_classifier.h.
|
inline |
Definition at line 105 of file unary_classifier.h.
| void pcl::UnaryClassifier< PointT >::setInputCloud | ( | typename pcl::PointCloud< PointT >::Ptr | input_cloud | ) |
This method sets the input cloud.
| [in] | input_cloud | input point cloud |
Definition at line 71 of file unary_classifier.hpp.
References pcl::getFieldIndex().
|
inline |
Definition at line 108 of file unary_classifier.h.
|
inline |
Definition at line 102 of file unary_classifier.h.
|
inline |
Definition at line 111 of file unary_classifier.h.
| void pcl::UnaryClassifier< PointT >::train | ( | pcl::PointCloud< pcl::FPFHSignature33 >::Ptr & | output | ) |
Definition at line 356 of file unary_classifier.hpp.
| void pcl::UnaryClassifier< PointT >::trainWithLabel | ( | std::vector< pcl::PointCloud< pcl::FPFHSignature33 >, Eigen::aligned_allocator< pcl::PointCloud< pcl::FPFHSignature33 > > > & | output | ) |
Definition at line 374 of file unary_classifier.hpp.
|
protected |
Definition at line 153 of file unary_classifier.h.
|
protected |
Definition at line 157 of file unary_classifier.h.
|
protected |
Definition at line 156 of file unary_classifier.h.
|
protected |
Contains the input cloud.
Definition at line 149 of file unary_classifier.h.
|
protected |
Definition at line 151 of file unary_classifier.h.
|
protected |
Definition at line 155 of file unary_classifier.h.
|
protected |
Definition at line 160 of file unary_classifier.h.