基于Gerber文件的工业相机标定
Industrial Camera Calibration Based on Gerber File
摘要: 为提升印刷电路板(PCB)视觉检测系统的精度,相机标定技术通常被用于矫正工业相机镜头。本文提出了一种基于Gerber文件的工业相机标定算法,利用Gerber文件产生相应的PCB标靶,将相机标定过程嵌入视觉检测系统,使标定过程不需要人为干预。实验结果证明,该方法在保证较高精度的同时提升了自动化程度。
Abstract: In order to improve the accuracy of printed circuit board (PCB) visual inspection system, camera calibration system is usually used to correct the lens of industrial camera. In this paper, an indus-trial camera calibration algorithm based on Gerber file is proposed. The corresponding PCB target is generated by Gerber file, and the camera calibration process is embedded into the visual detection system, therefore the calibration process does not need human intervention. Experimental results show that this method can ensure high accuracy and improve the degree of automation. 
文章引用:钟晖, 王成群. 基于Gerber文件的工业相机标定[J]. 软件工程与应用, 2022, 11(2): 250-258. https://doi.org/10.12677/SEA.2022.112027

参考文献

[1] 赵宣铭. 一种基于Tsai法的摄像机改进标定法[J]. 西安工程大学学报, 2011, 25(4): 560-565.
[2] 胡龄心, 李浩. ToF深度相机标定方法研究进展[J]. 地理空间信息, 2021, 19(2): 22-25+6.
[3] 凌寒羽, 彭彬彬. 基于距离加权的分区域相机标定方法[J]. 中国电子科学研究院学报, 2019, 14(1): 67-74.
[4] Park, J.H. and Park, S.H. (2014) Improvement on Zhang’s Camera Calibration. Applied Mechanics and Materials, 479-480, 170-173. [Google Scholar] [CrossRef
[5] Zhu, Z., Wang, X., Liu, Q., et al. (2019) Cam-era Calibration Method Based on Optimal Polarization Angle. Optics and Lasers in Engineering, 112, 128-135. [Google Scholar] [CrossRef
[6] 汪首坤, 赵金枝, 姜明, 王浩田, 张一丁. 基于圆形阵列标定板的张氏相机标定法[J]. 北京理工大学学报, 2019, 39(8): 859-863.
[7] 杨昔阳, 翟长鑫, 吴倩鑫. 一种基于Hough变换的椭圆检测算法[J]. 泉州师范学院学报, 2020, 38(2): 53-60.
[8] 何小伟. PCB加工中Gerber文件的解析及其图形绘制和分割的研究[D]: [硕士学位论文]. 西安: 西安电子科技大学, 2018.
[9] 张旭. Gerber文件解析与G代码转换技术研究[D]: [硕士学位论文]. 大连: 大连交通大学, 2017.
[10] 朱伟, 赵春光, 欧乐庆, 王寿峰, 白俊奇, 付乾良, 编. OpenCV图像处理编程实例[M]. 北京: 电子工业出版社. 2016.
[11] 位营杰, 师红宇. 基于Canny算子的优化研究[J]. 国外电子测量技术, 2021, 40(8): 77-81.
[12] 胡瑞钦, 张立建, 孟少华. 基于OpenCV的图像椭圆特征识别与定位研究[J]. 计算机测量与控制, 2016, 24(12): 116-118.
[13] Tian, Y., Li, J., Wang, Y., et al. (2004) A Simple Centroid-Based Method to Find the Principal Point of an Image Plane for a Pincushion Distortion. International Journal of Advanced Manufacturing Technology, 23, 110-115. [Google Scholar] [CrossRef
[14] 赵宣铭. 一种基于Tsai法的摄像机改进标定法[J]. 西安工程大学学报, 2011, 25(4): 560-565.
[15] 胡龄心, 李浩. ToF深度相机标定方法研究进展[J]. 地理空间信息, 2021, 19(2): 22-25+6.
[16] 凌寒羽, 彭彬彬. 基于距离加权的分区域相机标定方法[J]. 中国电子科学研究院学报, 2019, 14(1): 67-74.
[17] Park, J.H. and Park, S.H. (2014) Improvement on Zhang’s Camera Calibration. Applied Mechanics and Materials, 479-480, 170-173. [Google Scholar] [CrossRef
[18] Zhu, Z., Wang, X., Liu, Q., et al. (2019) Cam-era Calibration Method Based on Optimal Polarization Angle. Optics and Lasers in Engineering, 112, 128-135. [Google Scholar] [CrossRef
[19] 汪首坤, 赵金枝, 姜明, 王浩田, 张一丁. 基于圆形阵列标定板的张氏相机标定法[J]. 北京理工大学学报, 2019, 39(8): 859-863.
[20] 杨昔阳, 翟长鑫, 吴倩鑫. 一种基于Hough变换的椭圆检测算法[J]. 泉州师范学院学报, 2020, 38(2): 53-60.
[21] 何小伟. PCB加工中Gerber文件的解析及其图形绘制和分割的研究[D]: [硕士学位论文]. 西安: 西安电子科技大学, 2018.
[22] 张旭. Gerber文件解析与G代码转换技术研究[D]: [硕士学位论文]. 大连: 大连交通大学, 2017.
[23] 朱伟, 赵春光, 欧乐庆, 王寿峰, 白俊奇, 付乾良, 编. OpenCV图像处理编程实例[M]. 北京: 电子工业出版社. 2016.
[24] 位营杰, 师红宇. 基于Canny算子的优化研究[J]. 国外电子测量技术, 2021, 40(8): 77-81.
[25] 胡瑞钦, 张立建, 孟少华. 基于OpenCV的图像椭圆特征识别与定位研究[J]. 计算机测量与控制, 2016, 24(12): 116-118.
[26] Tian, Y., Li, J., Wang, Y., et al. (2004) A Simple Centroid-Based Method to Find the Principal Point of an Image Plane for a Pincushion Distortion. International Journal of Advanced Manufacturing Technology, 23, 110-115. [Google Scholar] [CrossRef