PCL版本:1.11
做法
将obj文件拖入PCL目录下的bin文件夹,输入命令行:
pcl_mesh2pcd.exe -leaf_size 100 lorry.obj lorry.pcd
其中,
pcl_mesh2pcd.exe 是三维模型转点云的可执行文件 (PCL 1.8的可执行文件是 pcl_mesh2pcd_release.exe)
leaf_size 是采样密度,100是下采样100倍,0.1是上采样10倍
lorry.obj 是我的obj文件名
lorry.pcd 是我转出的pcd格式的文件名