How to read and visualize my lidar data?
25 ビュー (過去 30 日間)
古いコメントを表示
Hi All,
My lidar data is in bin file :
Anyone here has any idea how to read my lidar data in MATLAB?
3 件のコメント
KSSV
2019 年 4 月 16 日
Actually after reading the data using fread it will be reshaped to required dimension using reshape. To achieve this format of the file should be known.
採用された回答
KSSV
2019 年 4 月 16 日
Is this fine?
fid = fopen('n008-2018-08-01-15-16-36-0400__LIDAR_TOP__1533151061547455.pcd.bin', 'r');
data = fread(fid,'single');
fclose(fid);
data = reshape(data,[],2) ;
plot(data(:,1),data(:,2),'.r')
0 件のコメント
その他の回答 (1 件)
TripleSSSS
2020 年 4 月 30 日
Read the data as a float using fread.
For nusences dataset each point in the point cloud contains 5 floats. reshape the data and use pcshow for display.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing and Computer Vision についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!