admin管理员组文章数量:1660218
使用open3d的estimate_normals函数报错AttributeError
使用方法
...
xyz_pcd.estimate_normals(search_param=o3d.geometry.KDTreeSearchParamKNN(k))
...
报错
AttributeError: open3d.open3d.geometry.PointCloud object has no attribute estimate_normals
出错原因:
有的版本open3d可以使用上面的写法,但是有的版本不是,在这些版本中应该使用:
open3d.geometry.estimate_normals(xyz_pcd,search_param=o3d.geometry.KDTreeSearchParamKNN(k))
参考链接:
http://www.open3d/docs/0.6.0/python_api/open3d.geometry.estimate_normals.html
本文标签: 报错函数AttributeErrorestimatenormalsopen3d
版权声明:本文标题:2021-10-22 使用open3d的estimate_normals函数报错AttributeError 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1729849755a1215255.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论