www.gusucode.com > vision 源码程序 matlab案例代码 > vision/MergeTwoIdenticalPointCloudsWithBoxGridFilterExample.m

    %% Merge Two Identical Point Clouds Using Box Grid Filter
% 
%%
% Create two identical point clouds.

% Copyright 2015 The MathWorks, Inc.

ptCloudA = pointCloud(100*rand(1000,3));
ptCloudB = copy(ptCloudA);
%%
% Merge the two point clouds.
ptCloud = pcmerge(ptCloudA,ptCloudB,1);
pcshow(ptCloud);