open3d

Consistent normal calculation of a point cloud

╄→гoц情女王★ 提交于 2020-06-17 14:59:47
问题 Is there a library in python or c++ that is capable of estimating normals of point clouds in a consistent way? In a consistent way I mean that the orientation of the normals is globally preserved over the surface. For example, when I use python open3d package: downpcd.estimate_normals(search_param=o3d.geometry.KDTreeSearchParamHybrid( radius=4, max_nn=300)) I get an inconsistent results, where some of the normals point inside while the rest point outside. many thanks 回答1: If you know the

Python open3D no attribute 'create_coordinate_frame'

一曲冷凌霜 提交于 2020-03-25 18:48:18
问题 I want to show the coordinates while visualizing a point cloud in open3D with Python. According to the documentation, I wrote the following code, in which the third line is supposed to create a coordinate. (Suppose point_cache is a np.array with shape (442368, 3) ) pcd = o3d.geometry.PointCloud() pcd.points = o3d.utility.Vector3dVector(point_cache) mesh_frame = o3d.geometry.TriangleMesh.create_coordinate_frame(size=0.6, origin=[-2, -2, -2]) o3d.visualization.draw_geometries([pcd, mesh_frame])