Point cloud tools for Matlab (tuwien.ac.at)https://www.geo.tuwien.ac.at/downloads/pg/pctools/pctools.html#PointCloud_class
下载:Download Matlab Code
添加路径
addpath(genpath('D:\MyMatlabCode\pointCloudTools'));
pc = pointCloud('Lion.xyz');
pc.plot;
测试一下
>> addpath(genpath('E:\pxxxxxx\3D_Point_Cloud\matlab_code\Point_cloud_tools_for_Matlab-master'));
>> pc = pointCloud('Lion.xyz');
2023-04-23 02:10:04.468s | S : POINTCLOUD > IMPORT
+0.003s | I : POINTCLOUD > IMPORT : Point cloud label = 'Lion.xyz'
2023-04-23 02:10:04.516s | S : POINTCLOUD > IMPORT > READ DATA
+0.252s | E : POINTCLOUD > IMPORT > READ DATA
+0.283s | E : POINTCLOUD > IMPORT
2023-04-23 02:10:04.805s | S : POINTCLOUD > INFO
+0.002s | I : POINTCLOUD > INFO : Point cloud label = 'Lion.xyz'
| V : 238913 = number of points
| V : 238913 = number of activated points
| V : 0 = number of deactivated points
| V : -47.810 = min / x
| V : 71.860 = max / x
| V : -24.620 = min / y
| V : 18.220 = max / y
| V : -37.180 = min / z
| V : 35.370 = max / z
+0.027s | E : POINTCLOUD > INFO
>> pc.plot;
2023-04-23 02:10:30.537s | S : POINTCLOUD > COPY
+0.001s | I : POINTCLOUD > COPY : Point cloud label = 'Lion.xyz'
+0.016s | E : POINTCLOUD > COPY
输出结果