摘要
目的提高阈值法在纸病检测系统中的通用性。方法通过实验法获取不同时间段图像灰度数据,依据获取数据的时间段对图像灰度数据进行分类,求得相应时间段的灰度最大平均值、灰度最小平均值、总体灰度平均值以及灰度标准差,应用图表分析法对图像灰度的各种数据进行对比分析,总结出图像灰度变化规律,使用Visual studio 2015进行编程并验证。结果实验结果显示此方案可以较好地适应外界光线的变化,提高纸病检测系统的鲁棒性。结论基于模糊逻辑的纸病检测动态阈值设置方案,可以有效提高阈值法在纸病检测系统中的通用性。
The work aims to improve the generality of threshold method of paper disease detection system.Firstly,the image gray-scale data were obtained by experiment and were classified according to different time periods.Secondly,the maximum average value,the minimum average value,the average value of overall gray-scale and the standard deviation of image grey-scale data were calculated.Finally,the graph analysis method was used to compare and analyze data on grey-scale of image,summarize the regular pattern of the change of image gray-scale value and complete programming and verification by Visual studio 2015.The experiments showed that the proposed method can significantly adapt to the changes of external light,and improve the robustness of paper disease detection system.The dynamic threshold setting scheme of paper disease detection based on fuzzy logic can effectively enhance the universality of the paper disease detection system.
作者
冯波
汤伟
曲蕴慧
佟永亮
FENG Bo;TANG Wei;QU Yun-hui;TONG Yong-liang(College of Electrical and Information Engineering,Shaanxi University of Science and Technology,Xi’an 710021,China;Haojing College of Shaanxi University of Science&Technology,Xi'an 712046,China)
出处
《包装工程》
CAS
北大核心
2020年第3期218-223,共6页
Packaging Engineering
基金
陕西省教育厅自然专项(17JK0645)
陕西省科技统筹创新工程计划(2012KTCQ01-19)
陕西省重点科技创新团队计划(2014KCT-15)
关键词
纸病检测
模糊逻辑
动态阈值
paper disease detection
fuzzy logic
dynamic threshold