HALCON差异模板之Print_check.hdev

*这个Demo演示了如何运用变化模板算子去检测打印质量。这个项目检测的是笔上的打印标签的缺陷。
*第一步,由好的图像创建模板。由于检测物体的位置会变化。其他所有图像都必须与参考图像对齐。
*具体步骤就是:1.用第一张图像建立形状匹配模板(因为算法要求由于检测的时候物体位置必须在一个位置)和训练差异模板
*检测的时候把检测图像变换到参考图像位置

  • This example program shows how to use HALCON’s variation model operators
  • to perform a typical print quality inspection. The program detects incorrect
  • prints on the clips of pens. In the first step, the variation model is constructed
  • from images of correct prints. Since the position of the objects can vary, the
  • images must be transformed to a reference position (the position of the print
  • in the first image in this example). HALCON’s shape-based matching is used
  • to detect the position and angle of the print in the images. The found position
  • and angle are used to transform the images to the reference position.
    **项目第二部分,就是检测好的和有缺陷的的图像
  • In the second part of the program, the prints of
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值