open3d bug:pcd转txt前后位姿发生改变

1、open3d bug:pcd转txt前后位姿发生改变

open3d会对原有结果进行一个微小位姿变换

python 复制代码
import open3d as o3d
import numpy as np

# 读取PCD点云文件
pcd = o3d.io.read_point_cloud('/newdisk/darren_pty/zoom_centered_s2.pcd')

# 获取点云坐标
points = pcd.points

# 指定保存文件路径
save_path = '/newdisk/darren_pty/point_cloud.txt'

# 将点云坐标保存为文本文件
np.savetxt(save_path, np.asarray(points), fmt='%.6f')  # fmt 参数指定保存的浮点数格式

print(f'Point cloud saved to: {save_path}')

结果:

相关推荐
AIBigModel1 天前
智能情趣设备、爆 bug:可被远程操控。。。
网络·安全·bug
Direction_Wind1 天前
flinksql bug: Received resultset tuples, but no field str
bug
远瞻。2 天前
【bug】diff-gaussian-rasterization Windows下编译 bug 解决
windows·bug
中草药z2 天前
【测试】Bug+设计测试用例
功能测试·测试工具·测试用例·bug·压力测试·测试
我又来搬代码了2 天前
【Android】【bug】Json解析错误Expected BEGIN_OBJECT but was STRING...
android·json·bug
葵野寺3 天前
【软件测试】BUG篇 — 详解
bug·测试
青青子衿越5 天前
微信小程序右上角分享页面找不到路径bug
微信小程序·小程序·bug
刘火锅5 天前
Bug 记录:SecureRandom.getInstanceStrong()导致验证码获取阻塞
spring boot·spring·spring cloud·bug
一起去改变世界6 天前
卸载或重装软件提示缺少msi的解决方法(软件卸载功能修复)
windows·bug·美女
云和数据.ChenGuang8 天前
envFrom 是一个 列表类型字段bug
大数据·云原生·容器·kubernetes·云计算·bug