开启左侧

形状模板匹配找到的东西位置有像素差

[复制链接]
Best. 发表于 2019-9-6 11:32:43 | 显示全部楼层 |阅读模式
形状模板匹配找到的东西位置有5~10个像素差,差分出来有边界
  1. create_shape_model_xld (Contours, 6, rad(0), rad(360), 'auto', 'auto', 'ignore_local_polarity', 1, ModelID1)
  2. find_shape_model (ImageReduced5, ModelID1, rad(0), rad(360), 0.2, 1, 0.5, 'least_squares_very_high', 6, 0.9, Row21, Column21, Angle21, Score11)
  3. find_shape_model (ImageReduced6, ModelID1, rad(0), rad(360), 0.2, 1, 0.5, 'least_squares_very_high', 6, 0.9, Row22, Column22, Angle22, Score12)
复制代码



阿梅 发表于 2019-9-12 14:38:14 | 显示全部楼层
上图,上代码,不然人家大侠怎么给你找问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表