PLY点云文件打开报错RPly: Error reading ‘blue‘ of ‘vertex‘ number 997780

在使用CloudCompare时遇到了这个报错:

[20:44:55] [PLY] 'Error reading 'blue' of 'vertex' number 997780'
[20:44:56] An error occurred while loading '2024-05-17_09-16-50_point_cloud': the third-party library in charge of saving/loading the file has failed to perform the operation

于是在pycharm里使用open3d运行代码:

import open3d as o3d
print("->正在加载点云... ")
pcd = o3d.io.read_point_cloud("C:/Users/dians/desktop/d.ply")
print(pcd)

同样报错:

RPly: Error reading 'blue' of 'vertex' number 997780
[Open3D WARNING] Read PLY failed: unable to read file: C:/Users/dians/desktop/2024-05-17_09-16-50_point_cloud.ply
PointCloud with 997781 points.

但是如果使用在线点云可视化网站可以正常打开 【点击打开】

查询到open3d的issue中的同样问题:https://github.com/isl-org/Open3D/issues/932
问题截图
在Windows下WSL使用vim 文件名 打开后,执行:wq保存命令,再用hexdump 文件名 查看后发现多了000a,一个换行符后,可以在open3d里和cloudcompare里正确运行了。

不清楚这是哪个地方遗留下的问题。
但是没有000a的换行有时候也可以成功运行,不了解。

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值