计算机与现代化 ›› 2021, Vol. 0 ›› Issue (10): 57-62.

• 图像处理 • 上一篇    下一篇

一种基于模板和DCT变换的柔性电路板配准方法

  

  1. (1.武汉科技大学计算机科学与技术学院,湖北武汉430065;2.武汉科技大学信息科学与工程学院,湖北武汉430081)
  • 出版日期:2021-10-14 发布日期:2021-10-14
  • 作者简介:王帆(1997—),男,湖北武汉人,硕士研究生,研究方向:图像处理和机器视觉,E-mail: 1215628613@qq.com; 通信作者:伍世虔(1964—),男,江西赣州人,教授,博士,研究方向:机器视觉,机器学习,智能机器人及公共安全与视频技术,E-mail: shiqian.wu@wust.edu.cn。
  • 基金资助:
    国家自然科学基金资助项目(61775172)

A Flexible Circuit Board Registration Method Based on Template and DCT Transform

  1. (1. School of Computer Science and Technology, Wuhan University of Science and Technology, Wuhan 430065, China;

    2. School of Information Science and Engineering, Wuhan University of Science and Technology, Wuhan 430081, China)
  • Online:2021-10-14 Published:2021-10-14

摘要: 针对柔性印刷电路板(FPC)生产检测过程中的效率、精度等要求,提出一种基于模板与离散余弦变换(DCT)描述子的配准方法。首先,为了解决配准的精度问题,由电路板文件工程图解析得到对应图像,为后续处理提供更好的模板图,再利用离散余弦描述子的频域能量聚集特点,在模板与被检测图像之间建立对应关系,从而计算出对齐参数。其次,使用mipmap技术处理模板,为配准阶段提供不同精度的模板图片,从而有助于精度及效率的提升。实验结果表明:该改进算法的最大误差和平均误差均比原方法小;对于电路板这种大分辨率的图像,在mipmap采样的模板条件下,可以获得较高的精度,且处理速度有较大的提升。

关键词: 模板, 图像配准, DCT变换, mipmap, 柔性印刷电路板(FPC)

Abstract: Aiming at the requirements of efficiency and accuracy in the process of flexible printed circuit board (FPC) production detection, a registration method based on template and discrete cosine transform (DCT) descriptor is proposed. First, in order to solve the problem of registration accuracy, the corresponding image is obtained by analyzing the engineering drawing of circuit board file, which provides a better template for subsequent processing. Then, the corresponding relationship between the template and the detected image is established by using the frequency-domain energy aggregation characteristics of discrete cosine descriptor, so as to calculate the alignment parameters. Secondly, mipmap technology is used to process the template, which provides different precision template images for the registration stage, which is helpful to improve the accuracy and efficiency. The experimental results show that: the maximum error and average error of the improved algorithm are smaller than the original method; for the circuit board such a large resolution image, under the condition of mipmap sampling template, it can obtain higher accuracy, and the processing speed is greatly improved.

Key words: template, image registration, DCT transform, mipmap, flexible printed circuit board (FPC)