read_image(Image, 'printer_chip/printer_chip_01')
get_image_size(Image, Width, Height)
dev_close_window()
dev_open_window(0, 0, Width/4, Height/4, 'black', WindowHandle)
dev_display(Image)
*按阈值抓边缘
threshold_sub_pix(Image, Border, 120)
dev_display(Image)
*按对比度抓边缘
edges_sub_pix(Image, Edges, 'canny', 10, 80, 120)
dev_display(Image)
lines_gauss(Image, Lines, 1, 1, 4, 'dark', 'true', 'bar-shaped', 'false')