open3d(python)读取点云

import open3d as o3d
import numpy as np
pcd = o3d.io.read_point_cloud('guan_R.ply',remove_nan_points = True,remove_infinite_points = True)    # 读取点云
print('原始点云个数是:',np.array(pcd.points).shape[0]) # 打印点云点数
pcd.paint_uniform_color([0, 0, 0]) # 点云颜色
o3d.visualization.draw_geometries([pcd]) # 可视化点云o3d.io.write_point_cloud("guan_R.pcd", new_cloud) # 保存点云

你可能感兴趣的:(点云,python,开发语言,numpy)