How to read/pre-process too large las file?

8 次查看(过去 30 天)
Hi everyone,
I have a las file of 50GB and I want to read/load it in MATLAB ( I have the lidar toolbox available).
I have a Mac from 2017 and it's just not able to handle such a file.
Is there a way to pre-process the las and/or reduce the size by selecting a subset of the area?
filename = '/LiDAR/lidars/terra_las/cloud_merged.las';
lasReader = lasFileReader(filename);
ptCloud = readPointCloud(lasReader);
Thanks a lot for your tip/suggestions.

回答(1 个)

Venkat Siddarth
Venkat Siddarth 2023-5-5
I understand you are looking for ways to pre-process and reduce its size by selecting a subset of the area .Here is a suggestion:
  • You can use a software like LAStools to extract a subset of the point cloud data that you're interested in.Firstly,Using laszip function we can reduce the size of the LAS file. Then using a function called lasclip you can clip the file to a specific area.
To know more about these tools,follow the below link:
I hope these suggestions help! Let me know if you have any further questions.
Regards,
Venkat Siddarth V
  1 个评论
Siegmund
Siegmund 2023-5-8
Thanks for your reply Venkat.
So there is no direct way of doing it in Matlab itself?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Preprocessing 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by