PointCloudLibrary/pcl

Tools mesh2pcd producing an extra set of spurious points

Open

#381 建立於 2013年11月24日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)C++ (9,023 star) (4,506 fork)batch import
good first issuekind: bugkind: todomodule: appsmodule: visualization

描述

I am using PCL-1.7 to generate .pcd files from .ply. Specifically the source file located in src/tools/mesh2pcd.cpp. I have 2 observations:

  1. The code is still using pcl::visualizer:: renderViewTesselatedSphere (...). It should be using pcl::apps::RenderViewsTesselatedSphere(), otherwise it SEGFAULT with some .ply files.
  2. The result obtained (the .pcd file) has some extra spurious plane points that do not belong to the original .ply file. As an example, here the original image of a file jar1.ply: http://i.imgur.com/WONtTAz.png And here the output I got (notice the plane crossing the left side of the jar): http://i.imgur.com/qmW8dpA.png

PS.- The change I made to the mesh2pcd file is here: (lines 145 to 155 mainly): http://pastebin.com/ST3g5Twt

貢獻者指南