赞
踩
dev_get_window (WindowHandle)
dev_set_draw ('margin')
read_object_model_3d ('C:/Users/Public/Documents/MVTec/HALCON-21.11-Progress/examples/3d_models/joint.off', 'm', [], [], ObjectModel3D, Status)
create_pose (0, 0, 20, 0, 0, 0, 'Rp+T', 'gba', 'point', planePose)
gen_plane_object_model_3d (planePose,[1,-1,-1,1]*20 ,[1,1,-1,-1]*20 , plane)
visualize_object_model_3d (WindowHandle, [ObjectModel3D,plane], [], [], \
['color_0','color_1','alpha_0','alpha_1','disp_pose'],\
['gray','green',0.3,0.5,'true'],\
[], [], [], PoseOut)
halcon 算子gen_plane_object_model_3d 中参数XExtent YExtent 分别为创建平面在XY坐标系中 4个象限的 顶点X,Y坐标
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。