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!