中国农业科学 ›› 2026, Vol. 59 ›› Issue (9): 1987-2001.doi: 10.3864/j.issn.0578-1752.2026.09.011

• 食品科学与工程 • 上一篇    下一篇

基于图像处理的玉米破损比例检测方法及其品质变化同步分析

王志高1(), 李刘滨1, 许颖1, 鞠澄辉2, 何荣1()   

  1. 1 南京财经大学食品科学与工程学院/江苏省现代粮食流通与安全协同创新中心/江苏高校粮油质量安全控制及深加工重点实验室, 南京 210023
    2 南京林业大学生命科学学院, 南京 210037
  • 收稿日期:2025-06-24 接受日期:2026-04-02 出版日期:2026-05-01 发布日期:2026-05-06
  • 通信作者:
    何荣,E-mail:
  • 联系方式: 王志高,E-mail:zhigaowang@nufe.edu.cn。
  • 基金资助:
    国家重点研发计划(2022YFD2100202)

Image Processing-Based Detection Method for Corn Damage Ratio and Synchronous Analysis of Quality Variation

WANG ZhiGao1(), LI LiuBin1, XU Ying1, JU ChengHui2, HE Rong1()   

  1. 1 School of Food Science and Engineering, Nanjing University of Finance and Economics Jiangsu Provincial Collaborative Innovation Center for Modern Grain Circulation and Safety/Jiangsu Provincial Key Laboratory of Quality and Safety Control of Grains and Oils, and Deep Processing, Nanjing 210023
    2 College of Life Science, Nanjing Forestry University, Nanjing 210037
  • Received:2025-06-24 Accepted:2026-04-02 Published:2026-05-01 Online:2026-05-06

摘要:

【目的】针对传统玉米破损比例检测方法(如手动挑选称重法、电动筛选器法等)耗时费力且无法满足储运过程中品质实时评估的需求,本研究提出一种基于图像处理与深度学习的玉米破损比例快速检测方法,并同步分析破损比例对玉米长距离运输储藏后品质变化的影响,旨在为玉米质量智能监测、风险预警及储运条件优化提供技术支撑与理论依据。【方法】以500张智能手机拍摄的原始玉米粒图像为数据源,利用图像处理技术(图像校正、图像预处理、图像分割以及面积提取),通过3种深度学习模型(Resnet50、Densenet121和ViT)的训练与评估,建立玉米破损比例快速预测模型;并通过模拟玉米“北粮南运”水、陆运输路线的温湿度条件,系统探究不同破损比例玉米(0—12%)储运后的品质变化规律。【结果】ViT模型在玉米破损籽粒识别中表现最优,准确率和精确率均达99%,预测值和真实值的平均绝对误差仅为0.45%,决定系数R2高达0.978。随着破损比例从0增至12%,水路和陆路玉米的理化特性指标均显著上升(P<0.05):水分含量分别增加1.384%和0.461%,脂肪酸值分别增加7.92和4.49 mg KOH/100 g,电导率分别升高6.72和4.66 μs·cm-1,丙二醛(malondialdehyde,MDA)含量分别上升38.73%和19.22%;在营养品质方面,玉米蛋白质含量降低,淀粉含量呈先升后降再升的波动趋势,直链淀粉(amylose,AM)含量与支链淀粉(amylopectin,AP)含量比例失衡,糊化特性也发生显著改变。【结论】本研究为玉米破损比例的快速检测提供了可靠的技术手段,也为优化玉米储运条件、减缓品质劣变提供了科学依据。建议在“北粮南运”等长距离高湿度储运场景中将破损比例4%作为管控阈值,对超阈值批次实施优先分拣或保质处理,以减少粮食产后损失、保障我国粮食安全。

关键词: 玉米, 破损比例, 图像处理, 深度学习, 品质变化, 快速检测

Abstract:

【Objective】Traditional methods for detecting the corn damage ratio (e.g., manual sorting and weighing, and electric sieving) are time-consuming and labor-intensive, failing to meet the demand for real-time quality assessment during storage and transportation. To address this, this study proposed a rapid detection method for the corn damage ratio based on image processing and deep learning. Furthermore, the impact of the damage ratio on corn quality deterioration following long-distance transportation and storage was simultaneously analyzed. This research aimed to provide a technical support and a theoretical basis for intelligent corn quality monitoring, early risk warning, and the optimization of storage and transportation conditions.【Method】A total of 500 raw corn kernels images captured by smartphones were utilized as the dataset. A rapid prediction model for the corn damage ratio was developed using image processing techniques (image rectification, preprocessing, segmentation, and area extraction) combined with the training and evaluation of three deep learning models (Resnet50, Densenet121, and Vision Transformer [ViT]). Additionally, by simulating the temperature and humidity conditions of the waterway and land routes in China’s “North-to-South Grain Transportation” system, the quality variation of corn with different damage ratios (0-12%) following storage and transportation was systematically investigated.【Result】The ViT model demonstrated optimal performance in identifying damaged corn kernels, achieving both accuracy and precision rates of 99%. The mean absolute error between the predicted and actual values was merely 0.45%, with a coefficient of determination (R2) reaching 0.978. As the damage ratio increased from 0 to 12%, the physicochemical properties of corn transported via waterway and land routes showed significant increases (P<0.05): moisture content rose by 1.384% and 0.461%, fatty acid values increased by 7.92 mg KOH/100 g and 4.49 mg KOH/100 g, electrical conductivity elevated by 6.72 and 4.66 μs·cm-1, and malondialdehyde (MDA) content increased by 38.73% and 19.22%, respectively. Regarding nutritional quality, the protein content decreased, while the starch content exhibited a fluctuating trend of an initial increase, followed by a decrease, and a subsequent rise. An imbalance emerged between the amylose (AM) and amylopectin (AP) content, accompanied by significant alterations in the pasting properties.【Conclusion】This study provided a reliable technical approach for the rapid detection of the corn damage ratio, offering a scientific basis for optimizing storage and transportation conditions to mitigate quality deterioration. Specifically, it was recommend establishing a 4% damage ratio as the critical control threshold in long-distance and high-humidity storage and transportation scenarios, such as China’s “North-to-South Grain Transportation” system. Batches exceeding this threshold should undergo priority sorting or quality preservation treatments.

Key words: corn, damage ratio, image processing, deep learning, quality deterioration, rapid testing