简体   繁体   English

如何使用python将点云转换为网格

[英]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 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])

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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