一、概述
点线距离测量在3D测量项目中处于基础地位,必须要掌握。以下为可直接运行的代码。
二、效果
三、Halcon代码
* 初始化窗口
dev_update_off ()
dev_close_window ()
dev_open_window (0, 0, 768, 512, 'black', WindowHandle)
* 给点的大小赋值
PointSize := 5
* 读取模型并显示
read_object_model_3d ('1.om3', 'm', [], [], ObjectModel3D, Status)
gen_cam_par_area_scan_division (0.01, 0, 7e-6, 7e-6, 384, 255, 768, 512, CameraParam)
create_pose (54, 10, 252, 130, 346, 147, 'Rp+T', 'gba', 'point', Pose)
GenParamName := ['color_0','disp_pose_0','alpha_0','color_1','attribute_1','poi
标签:768,color,pose,dev,Halcon,测量点,window,距离
From: https://blog.csdn.net/weixin_40355340/article/details/142005703