:warning: This is a issue tracker, please use our mailing list for questions: www.pcl-users.org. :warning:
Your Environment
Operating System and version: Ubuntu 16.04
Compiler: gcc
PCL Version: included in ROS Kinetic
Expected Behavior
mesh_sampling should only sample points on the surface of the object in the provided PLY file.
Example PLY file:
Current Behavior
mesh_sampling seems to also sample from free space, for small values of leaf_size.
Example output of pcl_mesh_sampling with
leaf_size=0.01 (1 cm)
Maybe the screenshot is not very clear - but the sampling seems to be working OK if I zoom in the PCL Visualizer.
leaf_size=0.001 (1 mm)
You can clearly see here that points are sampled outside the surface of the objects e.g. between the two legs of the clamp.
Trying to covert non-textured CAD models from the YCB dataset to point-clouds by sampling the surface. They also have meshes constructed with Poisson instead of TSDF. Trying to sample from those meshes also presents the same problem.
:warning: This is a issue tracker, please use our mailing list for questions: www.pcl-users.org. :warning:
Your Environment
Expected Behavior
mesh_sampling should only sample points on the surface of the object in the provided PLY file. Example PLY file:
Current Behavior
mesh_sampling seems to also sample from free space, for small values of
leaf_size
. Example output ofpcl_mesh_sampling
withleaf_size=0.01
(1 cm) Maybe the screenshot is not very clear - but the sampling seems to be working OK if I zoom in the PCL Visualizer.leaf_size=0.001
(1 mm) You can clearly see here that points are sampled outside the surface of the objects e.g. between the two legs of the clamp.Possible Solution
Code to Reproduce
pcl_mesh_sampling tsdf_mesh.ply tsdf_mesh.pcd -leaf_size 0.001
tsdf_mesh.zipContext
Trying to covert non-textured CAD models from the YCB dataset to point-clouds by sampling the surface. They also have meshes constructed with Poisson instead of TSDF. Trying to sample from those meshes also presents the same problem.