dev_update_off ()
*关闭更新
dev_close_window ()
*关闭窗口
read_image (Image, 'C:/Users/14510/Desktop/halcon/正反检测图片/01.jpg')
*读图
get_image_size (Image, Width, Height)
*得到图像的宽和高
dev_open_window (0, 0, Width/6, Height/4, 'black', WindowHandle)
*创建一个窗口
dev_set_draw ('margin')
*设置显示是否填充 margin 填充 fill
dev_set_line_width (1)
*设置线段宽度
dev_display (Image)
*显示图像
set_display_font (WindowHandle, 16, 'mono', 'true', 'false')
*设置字体
*------------------------------------------------*****---------------------------------------
*初始化
draw_circle (WindowHandle, Row, Column, Radius)
*绘制圆形
gen_circle (Circle, Row, Column, Radius)
*生成
draw_circle (WindowHandle, Row11, Column11, Radius11)
gen_circle (Circle1, Row11, Column11, Radius11)
* draw_region (Region, WindowHandle)
*多边形
* draw_