Detection of early bruises in apples using hyperspectral imaging and an improved MobileViT network.

IF 3.2 2区 农林科学 Q2 FOOD SCIENCE & TECHNOLOGY
Mianqing Yang, Guoliang Chen, Feng Lv, Yunyun Ma, Yiyun Wang, Qingdian Zhao, Dayang Liu
{"title":"Detection of early bruises in apples using hyperspectral imaging and an improved MobileViT network.","authors":"Mianqing Yang, Guoliang Chen, Feng Lv, Yunyun Ma, Yiyun Wang, Qingdian Zhao, Dayang Liu","doi":"10.1111/1750-3841.17512","DOIUrl":null,"url":null,"abstract":"<p><p>Apples are susceptible to postharvest bruises, leading to a shortened shelf life and significant waste. Therefore, accurate detection of apple bruises is crucial to mitigate food waste. This study proposed an improved lightweight network based on MobileViT for detecting early-stage bruises in apples, utilizing hyperspectral imaging technology from 397.66 to 1003.81 nm. After acquiring hyperspectral images, the Otsu threshold algorithm was employed for mask extraction, and principal component analysis was used for feature image extraction. Subsequently, the improved MobileViT network (iM-ViT) was implemented and compared with traditional algorithms, utilizing depthwise separable convolutions for parameter reduction and integrating local and global features to enhance bruise detection capability. The results demonstrated the superior performance of iM-ViT in accurately detecting apple bruises, showing significant improvements. The F1 score and test accuracy for detecting apple bruises using iM-ViT reached 0.99 and 99.07%, respectively. The fivefold cross-validation strategy was used to assess the stability and robustness of iM-ViT, and ablation experiments were performed to explore the effects of depthwise separable convolutions and local features on parameter reduction and classification accuracy improvement for early-stage bruise detection in apples. The results demonstrated that iM-ViT effectively reduced parameters and improved the ability to detect early bruises in apples. PRACTICAL APPLICATION: This study proposed an improved lightweight network to detect early bruises in apples, providing a reference for quick detection of bruises caused in the production process. Potential insights into the nondestructive detection of apple bruises using lightweight networks have been presented, which might be applied to mobile or online devices.</p>","PeriodicalId":193,"journal":{"name":"Journal of Food Science","volume":" ","pages":""},"PeriodicalIF":3.2000,"publicationDate":"2024-11-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Science","FirstCategoryId":"97","ListUrlMain":"https://doi.org/10.1111/1750-3841.17512","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

Apples are susceptible to postharvest bruises, leading to a shortened shelf life and significant waste. Therefore, accurate detection of apple bruises is crucial to mitigate food waste. This study proposed an improved lightweight network based on MobileViT for detecting early-stage bruises in apples, utilizing hyperspectral imaging technology from 397.66 to 1003.81 nm. After acquiring hyperspectral images, the Otsu threshold algorithm was employed for mask extraction, and principal component analysis was used for feature image extraction. Subsequently, the improved MobileViT network (iM-ViT) was implemented and compared with traditional algorithms, utilizing depthwise separable convolutions for parameter reduction and integrating local and global features to enhance bruise detection capability. The results demonstrated the superior performance of iM-ViT in accurately detecting apple bruises, showing significant improvements. The F1 score and test accuracy for detecting apple bruises using iM-ViT reached 0.99 and 99.07%, respectively. The fivefold cross-validation strategy was used to assess the stability and robustness of iM-ViT, and ablation experiments were performed to explore the effects of depthwise separable convolutions and local features on parameter reduction and classification accuracy improvement for early-stage bruise detection in apples. The results demonstrated that iM-ViT effectively reduced parameters and improved the ability to detect early bruises in apples. PRACTICAL APPLICATION: This study proposed an improved lightweight network to detect early bruises in apples, providing a reference for quick detection of bruises caused in the production process. Potential insights into the nondestructive detection of apple bruises using lightweight networks have been presented, which might be applied to mobile or online devices.

利用高光谱成像和改进的 MobileViT 网络检测苹果的早期瘀伤。
苹果在收获后很容易出现瘀伤,导致保质期缩短和大量浪费。因此,准确检测苹果瘀伤对减少食品浪费至关重要。本研究提出了一种基于 MobileViT 的改进型轻量级网络,利用波长为 397.66 至 1003.81 nm 的高光谱成像技术检测苹果的早期淤伤。在获取高光谱图像后,采用大津阈值算法进行掩膜提取,并使用主成分分析法进行特征图像提取。随后,实现了改进的 MobileViT 网络(iM-ViT),并与传统算法进行了比较,利用深度可分离卷积来降低参数,并整合局部和全局特征来增强瘀伤检测能力。结果表明,iM-ViT 在准确检测苹果瘀伤方面性能优越,并有显著提高。使用 iM-ViT 检测苹果瘀伤的 F1 分数和测试准确率分别达到了 0.99% 和 99.07%。采用五重交叉验证策略评估了 iM-ViT 的稳定性和鲁棒性,并进行了消融实验,以探索深度可分离卷积和局部特征对苹果早期淤伤检测的参数降低和分类准确性提高的影响。结果表明,iM-ViT 能有效降低参数,提高检测苹果早期淤伤的能力。实际应用:本研究提出了一种改进的轻量级网络来检测苹果的早期瘀伤,为快速检测生产过程中造成的瘀伤提供了参考。该研究提出了利用轻量级网络对苹果瘀伤进行无损检测的潜在见解,可应用于移动或在线设备。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Food Science
Journal of Food Science 工程技术-食品科技
CiteScore
7.10
自引率
2.60%
发文量
412
审稿时长
3.1 months
期刊介绍: The goal of the Journal of Food Science is to offer scientists, researchers, and other food professionals the opportunity to share knowledge of scientific advancements in the myriad disciplines affecting their work, through a respected peer-reviewed publication. The Journal of Food Science serves as an international forum for vital research and developments in food science. The range of topics covered in the journal include: -Concise Reviews and Hypotheses in Food Science -New Horizons in Food Research -Integrated Food Science -Food Chemistry -Food Engineering, Materials Science, and Nanotechnology -Food Microbiology and Safety -Sensory and Consumer Sciences -Health, Nutrition, and Food -Toxicology and Chemical Food Safety The Journal of Food Science publishes peer-reviewed articles that cover all aspects of food science, including safety and nutrition. Reviews should be 15 to 50 typewritten pages (including tables, figures, and references), should provide in-depth coverage of a narrowly defined topic, and should embody careful evaluation (weaknesses, strengths, explanation of discrepancies in results among similar studies) of all pertinent studies, so that insightful interpretations and conclusions can be presented. Hypothesis papers are especially appropriate in pioneering areas of research or important areas that are afflicted by scientific controversy.
×
引用
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学术文献互助群
群 号:481959085
Book学术官方微信