Classification of tea quality grades based on hyperspectral imaging spatial information and optimization models

IF 2.9 3区 农林科学 Q2 FOOD SCIENCE & TECHNOLOGY
Yuhan Ding, Renhua Zeng, Hui Jiang, Xianping Guan, Qinghai Jiang, Zhiyu Song
{"title":"Classification of tea quality grades based on hyperspectral imaging spatial information and optimization models","authors":"Yuhan Ding,&nbsp;Renhua Zeng,&nbsp;Hui Jiang,&nbsp;Xianping Guan,&nbsp;Qinghai Jiang,&nbsp;Zhiyu Song","doi":"10.1007/s11694-024-02862-7","DOIUrl":null,"url":null,"abstract":"<div><p>To achieve efficient classification of tea quality grades, spatial information from hyperspectral imaging (HSI) technology is proposed as the research focus. The principal component analysis (PCA) method is employed to extract the first three principal component images of tea spectral images, and the PCDS1 and PCDS3 datasets are constructed based on the individual principal component images and the combination of all three principal component images, respectively. Discriminative models for tea quality grades are established using ResNet-50. Without the use of enhancement strategies, the discriminative models established using the PCDS3 dataset achieve better recognition performance, indicating that the strategy of integrating spatial information features contributes to improving model performance. In the case of small sample sizes, transfer learning strategies and image enhancement strategies are employed to enhance model accuracy. The ResNet-50 model using transfer learning strategies exhibits superior performance, achieving a recognition accuracy of 86.15%. To further improve the model’s performance, the particle swarm optimization (PSO) algorithm is utilized to optimize hyperparameters, resulting in an improved model accuracy of 89.23%. Addressing the issue of the PSO algorithm easily falling into local optima, we propose a Two-Strategy Particle Swarm Optimization (TSPSO) algorithm. Experimental results demonstrate that TSPSO significantly outperforms PSO, enabling the identification of more appropriate hyperparameters. The optimal TSPSO-ResNet-50 model achieves a recognition accuracy of 92.31% on the test set. The modeling strategy that combines image information with optimization models is well-suited for identifying the quality grades of tea.</p></div>","PeriodicalId":631,"journal":{"name":"Journal of Food Measurement and Characterization","volume":"18 11","pages":"9098 - 9112"},"PeriodicalIF":2.9000,"publicationDate":"2024-09-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Measurement and Characterization","FirstCategoryId":"97","ListUrlMain":"https://link.springer.com/article/10.1007/s11694-024-02862-7","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

To achieve efficient classification of tea quality grades, spatial information from hyperspectral imaging (HSI) technology is proposed as the research focus. The principal component analysis (PCA) method is employed to extract the first three principal component images of tea spectral images, and the PCDS1 and PCDS3 datasets are constructed based on the individual principal component images and the combination of all three principal component images, respectively. Discriminative models for tea quality grades are established using ResNet-50. Without the use of enhancement strategies, the discriminative models established using the PCDS3 dataset achieve better recognition performance, indicating that the strategy of integrating spatial information features contributes to improving model performance. In the case of small sample sizes, transfer learning strategies and image enhancement strategies are employed to enhance model accuracy. The ResNet-50 model using transfer learning strategies exhibits superior performance, achieving a recognition accuracy of 86.15%. To further improve the model’s performance, the particle swarm optimization (PSO) algorithm is utilized to optimize hyperparameters, resulting in an improved model accuracy of 89.23%. Addressing the issue of the PSO algorithm easily falling into local optima, we propose a Two-Strategy Particle Swarm Optimization (TSPSO) algorithm. Experimental results demonstrate that TSPSO significantly outperforms PSO, enabling the identification of more appropriate hyperparameters. The optimal TSPSO-ResNet-50 model achieves a recognition accuracy of 92.31% on the test set. The modeling strategy that combines image information with optimization models is well-suited for identifying the quality grades of tea.

Abstract Image

基于高光谱成像空间信息和优化模型的茶叶质量等级分类
为实现茶叶质量等级的高效分类,提出将高光谱成像(HSI)技术的空间信息作为研究重点。采用主成分分析(PCA)方法提取茶叶光谱图像的前三个主成分图像,并分别基于单个主成分图像和所有三个主成分图像的组合构建 PCDS1 和 PCDS3 数据集。利用 ResNet-50 建立了茶叶质量等级的判别模型。在不使用增强策略的情况下,使用 PCDS3 数据集建立的判别模型获得了更好的识别性能,这表明整合空间信息特征的策略有助于提高模型性能。在样本量较小的情况下,采用迁移学习策略和图像增强策略可以提高模型的准确性。采用迁移学习策略的 ResNet-50 模型表现优异,识别准确率达到 86.15%。为了进一步提高模型的性能,采用了粒子群优化(PSO)算法来优化超参数,结果模型的准确率提高了 89.23%。针对 PSO 算法容易陷入局部最优的问题,我们提出了双策略粒子群优化(TSPSO)算法。实验结果表明,TSPSO 的性能明显优于 PSO,能识别出更合适的超参数。最佳 TSPSO-ResNet-50 模型在测试集上的识别准确率达到 92.31%。将图像信息与优化模型相结合的建模策略非常适合识别茶叶的质量等级。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Food Measurement and Characterization
Journal of Food Measurement and Characterization Agricultural and Biological Sciences-Food Science
CiteScore
6.00
自引率
11.80%
发文量
425
期刊介绍: This interdisciplinary journal publishes new measurement results, characteristic properties, differentiating patterns, measurement methods and procedures for such purposes as food process innovation, product development, quality control, and safety assurance. The journal encompasses all topics related to food property measurement and characterization, including all types of measured properties of food and food materials, features and patterns, measurement principles and techniques, development and evaluation of technologies, novel uses and applications, and industrial implementation of systems and procedures.
×
引用
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学术官方微信