摘要: 来源:http://www.ihalcon.com/read-5044.html 核心 rft_generic (Image, ImageFFT, 'to_freq', 'none', 'complex', Width)gen_sin_bandpass (ImageFilter, 0.2, 'non 阅读全文
posted @ 2024-08-15 15:08 ken0137 阅读(11) 评论(0) 推荐(0) 编辑
摘要: read_image (Image, 'angio-part') count_channels (Image, Channels) if (Channels == 3 or Channels == 4) rgb1_to_gray (Image, Image) endif dev_set_color 阅读全文
posted @ 2024-08-15 14:42 ken0137 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 通过定位黑色塑料件的中心位置来定位目标, 代码流程 median_image中值滤波,去除亮点和暗点,让图片模糊化 threshold 阈值二值化,获取塑料件 select_shape 去除细小的干扰 dev_close_window () list_files ('Pic', ['files',' 阅读全文
posted @ 2024-08-15 14:38 ken0137 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 来源:https://www.cnblogs.com/LearningC/p/15870948.html 代码流程 使用edges_sub_pix (Image, Edges, 'canny', 10, 20, 40),获取黑白之间的边缘线条 轮廓转区域 根据边长和面积select_shape_xl 阅读全文
posted @ 2024-08-15 11:07 ken0137 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 文章来源于 https://cloud.tencent.com/developer/article/1474495 MeasureLength2=3时, 代码: 算子学习: 增加直线对象到计量模型中 add_metrology_object_line_measure( : : MetrologyHa 阅读全文
posted @ 2019-09-17 15:06 ken0137 阅读(483) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-09-10 11:25 ken0137 阅读(5) 评论(0) 推荐(0) 编辑