PointCloudLibrary / PointCloudLibrary/pcl
Using marching cubes to transform pointcloud to mesh
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 4.7k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 6
Description
Hello, I want to transform my pointcloud PCD file to mesh using marching cubes algorithm.
My original pcd file is as follows:

I use the command "pcl_marching_cubes_reconstruction West12_aloop.klg.pcd West12.vtk -hoppe X" to convert it to vtk file, then I use "pcl_vtk2ply West12.vtk West12.ply"to convert it to ply file , I open the ply file with meshlab, it's as follows

What's the matter? As I am not familiar with this, Could you please give me some help?
Thank you very much
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the pcl_marching_cubes_reconstruction command and its Hoppe option, then inspect how the generated VTK is converted by pcl_vtk2ply. Reproduce the PCD-to-VTK-to-PLY workflow and compare the result in MeshLab; done means identifying the cause of the malformed mesh or documenting the required input and command options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100