简体   繁体   English

如何从点云中获取所有点的 XYZ 坐标?

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

相关问题 如何在随机点云上拟合点网格 - how do I fit a grid of points on a random point cloud 如何在列表中找到离我的点最近的两个点的坐标 - How do I find the coordinates of the two closest points to my point in a list 获取2点之间xyz坐标列表的最快方法 - Fastest way to get list of xyz coordinates between 2 points 如果非常接近并且可以被视为单个点,我如何从列表中删除点的坐标? - How can I remove coordinates of points from lists if that are very close and and can be considered as a single point? 如何获得骨骼的坐标点? - How can i get coordinates point of a skeleton? 如何找到数据框中每个点相对于另一个数据框中所有点的最小距离? - How do I find the minimum distance for each point in a dataframe relative to all points in another dataframe? 如何按点的 x 和 y 坐标对点进行排序,以便它们从上到下、从左到右排序? - How do I sort points by their x and y coordinates so that they are ordered from top to bottom, left to right? 如何在几个时刻从其坐标已知的点绘制轨迹? - How do I plot trajectory from points whose coordinates are known to me at several time instants? 如何将平面uv坐标中定义平面上的2D点转换回3D xyz坐标? - How to convert a 2D point on defined plane in planar uv coordinates back to 3D xyz coordinates? 如何从 svgpathtools 贝塞尔曲线获取坐标列表? - How do I get a coordinates list from an svgpathtools bezier curve?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM