Guannan Wang , Na Wang , Ying Dong , Jinming Liu , Peng Gao , Rui Hou
{"title":"Rapid non-destructive identification of blueberry origin based on near infrared spectroscopy combined with wavelength selection","authors":"Guannan Wang , Na Wang , Ying Dong , Jinming Liu , Peng Gao , Rui Hou","doi":"10.1016/j.infrared.2024.105688","DOIUrl":null,"url":null,"abstract":"<div><div>To realize the nondestructive identification of blueberry origin, near-infrared spectroscopy was used to obtain the original spectral data of blueberry. Given the problems of spectral bandwidth, severe overlap, and complicated information analysis in the collection of near-infrared spectral data, we integrated successive projection algorithm (SPA) and sparrow search algorithm (SSA) with partial least squares regression (PLS) and support vector machine (SVM), respectively, resulting in the construction of two wavelength selection (WS) models: SPA-PLS and SSA-SVM for WS from blueberry spectral data, 30 and 148 wavelength variables were selected respectively. To further enhance the accuracy of blueberry origin identification, we incorporated SSA into both Optimal Latin hypercube idea and Osprey algorithm, creating a multi-strategy hybrid sparrow search algorithm (ZOSSA). This approach reduced the number of selected wavelengths from 148 to 36. Using wavelengths selected from three different techniques as input subsets, a blueberry origin recognition model is constructed by placing them separately into a support vector machine. The experimental results prove that the performance of the wavelength-optimized model is higher than that of the full spectra performance, and the wavelength variables screened by ZOSSA have the best effect. The wavelength variables identified by ZOSSA exhibit superior performance with an accuracy rate of 96.21%, precision rate of 95.12 %, recall rate of 94.78 %, and F1 score of 94.94 % on the test set; surpassing those obtained using SPA (89.39 %, 87.43 %, 88.72 %, and 88.08 %) as well as SSA (90.15 %, 87.90 %, 88.16 %, and 88.02 %). The method strikes a balance between selecting an appropriate number of wavelengths while maintaining high model performance levels; thus meeting requirements for fast, accurate, nondestructive origin identification not only for blueberries but also providing novel insights for identifying origins in other agricultural products.</div></div>","PeriodicalId":13549,"journal":{"name":"Infrared Physics & Technology","volume":"145 ","pages":"Article 105688"},"PeriodicalIF":3.4000,"publicationDate":"2025-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Infrared Physics & Technology","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1350449524005723","RegionNum":3,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2024/12/24 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"INSTRUMENTS & INSTRUMENTATION","Score":null,"Total":0}
引用次数: 0
Abstract
To realize the nondestructive identification of blueberry origin, near-infrared spectroscopy was used to obtain the original spectral data of blueberry. Given the problems of spectral bandwidth, severe overlap, and complicated information analysis in the collection of near-infrared spectral data, we integrated successive projection algorithm (SPA) and sparrow search algorithm (SSA) with partial least squares regression (PLS) and support vector machine (SVM), respectively, resulting in the construction of two wavelength selection (WS) models: SPA-PLS and SSA-SVM for WS from blueberry spectral data, 30 and 148 wavelength variables were selected respectively. To further enhance the accuracy of blueberry origin identification, we incorporated SSA into both Optimal Latin hypercube idea and Osprey algorithm, creating a multi-strategy hybrid sparrow search algorithm (ZOSSA). This approach reduced the number of selected wavelengths from 148 to 36. Using wavelengths selected from three different techniques as input subsets, a blueberry origin recognition model is constructed by placing them separately into a support vector machine. The experimental results prove that the performance of the wavelength-optimized model is higher than that of the full spectra performance, and the wavelength variables screened by ZOSSA have the best effect. The wavelength variables identified by ZOSSA exhibit superior performance with an accuracy rate of 96.21%, precision rate of 95.12 %, recall rate of 94.78 %, and F1 score of 94.94 % on the test set; surpassing those obtained using SPA (89.39 %, 87.43 %, 88.72 %, and 88.08 %) as well as SSA (90.15 %, 87.90 %, 88.16 %, and 88.02 %). The method strikes a balance between selecting an appropriate number of wavelengths while maintaining high model performance levels; thus meeting requirements for fast, accurate, nondestructive origin identification not only for blueberries but also providing novel insights for identifying origins in other agricultural products.
为了实现蓝莓产地的无损鉴定,采用近红外光谱法获取蓝莓的原始光谱数据。针对近红外光谱数据采集中存在的光谱带宽大、重叠严重、信息分析复杂等问题,分别将逐次投影算法(SPA)和麻雀搜索算法(SSA)与偏最小二乘回归(PLS)和支持向量机(SVM)相结合,构建了两种波长选择(WS)模型:从蓝莓光谱数据中分别选取30个和148个波长变量的SPA-PLS和SSA-SVM进行WS分析。为了进一步提高蓝莓产地识别的准确性,我们将SSA算法与Optimal Latin hypercube思想和Osprey算法相结合,建立了一种多策略混合麻雀搜索算法(ZOSSA)。这种方法将所选波长的数量从148个减少到36个。采用从三种不同技术中选择波长作为输入子集,将其分别放入支持向量机中,构建蓝莓原产地识别模型。实验结果表明,波长优化模型的性能高于全光谱模型的性能,且ZOSSA筛选的波长变量效果最好。ZOSSA识别的波长变量在测试集上的准确率为96.21%,准确率为95.12%,召回率为94.78%,F1得分为94.94%;超过了SPA法(89.39%,87.43%,88.72%,88.08%)和SSA法(90.15%,87.90%,88.16%,88.02%)。该方法在选择适当数量的波长同时保持高模型性能水平之间取得平衡;这不仅满足了蓝莓快速、准确、无损原产地鉴定的要求,也为其他农产品的原产地鉴定提供了新的见解。
期刊介绍:
The Journal covers the entire field of infrared physics and technology: theory, experiment, application, devices and instrumentation. Infrared'' is defined as covering the near, mid and far infrared (terahertz) regions from 0.75um (750nm) to 1mm (300GHz.) Submissions in the 300GHz to 100GHz region may be accepted at the editors discretion if their content is relevant to shorter wavelengths. Submissions must be primarily concerned with and directly relevant to this spectral region.
Its core topics can be summarized as the generation, propagation and detection, of infrared radiation; the associated optics, materials and devices; and its use in all fields of science, industry, engineering and medicine.
Infrared techniques occur in many different fields, notably spectroscopy and interferometry; material characterization and processing; atmospheric physics, astronomy and space research. Scientific aspects include lasers, quantum optics, quantum electronics, image processing and semiconductor physics. Some important applications are medical diagnostics and treatment, industrial inspection and environmental monitoring.