打开助手
没什么好说的,打开图片,点击绘制圆弧(可以适当放大图片),调整圆弧长度,调整“最小边缘幅度”查看结果
插入代码,加上打开窗口等辅助代码
dev_update_off ()
dev_close_window ()
read_image (Image, 'C:/Users/Administrator/Pictures/yibiao/仪表0731/1390_14_1401_20200731152448_0_hdv.jpg')
get_image_size (Image, Width, Height)
dev_open_window (0, 0,Width/2.5, Height/2.5, 'black', WindowHandle)
dev_display (Image)
* Measure 01: Code generated by Measure 01
* Measure 01: Prepare measurement
AmplitudeThreshold := 20
RoiWidthLen2 := 5
set_system ('int_zooming', 'true')