[Point Cloud Library] 基本结构 PointCloud
来源:互联网 发布:房地产行业 黑心 知乎 编辑:程序博客网 时间:2024/05/19 03:46
在PCL中最基本的数据类型是 PointCloud。这是一个模板类,意味着你需要指定它应该包含的数据类型。
例如:
pcl::PointCloud<pcl::PointXYZ> cloud;
cloud.push_back(pcl::PointXYZ(rand(), rand(), rand()));
其中包括如下数据字段:
1.width
2.height 特别说明:当height设置为1时,表示点云数据是无序的;
cloud.width = 640;cloud.height=480;//表示点云数据是有序的,640行,480列。
cloud.width = 307200, cloud.height = 1;//表示点云数据是无序的。
3.points
包含所有存储的点云(Point<T>)的数组。如果一个点云包含XYZ的数据,那么points的数据结构为pcl::PointXYZ。
pcl::Point<pcl::PointXYZ> cloud;
std::vector<pcl::PointXYZ> data = cloud.points;
4.is_dense
指定某些点的XYZ值中的所有点的数据是有限的(真) ,还是可能包含INF / NaN值(假) 。
http://blog.csdn.net/leowangzi/article/details/7834520
- [Point Cloud Library] 基本结构 PointCloud
- [Point Cloud Library] 基本结构 PointCloud
- [Point Cloud Library] 基本结构 PointCloud
- PCL-基本结构PointCloud
- Point cloud Library
- PCL(Point Cloud Library)简介
- PCL (Point Cloud Library)笔记
- PCL点云库(Point Cloud Library
- 体感技术:Point Cloud Library
- [Point Cloud Library] 显示点云
- PCL点云库(Point Cloud Library)介绍
- [Point Cloud Library] 显示点云
- PCL(point cloud library)的配置
- Point Cloud Library (PCL) 安装配置 教程
- ubuntu 14.04 安装PCL(Point Cloud Library)
- Opencv + PCL (point cloud library) + QT Creator
- Ubuntu安装PCL(Point Cloud Library)
- Google Summer of Code 2011 point cloud library
- 图片跳动显示对应图片
- 百度地图无法正常画线的问题
- java.util.concurrent.ArrayBlockingQueue
- <数据结构>线性表
- UVaOJ839---Not so Mobile
- [Point Cloud Library] 基本结构 PointCloud
- P11.Image separation
- 在共享DLL中使用MFC 和在静态库中使用MFC的区别
- android--BroadCastReceiver 简介
- svn中导出来的项目运行出错
- php遍历目录下的文件夹
- android基础学习(7)-------spinner的使用
- UVaOJ10562---Undraw the Trees
- php冒泡排序算法