Gu Yuqi, Wu Jianhua, Guo Yijun, Hu Sheng, Li Kaixuan, Shang Yuqian, Bao Liwei, Hassan Muhammad, Zhao Chao
College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China.
Panzhihua Academy of Agriculture and Forestry Sciences, Panzhihua 617061, China.
Foods. 2024 Oct 20;13(20):3331. doi: 10.3390/foods13203331.
To achieve the rapid grade classification of camellia seed oil, hyperspectral imaging technology was used to acquire hyperspectral images of three distinct grades of camellia seed oil. The spectral and image information collected by the hyperspectral imaging technology was preprocessed by different methods. The characteristic wavelength selection in this study included the continuous projections algorithm (SPA) and competitive adaptive reweighted sampling (CARS), and the gray-level co-occurrence matrix (GLCM) algorithm was used to extract the texture features of camellia seed oil at the characteristic wavelength. Combined with genetic algorithm (GA) and support vector machine algorithm (SVM), different grade classification models for camellia seed oil were developed using full wavelengths (GA-SVM), characteristic wavelengths (CARS-GA-SVM), and fusing spectral and image features (CARS-GLCM-GA-SVM). The results show that the CARS-GLCM-GA-SVM model, which combined spectral and image information, had the best classification effect, and the accuracy of the calibration set and prediction set of the CARS-GLCM-GA-SVM model were 98.30% and 96.61%, respectively. Compared with the CARS-GA-SVM model, the accuracy of the calibration set and prediction set were improved by 10.75% and 12.04%, respectively. Compared with the GA-SVM model, the accuracy of the calibration set and prediction set were improved by 18.28% and 18.15%, respectively. The research showed that hyperspectral imaging technology can rapidly classify camellia seed oil grades.
为实现山茶籽油的快速等级分类,采用高光谱成像技术采集了三种不同等级山茶籽油的高光谱图像。对高光谱成像技术采集到的光谱和图像信息采用不同方法进行预处理。本研究中的特征波长选择包括连续投影算法(SPA)和竞争性自适应重加权采样(CARS),并利用灰度共生矩阵(GLCM)算法提取特征波长下山茶籽油的纹理特征。结合遗传算法(GA)和支持向量机算法(SVM),利用全波长(GA-SVM)、特征波长(CARS-GA-SVM)以及融合光谱和图像特征(CARS-GLCM-GA-SVM)建立了不同的山茶籽油等级分类模型。结果表明,融合光谱和图像信息的CARS-GLCM-GA-SVM模型分类效果最佳,其校正集和预测集的准确率分别为98.30%和96.61%。与CARS-GA-SVM模型相比,校正集和预测集的准确率分别提高了10.75%和12.04%。与GA-SVM模型相比,校正集和预测集的准确率分别提高了18.28%和18.15%。研究表明,高光谱成像技术能够快速对山茶籽油等级进行分类。