MATLAB 对Ply文件进行 读取、显示、连线操作
1、函数:pcread
showPointCloud([x_s(:),y_s(:),z_s(:)+4]); title("Sphere with the default color map"); xlabel("X"); ylabel("Y"); zlabel("Z"); hold on, showPointCloud([x_t(:),y_t(:),z_t(:)]); for k = 1:size(matchedPointsValid,1) x = [matchedPointsValid(k,7) matchedPointsValid(k,10)]; y = [matchedPointsValid(k,8) matchedPointsValid(k,11)]; z = [matchedPointsValid(k,9)+4 matchedPointsValid(k,12)]; plot3(x,y,z,"r.-"); hold on, end saveas(hf,matched_points_file); % 保存图片
蒙特卡洛方法
画矩形 :
选取矩形框内数据:
-
figure, imshow("pout.tif");
-
h = imrect;
- position = wait(h);
1、函数:pcread
showPointCloud([x_s(:),y_s(:),z_s(:)+4]); title("Sphere with the default color map"); xlabel("X"); ylabel("Y"); zlabel("Z"); hold on, showPointCloud([x_t(:),y_t(:),z_t(:)]); for k = 1:size(matchedPointsValid,1) x = [matchedPointsValid(k,7) matchedPointsValid(k,10)]; y = [matchedPointsValid(k,8) matchedPointsValid(k,11)]; z = [matchedPointsValid(k,9)+4 matchedPointsValid(k,12)]; plot3(x,y,z,"r.-"); hold on, end saveas(hf,matched_points_file); % 保存图片
蒙特卡洛方法
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。
- 上一篇: Vue实践--V-for指令
- 下一篇: python常用的十进制、16进制、字符串、字节串之间的转换
copyright © 2008-2019 亿联网络 版权所有 备案号:粤ICP备14031511号-2