PointCloudLibrary/pcl

Tools mesh2pcd producing an extra set of spurious points

Open

#381 aperta il 24 nov 2013

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)C++ (4506 fork)batch import
good first issuekind: bugkind: todomodule: appsmodule: visualization

Metriche repository

Star
 (9023 star)
Metriche merge PR
 (Merge medio 8g 7h) (3 PR mergiate in 30 g)

Descrizione

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

Guida contributor