PCL_viewer查看彩色的pcd文件

时间:2018-06-21 10:46:36

标签: c++ viewer

我想查看我的pcd文件中的颜色:

# .PCD v0.7 - Point Cloud Data file format
VERSION 0.7
FIELDS x y z rgba
SIZE 4 4 4 4
TYPE F F F U
COUNT 1 1 1 1
WIDTH 1
HEIGHT 100000
VIEWPOINT 0 0 0 1 0 0 0
POINTS 100000
DATA ascii
255 15 0 17625278
256 15 0 17625534
257 15 0 17625790
258 15 0 17626046
259 15 0 17626302

我尝试过:

pcl_viewer -multiview 1 sphere_cloud.pcd

The viewer window provides interactive commands; for help, press 'h' or 'H' from within the window.
> Multi-viewport rendering enabled.
> Preparing to load 1 pcd files.
1x1 / 1.000000x1.000000)
> Loading sphere_cloud.pcd [done, 508 ms : 100000 points]
Available dimensions: x y z rgba

但是所有内容都以相同的颜色显示....-有什么想法吗?

0 个答案:

没有答案