激光点云格式转换 bin 相互 pcd转换
kitti-velodyne-viewer
View kitti lidar point cloud with bounding box label by single file.
Requirements
The code requires pyqtgraph and python 3.x
Dataset
Download KITTI 3D object detection data and organize the folders as follows:
dataset/KITTI/object/
velodyne/
training/
000003.bin
testing/
calib/
training/
000003.txt
testing/
label/
training/
000003.txt
testing/
convert .pcd
to .bin
usage:
# pcdfolder is where `.pcd` files are stores
python pcd2bin.py covert pcdfolder binfolder
for example:
python pcd2bin.py convert pcdfiles outputfolder
convert .bin
to .pcd
you have to install PCL lib first.
usage:
cmake .
make
./build/binpcd --m=bin2pcd --b=velodyne_bin/ --p=velodyne_pcd/
./build/binpcd --m=pcd2bin --b=velodyne_bin/ --p=velodyne_pcd/
Options:
--help : produce help message
--b : bin file folder
--p : pcd file folder
--m : mode - bin2pcd, pcd2bin
refer to kitti_velodyne_bin_to_pcd
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异