Main Content

Import, Export, and Visualization

Read, write, and visualize lidar point cloud data, process large point clouds

The toolbox enables you to import and visualize point cloud data in MATLAB®. You can read data from various file formats, such as PLY, PCD, LAS, LAZ, E57, Ibeo data container, Velodyne® PCAP, Ouster® PCAP, and Hesai® PCAP.

To process large point cloud data that might not fit into memory, you can use the blockedPointCloud object to represent the point cloud as a collection of smaller blocks and process each one independently.

You can also export processed data to the PLY, PCD, LAS, and LAZ file formats. To learn how to work with lidar data, see Read, Process, and Write Lidar Point Cloud Data.

Apps

Lidar ViewerVisualize and analyze lidar data (Since R2021b)

Functions

expand all

pcreadRead 3-D point cloud from PLY or PCD file
pcwriteWrite 3-D point cloud to PLY or PCD file
lasFileReaderRead point cloud data from LAS or LAZ file (Since R2020b)
lasFileWriterWrite point cloud data from LAS or LAZ file (Since R2022a)
velodyneFileReaderRead point cloud data from Velodyne PCAP file
ousterFileReaderRead point cloud data from Ouster PCAP file (Since R2022a)
hesaiFileReaderRead point cloud data from Hesai PCAP file (Since R2022a)
e57FileReaderRead point cloud data from E57 file (Since R2023a)
ibeoLidarReaderRead point cloud data from Ibeo data container (IDC) file (Since R2020b)
pointCloudObject for storing 3-D point cloud
lidarPointAttributesObject for storing lidar point attributes (Since R2022a)
pcshowPlot 3-D point cloud
pcviewerVisualize and inspect large 3-D point cloud (Since R2023a)
pcplayerVisualize streaming 3-D point cloud data
pcshowpairVisualize difference between two point clouds
pcshowMatchedFeaturesVisualize matched feature points in two point clouds (Since R2020b)
blockedPointCloudPoint cloud made from discrete blocks (Since R2022a)
blockedPointCloudDatastoreDatastore for use with blocks from blockedPointCloud objects (Since R2022a)

Topics

Featured Examples