Open LorenzBung opened 4 years ago
Here's the reconstructed mesh of the stanford bunny, for reference
Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.
Might have to do with incorrect normals, a result of pcl::NormalEstimation
in a few cases
Describe the bug
The
pcl::surface::MarchingCubes
algorithm gives unexpected results with seemingly random patterns.Context
I tried to reconstruct a mesh (
ply
orstl
, but not really relevant to reproduce the issue) from a.pcd
file.Expected behavior
I expected a correct approximation of the input point cloud as mesh (at least after playing with the voxel size).
Current Behavior
The output mesh represents the input cloud to a certain degree, but has a lot of seemingly random data not present in the original cloud.
To Reproduce
Use the attached code and this example PCD file to reconstruct a mesh using MarchingCubes.
Screenshots/Code snippets
The Original PCD:
The reconstructed mesh (in MeshLab):
The code:
Environment