Point Cloud Library (PCL) 1.12.0
|
#include <pcl/segmentation/unary_classifier.h>
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.
|
protected |
Definition at line 87 of file unary_classifier.hpp.
References pcl::ConstCloudIterator< PointT >::size().
|
protected |
Definition at line 108 of file unary_classifier.hpp.
References pcl::_PointXYZRGBL::label, and pcl::ConstCloudIterator< PointT >::size().
|
protected |
Definition at line 135 of file unary_classifier.hpp.
|
protected |
Definition at line 170 of file unary_classifier.hpp.
|
protected |
Definition at line 234 of file unary_classifier.hpp.
References pcl::FPFHSignature33::histogram, and pcl::ConstCloudIterator< PointT >::size().
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.
References pcl::ConstCloudIterator< PointT >::size().
void pcl::UnaryClassifier< PointT >::segment | ( | pcl::PointCloud< pcl::PointXYZRGBL >::Ptr & | out | ) |
Definition at line 405 of file unary_classifier.hpp.
References pcl::ConstCloudIterator< PointT >::size().
|
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.
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.
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.