摘要: 已知A点(Row1,Col1) 与角度(Phi), 还有C(HalfHeigh)的长度 求B点如下 dCol:=HalfHeigh*sin(Phi)dRow:=HalfHeigh*cos(Phi) gen_region_line (RegionLines,Row2, Column2, Row2+dR 阅读全文
posted @ 2020-05-23 17:56 低调95 阅读(183) 评论(0) 推荐(0)
摘要: region gen_rectangle1 (ROI_0, 100, 100, 110, 110)get_region_points (ROI_0, Rows, Columns)tuple_length (Rows, Length) Rows, Columns的数据如下 XLD gen_contou 阅读全文
posted @ 2020-05-23 15:22 低调95 阅读(369) 评论(0) 推荐(0)
摘要: hom_mat2d_identity (HomMat2DIdentity) //生成一个同质2D转换矩阵。 平移仿射 hom_mat2d_translate (HomMat2DIdentity, 100, 100, HomMat2DTranslate) //矩阵平移变换,形成新的矩阵HomMat2D 阅读全文
posted @ 2020-05-23 11:52 低调95 阅读(851) 评论(0) 推荐(0)
摘要: read_image (Image, 'D:/Project/PC/vision_2020/视库/样图/线路.bmp')dev_get_window (WindowHandle)threshold (Image, Region, 0, 200)opening_circle (Region, Regi 阅读全文
posted @ 2020-05-23 11:28 低调95 阅读(199) 评论(0) 推荐(0)
摘要: 1. 用gen_contour_polygon_xld 形成多边的轮廓 2.拟合(只有轮廓才能进行拟合) *fit_line_contour_xld : 线 *fit_circle_contour_xld:圆 *fit_rectangle2_contour_xld:矩形 阅读全文
posted @ 2020-05-23 10:58 低调95 阅读(162) 评论(0) 推荐(0)
摘要: draw_point (WindowHandle, Row, Column)gen_circle (Circle, Row, Column, 10.5) draw_point (WindowHandle, Row1, Column1)gen_circle (Circle, Row1, Column1 阅读全文
posted @ 2020-05-23 10:56 低调95 阅读(634) 评论(0) 推荐(0)