PointCloudLibrary / PointCloudLibrary/pcl

Tools mesh2pcd producing an extra set of spurious points

Open
#381 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue kind: bug kind: todo module: apps module: visualization
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/tools/mesh2pcd.cpp, especially lines 145-155, and compare the two RenderViewsTesselatedSphere APIs mentioned in the issue. Run the mesh2pcd workflow with a file such as jar1.ply and inspect the generated .pcd output. Done means avoiding the reported segmentation fault and eliminating spurious plane points that are absent from the source mesh.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.