util.h
Go to the documentation of this file.
00001 
00021 #ifndef UTIL_H
00022 #define UTIL_H
00023 
00024 #include <Eigen/Dense>
00025 #include <vector>
00026 #include <pcl/point_types.h>
00027 #include <pcl/point_cloud.h>
00028 
00029 
00030 namespace descriptor_surface_based_recognition {
00031 
00032 
00033 
00047 Eigen::Vector3d parseStringVector(std::string input_string, std::string delim);
00048 
00057 Eigen::Vector2i parseStringVector2i(std::string input_string, std::string delim);
00058 
00066 Eigen::Vector3d computeMedian(std::vector<Eigen::Vector3d> points);
00067 
00075 pcl::PointXYZ computeMedian(std::vector<pcl::PointXYZ> points);
00076 
00089 pcl::PointXYZ findPoint3D(pcl::PointCloud<pcl::PointXYZ>::Ptr cloud, pcl::PointXYZ current_point, int row, int column, int image_height, int image_width);
00090 
00094 typedef struct {
00095     double r;       // percent
00096     double g;       // percent
00097     double b;       // percent
00098 } rgb;
00099 
00103 typedef struct {
00104     double h;       // angle in degrees
00105     double s;       // percent
00106     double v;       // percent
00107 } hsv;
00108 
00109 
00117 rgb hsv2rgb(hsv in);
00118 
00119 
00120 }
00121 
00122 #endif


asr_descriptor_surface_based_recognition
Author(s): Allgeyer Tobias, Hutmacher Robin, Meißner Pascal
autogenerated on Thu Jun 6 2019 17:57:29