matlab 稀疏化,薄化一个大的稠密的点云数据加载、可视化与导出(源码)

编程入门 行业动态 更新时间:2024-10-07 03:28:41

matlab 稀疏化,薄化一个大的<a href=https://www.elefans.com/category/jswz/34/1762952.html style=稠密的点云数据加载、可视化与导出(源码)"/>

matlab 稀疏化,薄化一个大的稠密的点云数据加载、可视化与导出(源码)

ALS_strip.laz激光点云数据

(7条消息) 激光点云数据22MB左右-其它文档类资源-CSDN文库:可视化一下

% Import all 4.5 million points from a laz file
pc = pointCloud('ALS_strip.laz');% Plot all points of point cloud
pc.plot('Color'       , 'A.intensity', ... % plot intensity of points'ColorMapName', 'gray', ...        % use gray colomap'MaxPoints'   , Inf, ...           % maximum number of points is set to infinity, this way all points are visualized!'MarkerSize'  , 1);                % small pointstitle('All points', 'Color', 'w');% Change camera view
h = gca; h.CameraPosition = [617770 5169400 7300]; h.CameraTarget = [635750 5192420 3200]; h.CameraViewAngle = 0.91;

第二步:过滤(和绘制)点云

% Select points with a sampling distance of 10 meter
pc.select('UniformSampling', 10);% Plot only the selected points
close; % close previous figure
pc.plot('Color'       , 'A.intensity', ...'ColorMapName', 'gray', ...'MaxPoints'   , Inf, ...'MarkerSize'  , 5);title('Selected points', 'Color', 'w');% Change camera view
h = gca; h.CameraPosition = [617770 5169400 7300]; h.CameraTarget = [635750 5192420 3200]; h.CameraViewAngle = 0.91;

第三步:导出点云 Export point cloud

% Export the selected points only as ply file (without attributes)
pc.export('ALS_strip_selection.ply');

更多推荐

matlab 稀疏化,薄化一个大的稠密的点云数据加载、可视化与导出(源码)

本文发布于:2024-02-14 08:14:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1762632.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:稠密   稀疏   可视   化与   源码

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!