Open3D
Open3D copied to clipboard
Filling Holes in Point Clouds
Checklist
- [X] I have searched for similar issues.
- [X] For Python issues, I have tested with the latest development wheel.
- [X] I have checked the release documentation and the latest documentation (for
masterbranch).
My Question
Hello,
I'm trying to fill empty holes in my point cloud. The depth image was captured using a downward-facing camera positioned on the upper section of a truck. Unfortunately, due to the angle of the camera, it was not possible to generate point clouds for the walls of the dump body.
Is it possible to create a wall of point clouds to close the dump body (dotted green lines)? Any ideas of how I could do this with Open3D?
Thanks
Hello everyone, I successfully located the upper frame plane, distinguished by its blue color, and subsequently created three additional perpendicular planes for the side and back sections. However, I must admit that the result is not aesthetically pleasing. I would greatly appreciate any feedback or recommendations!
Maybe you can try the fill-holes function in Open3D. But you need to reconstruct a mesh first. A poisson version is like this: mesh, densities = o3d.geometry.TriangleMesh.create_from_point_cloud_poisson( pcd, depth=9) mesh = o3d.t.geometry.TriangleMesh.from_legacy(mesh) filled = mesh.fill_holes(hole_size=10000) filled = filled.to_legacy() o3d.visualization.draw_geometries([filled], title='filled')