
PCL
lch_vision
这个作者很懒,什么都没留下…
展开
-
使用OpenMP报错,“User Error 1001: argument to num_threads clause must be positive”
手动设置线程数原创 2018-06-27 20:07:23 · 2449 阅读 · 4 评论 -
PCL中对象和共享指针的转化pcl::PointIndices::Ptr和pcl::PointIndices、PointCloud<PointT>::Ptr和PointCloud<PointT>
1、pcl::PointIndices-->pcl::PointIndices::Ptr的转化pcl::PointIndices inliers;pcl::PointIndices::Ptr inliers_ptr(new pcl::PointIndices(inliers));2、pcl::PointIndices::Ptr-->pcl::PointIndices的转化...原创 2018-06-27 19:49:02 · 8236 阅读 · 4 评论 -
PCL迭代提取点云的索引,并用向量存储提取的PCL点云
//Vector to hold point clouds std::vector<pcl::PointCloud<pcl::PointXYZ>, Eigen::aligned_allocator<pcl::PointXYZ> > clouds; std::stringstream ss; for (in...原创 2018-06-27 19:23:41 · 4131 阅读 · 5 评论 -
pcl::lineToLineSegment() 计算空间直线的交点和最小公垂线
对于两空间直线来说,计算交点和最小公垂线是一码事,交点即最小公垂线两个垂足的中心。PCL中源码中包含计算空间直线最小公垂线的函数PCL_EXPORTS void pcl::lineToLineSegment (const Eigen::VectorXf & line_a, cons...原创 2018-07-18 09:53:25 · 4141 阅读 · 4 评论 -
从rosbag中解析PointCloud2点云数据和图像
1、运行rosbag文件 启动roscore 在rosbag文件夹下,打开终端,输入rosbag play -l <name>.bag #改写rosbag文件名2 解析并保存pcd文件 有两种方法,推荐方法2,方法1可能有问题 方法1:利用bag_to_pcd$ rosrun pcl_ros bag_to_pcd <inp...原创 2018-08-24 19:34:44 · 10489 阅读 · 1 评论