How to read and visualize my lidar data?

49 vues (au cours des 30 derniers jours)
Kevin Chng
Kevin Chng le 16 Avr 2019
Hi All,
My lidar data is in bin file :
Anyone here has any idea how to read my lidar data in MATLAB?
  3 commentaires
KSSV le 16 Avr 2019
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.

Connectez-vous pour commenter.

Réponse acceptée

KSSV le 16 Avr 2019
Is this fine?
fid = fopen('n008-2018-08-01-15-16-36-0400__LIDAR_TOP__1533151061547455.pcd.bin', 'r');
data = fread(fid,'single');
data = reshape(data,[],2) ;

Plus de réponses (1)

TripleSSSS le 30 Avr 2020
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.


En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by