参考:
http://www.pointclouds.org/documentation/tutorials/hull_2d.php#hull-2d
程序说明:为平面模型的点击提取其对应的凹多边形;
1. 点云滤波;
2. 从滤波后的点云中提取平面模型;
3. 将滤波后的点云投影到平面模型中得到投影后的点云;
4. 从投影后的点云中提取凹多边形;
#include <pcl/ModelCoefficients.h>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/sample_consensus/method_types.h>
#include <pcl/sample_consensus/model_types.h>
#include <pcl/filters/passthrough.h>
#include <pcl/filters/project_inliers.h>
#include <pcl/segmentation/sac_