摘要: import trimesh import matplotlib.pyplot as plt # 读取点云文件 mesh = trimesh.load_mesh('test.ply') # 计算法线 mesh.vertex_normals # 创建一个新的图形窗口 fig = plt.figure( 阅读全文
posted @ 2024-08-28 13:56 hxqmw 阅读(57) 评论(0) 推荐(0)
摘要: import trimesh import matplotlib.pyplot as plt # 读取点云文件 mesh = trimesh.load_mesh('test.ply') # 计算法线 mesh.vertex_normals # 创建一个新的图形窗口 fig = plt.figure( 阅读全文
posted @ 2024-08-28 10:04 hxqmw 阅读(296) 评论(0) 推荐(0)
摘要: import open3d as o3d import numpy as np # 加载点云数据 pcd = o3d.io.read_point_cloud("test.ply") # 设置法线估计的搜索参数 search_param = o3d.geometry.KDTreeSearchParam 阅读全文
posted @ 2024-08-28 09:29 hxqmw 阅读(754) 评论(0) 推荐(0)