PointCloudLibrary/pcl

Tools mesh2pcd producing an extra set of spurious points

Open

#381 opened on Nov 24, 2013

View on GitHub
 (4 comments) (0 reactions) (0 assignees)C++ (9,023 stars) (4,506 forks)batch import
good first issuekind: bugkind: todomodule: appsmodule: visualization

Description

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

Contributor guide