PointCloudLibrary/pcl

Tools mesh2pcd producing an extra set of spurious points

Open

#381 ouverte le 24 nov. 2013

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)C++ (4 506 forks)batch import
good first issuekind: bugkind: todomodule: appsmodule: visualization

Métriques du dépôt

Stars
 (9 023 stars)
Métriques de merge PR
 (Merge moyen 8j 7h) (3 PRs mergées en 30 j)

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

Guide contributeur