光源角度对金属表面图像边缘的影响分析

甘勇, 于江豪, 薛菲, 曾勃乔

甘勇, 于江豪, 薛菲, 曾勃乔. 光源角度对金属表面图像边缘的影响分析[J]. 应用光学, 2021, 42(4): 614-621. DOI: 10.5768/JAO202142.0401007
引用本文: 甘勇, 于江豪, 薛菲, 曾勃乔. 光源角度对金属表面图像边缘的影响分析[J]. 应用光学, 2021, 42(4): 614-621. DOI: 10.5768/JAO202142.0401007
GAN Yong, YU Jianghao, XUE Fei, ZENG Boqiao. Analysis of effect of light source angle on image edge of metal surfaces[J]. Journal of Applied Optics, 2021, 42(4): 614-621. DOI: 10.5768/JAO202142.0401007
Citation: GAN Yong, YU Jianghao, XUE Fei, ZENG Boqiao. Analysis of effect of light source angle on image edge of metal surfaces[J]. Journal of Applied Optics, 2021, 42(4): 614-621. DOI: 10.5768/JAO202142.0401007

光源角度对金属表面图像边缘的影响分析

基金项目: 国家自然科学基金(51665008)
详细信息
    作者简介:

    甘勇(1973—),男,博士,教授,主要从事智能三维无损检测方面的研究。E-mail:ganyong@gute.edu.cn

    通讯作者:

    于江豪(1994—),男,硕士,主要从事智能三维无损检测方面的研究。E-mail:1430181953@qq.com

  • 中图分类号: TN209

Analysis of effect of light source angle on image edge of metal surfaces

  • 摘要: 在机器视觉的图像处理中影响图像优劣的因素有很多,其中光源照射角度是主要因素之一。为了得到更好的图像数据,对视觉系统中光源照射最佳角度进行了仿真分析与实验研究,实验中采用单一变量法,只改变光源照射角度,通过理论计算、模拟仿真和实验验证相结合,得到了最佳的光源照射角度。结合Sobel算法检验在最佳角度下和其他角度下的图像边缘质量,结果表明在光照角度为57.17°的倾角下图像光照数据和边缘图像表现最好。该实验结果对更深层次的图像处理和图像采集具有指导意义。
    Abstract: In the image processing of machine vision, there are many factors affecting the image quality, and one of the main factors is the illumination angle of the light source. In order to get the better image data, it is necessary to carry out the simulation analysis and experimental study on the optimal angle of the light source illumination in the vision system. A single-variable method was used in the experiment to change the illumination angle of the light source only. Through a combination of the theoretical calculation, the simulation, and the experimental verification, the best illumination angle of the light source was obtained. The image edge quality under the optimal angle and other angles was examined in combination with the Sobel algorithm. The results show that the performances of image illumination data and edge image are the best under the illumination angle of 57.17°, which are of guiding significance for deeper image processing and image acquisition.
  • 图  1   图像采集系统

    Figure  1.   Image acquisition system

    图  2   工件模型

    Figure  2.   Workpiece model

    图  3   光源-工件模型

    1.工件;2.光源模组

    Figure  3.   Light source-workpiece model

    图  4   像距和图像视野比例关系

    Figure  4.   Relationship between image distance and image field of view ratio

    图  5   光照投射示意图

    Figure  5.   Schematic diagram of light projection

    图  6   角度与平均偏差、标准偏差的曲线图

    Figure  6.   Curves of angle with mean deviation and standard deviation

    图  7   高度235.8 mm斜面仿真照度图

    Figure  7.   Simulated illuminance diagram of inclined plane at 235.8 mm

    图  8   高度235.8 mm时不同光源角度工件光照分布

    Figure  8.   Illumination distribution of workpieces with different light source angles at 235.8 mm

    图  9   调节后的装置相对位置图

    Figure  9.   Relative position diagram of adjusted device

    图  10   高度235.8 mm时不同角度下的工件图像

    Figure  10.   Images of workpieces at different angles at 235.8 mm

    图  11   Matlab中6幅图像中线处光照分布曲线

    Figure  11.   Illumination distribution curves at midline of six images in Matlab

    图  12   Sobel卷积核

    Figure  12.   Sobel convolution kernel

    图  13   57.17°时的边缘图像

    Figure  13.   Edge image at 57.17°

    图  14   90°时的边缘图像

    Figure  14.   Edge image at 90°

    表  1   光照均匀性平均偏差和标准偏差

    Table  1   Mean deviation and standard deviation of illumination uniformity

    照射角/(°)平均偏差/
    (W/mm2
    标准偏差/
    (×10−7 W/mm2
    11.01° 0 0
    33.02° 0.76 5.46
    47.37° 0.49 10.7
    57.17° 0.43 8.20
    下载: 导出CSV
  • [1] 王彦, 王克逸, 赵帅, 等. 基于锥形透镜的光线入射角度测量系统设计与研究[J]. 应用光学,2020,41(6):1181-1189. doi: 10.5768/JAO202041.0602001

    WANG Yan, WANG Keyi, ZHAO Shuai, et al. Design and research of light incident angle measuring system based on conical lens[J]. Journal of Applied Optics,2020,41(6):1181-1189. doi: 10.5768/JAO202041.0602001

    [2] 龚聪, 徐杜. 光源强度变化对图像检测精度的影响及其解决方法[J]. 科学技术与工程,2014,14(13):236-239. doi: 10.3969/j.issn.1671-1815.2014.13.047

    GONG Cong, XU Du. Impact and solution of light source intensity changes to image measuring precision[J]. Science Technology and Engineering,2014,14(13):236-239. doi: 10.3969/j.issn.1671-1815.2014.13.047

    [3] 龚志远, 李轶凡, 刘燕德, 等. 光源照射角度对苹果糖度近红外光谱检测的影响研究[J]. 激光与光电子学进展,2016,53(2):023004-1-5.

    GONG Zhiyuan, LI Yifan, LIU Yande, et al. Study on influence of irradiation angle on detection of sugar content of apple by near infrared spectroscopy[J]. Laser & Optoelectronics Progress,2016,53(2):023004-1-5.

    [4]

    ECKERT R, PHILLIPS Z F, WALLER L. Efficient illumination angle self-calibration in Fourier ptycho-graphy[J]. Applied Optics,2018,57(19):5434-5442. doi: 10.1364/AO.57.005434

    [5]

    MESCHER J, MERTENS A, EGEL A, et al. Illumination angle and layer thickness influence on the photo current generation in organic solar cells: a combined simulative and experimental study[J]. AIP Advances,2015,5(7):077188-1-6. doi: 10.1063/1.4928074

    [6] 郭静, 冯鹏, 邓露珍, 等. 针孔X射线荧光CT探测角度优化研究[J]. 光学学报,2020,40(1):237-245.

    GUO Jing, FENG Peng, DENG Luzhen, et al. Optimization of detection angle for pinhole X-ray fluorescence computed tomography[J]. Acta Optica Sinica,2020,40(1):237-245.

    [7] 马致臻, 蒋上海, 罗彬彬, 等. 探测角度对笔束X射线荧光CT成像质量的影响[J]. 激光与光电子学进展,2020,57(16):292-298.

    MA Zhizhen, JIANG Shanghai, LUO Binbin, et al. Influence of detection angle on the quality of pencil-beam X-ray fluorescence CT[J]. Laser & Optoelectronics Progress,2020,57(16):292-298.

    [8] 李通, 赵巨峰, 毛海锋, 等. 基于角度照明优化的傅里叶叠层显微成像方法[J]. 激光与光电子学进展,2020,57(8):268-277.

    LI Tong, ZHAO Jufeng, MAO Haifeng, et al. An efficient Fourier ptychographic microscopy imaging method based on angle illumination optimization[J]. Laser & Optoelectronics Progress,2020,57(8):268-277.

    [9] 程全, 樊宇, 刘玉春, 等. 基于光纤传感器的角度测量系统研发[J]. 激光杂志,2018,39(5):92-95.

    CHENG Quan, FAN Yu, LIU Yuchun, et al. Research and development of angle measurement system based on optical fiber sensor[J]. Laser Journal,2018,39(5):92-95.

    [10] 刘欣静. 实时的皮肤次表面散射算法的实现[J]. 现代计算机,2017,7(6):17-19. doi: 10.3969/j.issn.1007-1423.2017.06.005

    LIU Xinjing. Real-time skin subsurface scattering algorithm[J]. Modern Computer,2017,7(6):17-19. doi: 10.3969/j.issn.1007-1423.2017.06.005

    [11] 托马斯. 埃肯因. 莫勒, 埃里克. 海内斯. 实时计算机图形学[M]. 普建涛, 译. 北京: 北京大学出版社, 2004: 112-113.

    AKENINE-MOLLER T, HAINES E. Real-time rendering[M]. Rev. ed. Translated by PU Jiantao. Beijing: Peking University Press, 2004: 112-113.

    [12] 贾崔赟. 基于阴影线索与视差法的单目视觉图像深度测量方法研究[D]. 桂林: 桂林电子科技大学, 2020: 16-17.

    JIA Cuiyun. Research on depth measurement of monocular vision image based on shadow cues and parallax method[D]. Guilin: Guilin University of Electronic Technology, 2020: 16-17.

    [13] 王德宇, 王雪琨, 于文文, 等. 面向皮革缺陷检测的离轴LED曲面阵列照明设计[J]. 激光与光电子学进展,2019,56(8):201-207.

    WANG Deyu, WANG Xuekun, YU Wenwen, et al. Off-axis LED curved array lighting design for leather defect detection[J]. Laser & Optoelectronics Progress,2019,56(8):201-207.

    [14] 张平. OpenCV算法精解[M]. 北京: 电子工业出版社, 2017: 234-238.

    ZHANG Ping. OpenCV algorithm solution[M]. Beijing: Publishing House of Electronics Industry, 2017: 234-238.

    [15] 苗晓孔, 王春平. 改进Sobel算子的单帧红外弱小目标检测[J]. 光电工程,2016,43(12):119-125. doi: 10.3969/j.issn.1003-501X.2016.12.019

    MIAO Xiaokong, WANG Chunping. Single frame infra-red (IR) dim small target detection based on improved Sobel operator[J]. Opto-Electronic Engineering,2016,43(12):119-125. doi: 10.3969/j.issn.1003-501X.2016.12.019

    [16] 段玉波, 陈静石. 一种新的图像边缘检测客观评价方法[J]. 自动化技术与应用,2016,35(3):57-62.

    DUAN Yubo, CHEN Jingshi. A new objective method of evaluation in the image edge detection[J]. Techniques of Automation and Applications,2016,35(3):57-62.

  • 期刊类型引用(1)

    1. 刘尚旺, 郜刘阳, 王博. 联合双边滤波器和小波阈值收缩去噪算法研究. 国土资源遥感. 2018(02): 114-124 . 百度学术

    其他类型引用(1)

图(15)  /  表(1)
计量
  • 文章访问数:  623
  • HTML全文浏览量:  163
  • PDF下载量:  34
  • 被引次数: 2
出版历程
  • 收稿日期:  2020-11-10
  • 修回日期:  2020-12-21
  • 网络出版日期:  2021-05-21
  • 刊出日期:  2021-07-20

目录

    /

    返回文章
    返回