简体   繁体   中英

How to convert a point cloud to mesh using python

所以我有一个 .PCD 或 .ply 文件,我需要将其转换为网格然后显示网格……有没有任何有效的方法可以做到这一点?

To compute the convex hull mesh of the point cloud and then visualize

http://www.open3d.org/docs/release/python_api/open3d.geometry.PointCloud.html#open3d.geometry.PointCloud.compute_convex_hull

pcd = o3d.io.read_point_cloud("file.pcd")
hull_mesh = pcd.compute_convex_hull()
o3d.visualization.draw_geometries([hull_mesh])

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM