基于改进YOLO v7的结构照明反射成像耦合同步检测柑橘内外缺陷

IF 6.8 1区 农林科学 Q1 AGRONOMY
Zhonglei Cai , Yizhi Zhang , Jiangbo Li , Junyi Zhang , Xuetong Li
{"title":"基于改进YOLO v7的结构照明反射成像耦合同步检测柑橘内外缺陷","authors":"Zhonglei Cai ,&nbsp;Yizhi Zhang ,&nbsp;Jiangbo Li ,&nbsp;Junyi Zhang ,&nbsp;Xuetong Li","doi":"10.1016/j.postharvbio.2025.113576","DOIUrl":null,"url":null,"abstract":"<div><div>In real growth environments, citrus fruit defects exhibit complex and diverse, encompassing both external defects (e.g., flavedo disorder, cracking, canker, wind scarring) and internal defect (e.g., early decay). In addition, the stem and navel of the fruit can also be misjudged as defects. To address the limitations of traditional methods in simultaneously identifying external and internal defects in citrus, this study proposes a citrus defect detection method that combines structured-illumination reflectance imaging (SIRI) technology with an improved YOLO v7. Original stripe images with a spatial frequency of 0.25 cycles mm<sup>−1</sup> were collected under a light-emitting diode (LED) SIRI system. The three-phase-shifting approach was employed to recover the direct component (DC) and alternating component (AC) images. The AC image contains tissue information at a specific depth, enabling the simultaneous visualization of early decayed areas that are imperceptible to the naked eye and surface defects on the sample. This provides a foundation for the synchronous detection of both external and internal defects in citrus. Using AC images as input and YOLO v7 as the recognition model, the external and internal defects in citrus were identified synchronously. The mAP<sub>0.5</sub> and F1 of YOLO v7 were 93.5 % and 92.4 %, respectively. Compared to the original YOLO v7, gradually replacing the CA module, Mish module, and SPPFS module and conducting ablation experiments, resulting in an increase of 1.4 %, 0.9 %, 0.7 %, and 2.4 % in mAP<sub>0.5</sub>, as well as an increase of 1.9, 1.2, 0.6, and 2.7 in F1, respectively. The improved YOLO v7 increased the accuracy of identifying both external and internal defects. Using an independent batch of samples and the trained YOLO v7-CA-Mish-SPPFS detection model, the overall classification accuracy achieved 94.9 %. The results demonstrate that the combination of SIRI technology with the improved YOLO v7 model can effectively identify external and internal defects in citrus fruit, thereby reducing duplicate detection of samples. This study provides a new approach for the first synchronous detection of external and internal defects in the citrus industry.</div></div>","PeriodicalId":20328,"journal":{"name":"Postharvest Biology and Technology","volume":"227 ","pages":"Article 113576"},"PeriodicalIF":6.8000,"publicationDate":"2025-04-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Synchronous detection of internal and external defects of citrus by structured-illumination reflectance imaging coupling with improved YOLO v7\",\"authors\":\"Zhonglei Cai ,&nbsp;Yizhi Zhang ,&nbsp;Jiangbo Li ,&nbsp;Junyi Zhang ,&nbsp;Xuetong Li\",\"doi\":\"10.1016/j.postharvbio.2025.113576\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>In real growth environments, citrus fruit defects exhibit complex and diverse, encompassing both external defects (e.g., flavedo disorder, cracking, canker, wind scarring) and internal defect (e.g., early decay). In addition, the stem and navel of the fruit can also be misjudged as defects. To address the limitations of traditional methods in simultaneously identifying external and internal defects in citrus, this study proposes a citrus defect detection method that combines structured-illumination reflectance imaging (SIRI) technology with an improved YOLO v7. Original stripe images with a spatial frequency of 0.25 cycles mm<sup>−1</sup> were collected under a light-emitting diode (LED) SIRI system. The three-phase-shifting approach was employed to recover the direct component (DC) and alternating component (AC) images. The AC image contains tissue information at a specific depth, enabling the simultaneous visualization of early decayed areas that are imperceptible to the naked eye and surface defects on the sample. This provides a foundation for the synchronous detection of both external and internal defects in citrus. Using AC images as input and YOLO v7 as the recognition model, the external and internal defects in citrus were identified synchronously. The mAP<sub>0.5</sub> and F1 of YOLO v7 were 93.5 % and 92.4 %, respectively. Compared to the original YOLO v7, gradually replacing the CA module, Mish module, and SPPFS module and conducting ablation experiments, resulting in an increase of 1.4 %, 0.9 %, 0.7 %, and 2.4 % in mAP<sub>0.5</sub>, as well as an increase of 1.9, 1.2, 0.6, and 2.7 in F1, respectively. The improved YOLO v7 increased the accuracy of identifying both external and internal defects. Using an independent batch of samples and the trained YOLO v7-CA-Mish-SPPFS detection model, the overall classification accuracy achieved 94.9 %. The results demonstrate that the combination of SIRI technology with the improved YOLO v7 model can effectively identify external and internal defects in citrus fruit, thereby reducing duplicate detection of samples. This study provides a new approach for the first synchronous detection of external and internal defects in the citrus industry.</div></div>\",\"PeriodicalId\":20328,\"journal\":{\"name\":\"Postharvest Biology and Technology\",\"volume\":\"227 \",\"pages\":\"Article 113576\"},\"PeriodicalIF\":6.8000,\"publicationDate\":\"2025-04-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Postharvest Biology and Technology\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0925521425001887\",\"RegionNum\":1,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRONOMY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Postharvest Biology and Technology","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925521425001887","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRONOMY","Score":null,"Total":0}
引用次数: 0

摘要

在真实的生长环境中,柑橘果实缺陷表现出复杂多样的特征,既包括外部缺陷(如黄酮症、开裂、溃烂、风疤),也包括内部缺陷(如早期腐烂)。此外,果实的茎部和肚脐也可被误判为缺陷。为了解决传统方法无法同时识别柑橘外部和内部缺陷的局限性,本研究提出了一种将结构照明反射成像(SIRI)技术与改进的YOLO v7相结合的柑橘缺陷检测方法。在发光二极管(LED) SIRI系统下采集空间频率为0.25 cycles mm−1的原始条纹图像。采用三相移相法恢复直接分量(DC)和交流分量(AC)图像。AC图像包含特定深度的组织信息,能够同时可视化肉眼无法察觉的早期腐烂区域和样品表面缺陷。这为柑橘内外缺陷的同步检测提供了基础。以AC图像为输入,YOLO v7为识别模型,对柑橘的外部缺陷和内部缺陷进行同步识别。YOLO v7的mAP0.5和F1分别为93.5 %和92.4 %。与原来的YOLO v7相比,逐步更换CA模块、Mish模块和SPPFS模块并进行烧蚀实验,使得mAP0.5增加了1.4 %、0.9 %、0.7 %和2.4 %,F1分别增加了1.9、1.2、0.6和2.7。改进的YOLO v7提高了识别外部和内部缺陷的准确性。使用独立批次的样本和训练好的YOLO v7-CA-Mish-SPPFS检测模型,总体分类准确率达到94.9 %。结果表明,将SIRI技术与改进的YOLO v7模型相结合,可以有效地识别柑橘果实的外部和内部缺陷,从而减少样品的重复检测。本研究为柑橘产业内外缺陷的首次同步检测提供了新途径。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Synchronous detection of internal and external defects of citrus by structured-illumination reflectance imaging coupling with improved YOLO v7
In real growth environments, citrus fruit defects exhibit complex and diverse, encompassing both external defects (e.g., flavedo disorder, cracking, canker, wind scarring) and internal defect (e.g., early decay). In addition, the stem and navel of the fruit can also be misjudged as defects. To address the limitations of traditional methods in simultaneously identifying external and internal defects in citrus, this study proposes a citrus defect detection method that combines structured-illumination reflectance imaging (SIRI) technology with an improved YOLO v7. Original stripe images with a spatial frequency of 0.25 cycles mm−1 were collected under a light-emitting diode (LED) SIRI system. The three-phase-shifting approach was employed to recover the direct component (DC) and alternating component (AC) images. The AC image contains tissue information at a specific depth, enabling the simultaneous visualization of early decayed areas that are imperceptible to the naked eye and surface defects on the sample. This provides a foundation for the synchronous detection of both external and internal defects in citrus. Using AC images as input and YOLO v7 as the recognition model, the external and internal defects in citrus were identified synchronously. The mAP0.5 and F1 of YOLO v7 were 93.5 % and 92.4 %, respectively. Compared to the original YOLO v7, gradually replacing the CA module, Mish module, and SPPFS module and conducting ablation experiments, resulting in an increase of 1.4 %, 0.9 %, 0.7 %, and 2.4 % in mAP0.5, as well as an increase of 1.9, 1.2, 0.6, and 2.7 in F1, respectively. The improved YOLO v7 increased the accuracy of identifying both external and internal defects. Using an independent batch of samples and the trained YOLO v7-CA-Mish-SPPFS detection model, the overall classification accuracy achieved 94.9 %. The results demonstrate that the combination of SIRI technology with the improved YOLO v7 model can effectively identify external and internal defects in citrus fruit, thereby reducing duplicate detection of samples. This study provides a new approach for the first synchronous detection of external and internal defects in the citrus industry.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Postharvest Biology and Technology
Postharvest Biology and Technology 农林科学-农艺学
CiteScore
12.00
自引率
11.40%
发文量
309
审稿时长
38 days
期刊介绍: The journal is devoted exclusively to the publication of original papers, review articles and frontiers articles on biological and technological postharvest research. This includes the areas of postharvest storage, treatments and underpinning mechanisms, quality evaluation, packaging, handling and distribution of fresh horticultural crops including fruit, vegetables, flowers and nuts, but excluding grains, seeds and forages. Papers reporting novel insights from fundamental and interdisciplinary research will be particularly encouraged. These disciplines include systems biology, bioinformatics, entomology, plant physiology, plant pathology, (bio)chemistry, engineering, modelling, and technologies for nondestructive testing. Manuscripts on fresh food crops that will be further processed after postharvest storage, or on food processes beyond refrigeration, packaging and minimal processing will not be considered.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信