[英]How do i get the XYZ coordinates of all the points from point cloud?
import open3d as o3d
mesh = o3d.io.read_triangle_mesh('myscan.stl')
pcd = mesh.sample_points_uniformly(number_of_points=200000)
I have my points on pcd but how do i get all of the points coordinates XYZ?我在 pcd 上有我的点,但我如何获得所有点的坐标 XYZ?
You can access the points with np.asarray(pcd.points)
.您可以使用
np.asarray(pcd.points)
访问这些点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.