程序修改于博客:https://blog.csdn.net/linghugoolge/article/details/85222527
文件夹结构:
--Data---|
|- calib (标定矩阵文件)
|- image_2 (左目图像)
|- velodyne (激光雷达)
|- depth (手动新建一个存放depth图的文件夹)
生成数据格式为uint16,数据范围0-65536,单位是毫米,如图
项目地址:https://github.com/liuchangji/KITTI_BatchDepthMap_Generator
打开main.m 设置好路径,运行即可!