摘要
为实现对树脂镜片水印缺陷的自动检测,建立了点光源投影成像光学仿真模型,并对光源与被检镜片相对距离、成像光屏反射率、镜片物理特性以及成像距离等参数进行了探索,以此为据设计了一套基于机器视觉的水印疵病自动检测系统装置,可实现对镜片投影图像的采集与分析.采用区域生长、形态学运算和椭圆拟合等算法将镜片投影区域从背景中分割,结合Sobel边缘检测、阈值分割方法提取投影图像灰度突变区域,并以面积阈值为约束条件实现对水印缺陷的识别与定位.试验结果表明,该方法可对不同类型镜片具有自适应性,对水印缺陷镜片判别率为100%,图像采集与分析平均耗时872 ms.
To realize the automatic detection of watermask for resin glasses, the point light projection illumination model was built to explore the influence factors of relative distance between light source and resin glasses, imaging screen reflectivity, glasses physical properties and imaging distance on the imaging. Based on the simulation result, the automatic detection system for watermask was designed to capture and analyze the projection image. The algorithms of region growing, morphological operation and ellipsefitting were employed to segment the glasses projection region from the background. Sobel edge detection and thresholding were combined to extract the region with sudden change of grayscale in local pixel space. The connected region area was calculated and served as constraint condition for further selection of the defect region. The experimental results show that the digital image process can be applied to different type of resin glasses. The recognition of glasses watermask can reach 100%, and the process of imaging, recognition and location consumes 872 ms.
作者
孙力
刘晨
姚红兵
SUN Li;LIU Chen;YAO Hongbing(School of Mechanical Engineering,Jiangsu University,Zhenjiang,Jiangsu 212013,China;School of Food and Biological Engineering,Jiangsu University,Zhenjiang,Jiangsu,212013,China)
出处
《江苏大学学报(自然科学版)》
EI
CAS
CSCD
北大核心
2018年第4期425-430,共6页
Journal of Jiangsu University:Natural Science Edition
基金
中国博士后科学基金资助项目(2015BAD19B05)
江苏省博士后科学基金资助项目(2015M580401)
江苏大学高级人才科研启动基金资助项目(1501108C)
江苏省产学研前瞻性联合研究项目(BY2014123-06)
江苏省双创计划项目
关键词
树脂镜片
水印疵病
机器视觉
点光源
自动检测
resin glasses
water-mask
machine vision
point light source
automatic detection