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

基于高光谱成像与优化ResTCN模型的片烟霉变检测方法

Mildew detection method for tobacco strips based on hyperspectral imaging and an optimized ResTCN model

  • 摘要: 针对片烟仓储过程易发生霉变,以及光谱响应易受样品散射和测量噪声干扰的问题,提出了一种基于高光谱成像与优化残差一维卷积网络(Residual Temporal Convolutional Network,ResTCN)的片烟霉变状态识别方法。采集8个年份-产地批次共960片片烟,获取霉变培养前后片烟样品的高光谱图像;采用多元散射校正(MSC)和逐波段标准化(StandardScaler)对光谱数据进行预处理,并仅对训练集的光谱数据实施幅值缩放、基线偏移和高斯噪声联合扩增。在此基础上,构建由Stem卷积层和4个残差扩张卷积块组成的优化ResTCN模型。结果表明:①优化ResTCN模型的准确率、精确率、召回率、F1分数和AUC分别为97.06%、96.59%、97.79%、97.09%和99.47%,表明该模型在区分健康/霉变片烟样品方面表现较好;②优化ResTCN模型的ROC曲线整体更接近左上角,且霉变样品的预测概率主要集中于1.0附近,健康样品的预测概率主要集中于0附近,表明该模型对健康与霉变片烟样品具有较好的区分度;③窗口遮挡分析表明,596~606 nm和626~651 nm是片烟状态识别的重要判别区间,遮挡596~606 nm波段后,优化ResTCN模型的ΔAUC相对较大。该研究表明优化ResTCN模型能够较好地区分培养前健康片烟与培养后霉变片烟,可为片烟霉变光谱识别及关键波长筛选提供方法参考。

     

    Abstract: To address the susceptibility of tobacco strips to mildew during storage and the interference of sample scattering and measurement noise with spectral responses, a method based on hyperspectral imaging and an optimized residual temporal convolutional network (ResTCN) was proposed for identifying the mildew status of tobacco strips. A total of 960 tobacco strips from eight batches defined by production year and geographical origin were collected, and hyperspectral images were acquired before and after mildew incubation. Multiplicative scatter correction (MSC) and band-wise standardization (StandardScaler) were applied to preprocess the spectral data, and combined data augmentation using amplitude scaling, baseline shifting, and Gaussian noise injection was performed exclusively on the training spectra. An optimized ResTCN model comprising a stem convolutional layer and four residual dilated convolutional blocks was then constructed. The results showed that: 1) the optimized ResTCN model achieved an accuracy, precision, recall, F1-score, and AUC of 97.06%, 96.59%, 97.79%, 97.09%, and 99.47%, respectively, indicating good performance in distinguishing healthy from mildewed tobacco strips; 2) the ROC curve of the optimized ResTCN model was generally closer to the upper-left corner, and the predicted probabilities of mildew were concentrated near 1.0 for mildewed samples and near 0 for healthy samples, indicating good discrimination between the two classes; 3) wavelength-window occlusion analysis identified 596-606 nm and 626-651 nm as important discriminative regions for identifying the mildew status of tobacco strips, with occlusion of the 596-606 nm region resulting in a relatively large decrease in AUC (ΔAUC) for the optimized ResTCN model. These findings demonstrate that the optimized ResTCN model can effectively distinguish healthy tobacco strips before incubation from mildewed tobacco strips after incubation, providing a methodological reference for spectral identification of mildew in tobacco strips and key wavelength selection.

     

/

返回文章
返回