www.gusucode.com > vision 源码程序 matlab案例代码 > vision/VisualizeDifferenceBetweenTwoPointCloudsExample.m
%% Visualize the Difference Between Two Point Clouds % %% % Load two point clouds that were captured using a Kinect device in a home setting. % Copyright 2015 The MathWorks, Inc. load('livingRoom'); pc1 = livingRoomData{1}; pc2 = livingRoomData{2}; %% % Plot and set the viewpoint of point clouds. figure pcshowpair(pc1,pc2,'VerticalAxis','Y','VerticalAxisDir','Down') title('Difference Between Two Point Clouds') xlabel('X(m)') ylabel('Y(m)') zlabel('Z(m)')