dev_open_window_fit_size(0, 0, 800, 800, -1, -1, WindowHandle)
打开窗口
read_object_model_3d('D:/wechat/chatfile/WeChat Files/wxid_yuyesap6fm5t22/FileStorage/File/2024-08/pointCloud.ply', 'm', [], [], ObjectModel3D, Status)
read_object_model_3d('D:/wechat/chatfile/WeChat Files/wxid_yuyesap6fm5t22/FileStorage/File/2024-08/t.ply','mm',[], [], ObjectModel3D1, Status1)读取两点云
visualize_object_model_3d(WindowHandle, [ObjectModel3D,ObjectModel3D1], [], [],['color_' + [0, 1],'point_size_' + [0, 1],'disp_pose','disp_pose'],\
['gray', 'yellow',3.0,5.0,'true','true'], [], [], [], PoseOut)显示差异,灰色和黄色
总体代码:
dev_open_window_fit_size(0, 0, 800, 800, -1, -1, WindowHandle)
read_object_model_3d('D:/wechat/chatfile/WeChat Files/wxid_yuyesap6fm5t22/FileStorage/File/2024-08/pointCloud.ply', 'm', [], [], ObjectModel3D, Status)
read_object_model_3d('D:/wechat/chatfile/WeChat Files/wxid_yuyesap6fm5t22/FileStorage/File/2024-08/t.ply','mm',[], [], ObjectModel3D1, Status1)
visualize_object_model_3d(WindowHandle, [ObjectModel3D,ObjectModel3D1], [], [],['color_' + [0, 1],'point_size_' + [0, 1],'disp_pose','disp_pose'],\
['gray', 'yellow',3.0,5.0,'true','true'], [], [], [], PoseOut)
标签:disp,查看,WindowHandle,object,Halcon,两点,chatfile,model,3d From: https://blog.csdn.net/m0_66701835/article/details/141000373