本平台为互联网非涉密平台,严禁处理、传输国家秘密、工作秘密或敏感信息

基于Softmax回归的梨高光谱成像分类方法
CSTR:
作者:
作者单位:

作者简介:

桑丽婷(1999-),女,硕士研究生,研究方向:近红外高光谱成像技术,E-mail:ting121501@163.com 通讯作者:蒙庆华(1970-),女,博士,教授,研究方向:MEMS红外传感技术,E-mail:mqhgx@163.com

通讯作者:

中图分类号:

基金项目:

国家青年科学基金项目(42201420);广西高等教育本科教学改革工程项目(2025JGB288);中央专项彩票公益金-南宁师范大学2025年创新创业教育专项课题(2025SCKT03);广西高校中青年教师科研基础能力提升项目(2023KY0391);广西科技基地和人才专项(桂科AD20238059);广西普通本科高校示范性现代产业学院-南宁师范大学智慧物流产业学院建设项目示范性现代产业学院项目(6020303891823)


Hyperspectral Imaging-based Classification of Pear Varieties Using Softmax Regression
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为了实现梨品种的无损分类,该研究基于高光谱成像技术建立翠玉梨、雪花梨和库尔勒梨分类模型。该研究使用近红外高光谱成像系统(400~1 000 nm),采集三种梨各150个样本的高光谱图像数据。使用多种预处理方法消除无关信息,再结合主成分分析法(Principal Components Analysis, PCA),选取前五个主成分(累计贡献率达到99.42%及以上),最后利用Softmax回归进行分类。利用Matlab自带的randperm函数将PCA处理后的数据随机打乱,选择每种梨60%的样本数据作为训练集,20%的样本数据作为验证集,20%的样本数据作为测试集。基于测试集数据在分类模型中的结果,并结合损失函数曲线的收敛速度和混淆矩阵的准确率评估不同分类模型的优劣。多元散射校正(Multiplicative Scatter Correction, MSC)预处理结合PCA主成分分析后的数据在Softmax回归模型中分类表现最好,测试集正确率达到98.87%,损失函数曲线损失值为0.12。该研究可以准确实现三种梨的品种区分,为梨的智能分选提供了可靠技术方案,为开发基于高光谱成像的便携式梨品种分类产品提供了理论基础。

    Abstract:

    To achieve the nondestructive classification of pear varieties, this study established classification models based on hyperspectral imaging technology to distinguish Cuiyu, Xuehua, and Korla pears. Hyperspectral image data were collected from 150 samples of each pear variety using a near-infrared hyperspectral imaging system (400~1 000 nm). Various preprocessing methods were applied to eliminate irrelevant information, followed by principal component analysis (PCA), and the first five principal components, with a cumulative contribution rate of 99.42% or higher, were selected. Finally, classification was performed using softmax regression. The PCA-processed data were randomly shuffled using the built-in randperm function in MATLAB. Subsequently, 60% of the samples from each pear variety were used as the training set, 20% as the validation set, and 20% as the test set. Different classification models were evaluated using the test set results. Evaluation metrics included both the convergence speed of the loss function curve and the accuracy derived from the confusion matrix. The softmax regression model achieved the best classification performance using data preprocessed by multiplicative scatter correction (MSC) combined with PCA, yielding a test accuracy of 98.87% and a loss value of 0.12. The three pear varieties were accurately differentiated, providing a reliable technical solution for the intelligent sorting of pears. This study also provides a theoretical basis for developing portable pear variety classification devices based on hyperspectral imaging.

    参考文献
    相似文献
    引证文献
引用本文

桑丽婷,蒙庆华,吴哲锋,陈颖杰,全海林,屈菱亮,黄玉清,李钰.基于Softmax回归的梨高光谱成像分类方法[J].现代食品科技,2026,42(9):300-307.

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-07-04
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-10-10
  • 出版日期:
文章二维码