#include <segment_cluster_creator.hpp>
Public Member Functions | |
void | Clustering (pcl::PointCloud< pcl::PointXYZI >::Ptr cloud) |
void | Clustering (pcl::PointCloud< pcl::PointXYZI >::Ptr cloud) |
void | CropBox (pcl::PointCloud< pcl::PointXYZI >::Ptr cloud, pcl::PointXYZ min, pcl::PointXYZ max) |
void | CropBox (pcl::PointCloud< pcl::PointXYZI >::Ptr cloud, pcl::PointXYZ min, pcl::PointXYZ max) |
void | EuclideanCallback (const sensor_msgs::PointCloud2::ConstPtr &source_pc) |
void | EuclideanCallback (const sensor_msgs::PointCloud2::ConstPtr &source_pc) |
EuclideanCluster (ros::NodeHandle nh, ros::NodeHandle n) | |
EuclideanCluster (ros::NodeHandle nh, ros::NodeHandle n) | |
void | feature_calculation (pcl::PointCloud< pcl::PointXYZI >::Ptr cloud, svm_node *features) |
jsk_recognition_msgs::BoundingBox | MinAreaRect (pcl::PointCloud< pcl::PointXYZI >::Ptr cloud, int cluster_cnt) |
void | normlize_features (svm_node *features) |
void | read_scaling_parameters (std::string scaling_parameter_file) |
void | run () |
void | run () |
std::vector< std::string > | split (const std::string &s, char delim) |
Private Attributes | |
int | accumulation_counter_ |
tf::TransformBroadcaster | br_ |
double | clusterTolerance_ |
pcl::PointXYZ | crop_max_ |
pcl::PointXYZ | crop_min_ |
ros::Publisher | euclidean_cluster_pub_ |
float | feature_lower_ |
std::vector< float > | feature_max_ |
std::vector< float > | feature_min_ |
float | feature_upper_ |
ros::Publisher | fileterd_cloud_pub_ |
std::string | frame_id_ |
int | maxSize_ |
int | minSize_ |
svm_model * | model_ |
ros::NodeHandle | nh_ |
std::string | output_file_prefix_ |
ros::Rate | rate_ |
ros::Subscriber | source_pc_sub_ |
std::string | svm_model_path_ |
std::string | svm_range_path_ |
tf::TransformListener | tf_ |
Definition at line 45 of file segment_cluster_creator.hpp.
Definition at line 7 of file segment_cluster_creator.cpp.
void EuclideanCluster::Clustering | ( | pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud | ) |
Definition at line 112 of file segment_cluster_creator.cpp.
void EuclideanCluster::Clustering | ( | pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud | ) |
void EuclideanCluster::CropBox | ( | pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud, |
pcl::PointXYZ | min, | ||
pcl::PointXYZ | max | ||
) |
Definition at line 75 of file segment_cluster_creator.cpp.
void EuclideanCluster::CropBox | ( | pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud, |
pcl::PointXYZ | min, | ||
pcl::PointXYZ | max | ||
) |
void EuclideanCluster::EuclideanCallback | ( | const sensor_msgs::PointCloud2::ConstPtr & | source_pc | ) |
Definition at line 33 of file segment_cluster_creator.cpp.
void EuclideanCluster::EuclideanCallback | ( | const sensor_msgs::PointCloud2::ConstPtr & | source_pc | ) |
void EuclideanCluster::feature_calculation | ( | pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud, |
svm_node * | features | ||
) |
Definition at line 258 of file target_object_detector.cpp.
jsk_recognition_msgs::BoundingBox EuclideanCluster::MinAreaRect | ( | pcl::PointCloud< pcl::PointXYZI >::Ptr | cloud, |
int | cluster_cnt | ||
) |
Definition at line 175 of file target_object_detector.cpp.
void EuclideanCluster::normlize_features | ( | svm_node * | features | ) |
Definition at line 359 of file target_object_detector.cpp.
void EuclideanCluster::read_scaling_parameters | ( | std::string | scaling_parameter_file | ) |
Definition at line 378 of file target_object_detector.cpp.
void EuclideanCluster::run | ( | ) |
Definition at line 154 of file segment_cluster_creator.cpp.
void EuclideanCluster::run | ( | ) |
std::vector< std::string > EuclideanCluster::split | ( | const std::string & | s, |
char | delim | ||
) |
Definition at line 419 of file target_object_detector.cpp.
int EuclideanCluster::accumulation_counter_ [private] |
Definition at line 68 of file segment_cluster_creator.hpp.
tf::TransformBroadcaster EuclideanCluster::br_ [private] |
Definition at line 62 of file segment_cluster_creator.hpp.
double EuclideanCluster::clusterTolerance_ [private] |
Definition at line 65 of file segment_cluster_creator.hpp.
pcl::PointXYZ EuclideanCluster::crop_max_ [private] |
Definition at line 69 of file segment_cluster_creator.hpp.
pcl::PointXYZ EuclideanCluster::crop_min_ [private] |
Definition at line 69 of file segment_cluster_creator.hpp.
Definition at line 59 of file segment_cluster_creator.hpp.
float EuclideanCluster::feature_lower_ [private] |
Definition at line 84 of file target_object_detector.hpp.
std::vector<float> EuclideanCluster::feature_max_ [private] |
Definition at line 82 of file target_object_detector.hpp.
std::vector<float> EuclideanCluster::feature_min_ [private] |
Definition at line 83 of file target_object_detector.hpp.
float EuclideanCluster::feature_upper_ [private] |
Definition at line 85 of file target_object_detector.hpp.
Definition at line 58 of file segment_cluster_creator.hpp.
std::string EuclideanCluster::frame_id_ [private] |
Definition at line 57 of file segment_cluster_creator.hpp.
int EuclideanCluster::maxSize_ [private] |
Definition at line 67 of file segment_cluster_creator.hpp.
int EuclideanCluster::minSize_ [private] |
Definition at line 66 of file segment_cluster_creator.hpp.
svm_model* EuclideanCluster::model_ [private] |
Definition at line 81 of file target_object_detector.hpp.
ros::NodeHandle EuclideanCluster::nh_ [private] |
Definition at line 55 of file segment_cluster_creator.hpp.
std::string EuclideanCluster::output_file_prefix_ [private] |
Definition at line 72 of file segment_cluster_creator.hpp.
ros::Rate EuclideanCluster::rate_ [private] |
Definition at line 56 of file segment_cluster_creator.hpp.
Definition at line 60 of file segment_cluster_creator.hpp.
std::string EuclideanCluster::svm_model_path_ [private] |
Definition at line 79 of file target_object_detector.hpp.
std::string EuclideanCluster::svm_range_path_ [private] |
Definition at line 80 of file target_object_detector.hpp.
tf::TransformListener EuclideanCluster::tf_ [private] |
Definition at line 61 of file segment_cluster_creator.hpp.