How to save lidar data labels to Las file?

5 views (last 30 days)
Polina
Polina on 16 Mar 2025
Answered: Cris LaPierre on 18 Mar 2025
I've labeled point clouds in Lidar labeler, but MATLAB only allows me to save this data in MATLAB data format. If someone has encountered this, then two files are saved there: gtruth and lasFileSequence. Please tell me what needs to be done to get the Las/Laz file to my project.

Answers (1)

Cris LaPierre
Cris LaPierre on 18 Mar 2025
If the point cloud data contains voxel labels, you can export point cloud data and associated classification attributes to a LAS/LAZ file. On the LABEL tab, click Export > To LAS/LAZ File. The app opens the Export Voxel Labels dialog box and populates the default values of the Folder Path and Filename parameters. To export to a different location, click Browse. You can also change the value of Filename parameter. If a file with the specified name already exists, the app overwrites the existing file.
The Export Voxel Labels dialog box also shows the mapping between label definitions of the app and the standard classes of LAS/LAZ file format. To change the mapping of a label definition, select the desired value of the respective LAS/LAZ Standard Classes parameter from the drop-down list.

Categories

Find more on Labeling, Segmentation, and Detection in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!