- dev_close_window ()
- read_image (Image, 'D:/bb/tu/8.jpg')
- rgb1_to_gray (Image, GrayImage)
- edges_sub_pix (GrayImage, Edges, 'canny', 1, 5, 10)
- *亚像素边缘
- select_shape_xld (Edges, SelectedXLD, 'contlength', 'and', 136.87, 136.9)
- get_contour_global_attrib_xld (SelectedXLD, 'cont_approx', Attrib)
- get_image_size (GrayImage, Width, Height)
- dev_open_window(10,10,Width, Height,'black',WindowHandle)
- dev_display(SelectedXLD)
复制代码
请问:错在哪儿 ??
|