-
基线校正是拉曼光谱数据预处理的关键步骤之一, 是消除荧光干扰的有效方法. 传统的多项式拟合和均匀B样条拟合算法原理简单、易于实现, 但拟合阶数和内节点的不确定性限制了其灵活性. 因此, 本文提出了一种基于中值滤波和非均匀B样条的拉曼光谱基线校正算法. 该算法首先通过平滑预处理、差分计算和设置阈值筛选波谷点, 并根据光谱数据的波谷位置自适应地选择非均匀B样条的内节点; 接着利用中值滤波算法对光谱数据进行处理, 使非均匀B样条算法能够更好地拟合基线. 该算法克服了传统B样条算法需要根据不同的拉曼光谱手动选择内节点的缺点, 同时避免了光谱数据中的随机噪声对基线拟合的影响, 且进一步提高了光谱基线校正效果. 实验结果表明, 该算法能较好地消除拉曼信号基线漂移, 且不存在过拟合和欠拟合现象. 因此, 该算法可以为光谱数据的进一步分析提供更准确、可靠的信息.As one of the key steps for data preprocessing of Raman spectra, baseline correction is an effective method to eliminate fluorescence interference. Traditional algorithms such as polynomial fitting and uniform B-spline fitting are simple and easy to implement, but the uncertain fitting order and internal knots limit their flexibility. In addition, the baseline correction results of traditional algorithms often occur over and under fitting phenomena. Therefore, we propose a baseline correction algorithm for Raman spectra based on median filtering and un-uniform B-spline. Firstly, the trough points of the spectral data are filtered by smoothing preprocess, difference calculation and threshold setting, and the internal knots of the un-uniform B-spline are adaptively selected by the trough positions of the spectral data. Then, the median filtering algorithm is used to process the spectral data so that the un-uniform B-spline has a better baseline fitting effect at the position where the signal changes from peak to smooth band. Finally, the un-uniform B-splines is used to fit the baseline by fitting the baseline iteratively. The proposed algorithm overcomes the shortcoming of traditional B-spline algorithm that the internal knots need to be selected manually based on different Raman spectra, and also avoids influencing the baseline fitting by random noise in the spectral data, and thus further improving the spectral baseline correction effect. The original Raman spectra of polymethyl methacrylate and normal octane are used for experimentally evaluating the baseline correction effect. Compared with the results from polynomial fitting, uniform B-spline and adaptive iteratively reweighted penalized least squares algorithms, the experimental results show that the proposed algorithm can well eliminate the Raman signal baseline drift effectively without over or under fitting phenomena, and it can perform better baseline correction for different baseline drift situations. Therefore, the proposed algorithm can provide more accurate and reliable information for the further analysis of spectral data.
-
Keywords:
- baseline correction /
- Raman spectrum /
- un-uniform B-spline /
- median filtering /
- adaptive knots
[1] Raman C V 1928 Nature 121 619
[2] Morris M D 2006 Anal. Chem. 78 33Google Scholar
[3] Geiman I, Leona M, Lombardi J R 2009 J. Forensic Sci. 54 947Google Scholar
[4] Liu H, Zhang Z L, Liu S Y, Yan L X, Liu T T, Zhang T X 2015 Appl. Spectrosc. 69 1013Google Scholar
[5] Cadusch P J, Hlaing M M, Wade S A, Mcarthur S L 2013 J. Raman Spectrosc. 44 1587Google Scholar
[6] 张锐, 赵学玒, 胡雅君, 郭媛, 王喆, 赵迎, 李子晓, 汪曣 2014 63 070702Google Scholar
Zhang R, Zhao X H, Hu Y J, Guo Y, Wang Z, Zhao Y, Li Z X, Wang Y 2014 Acta Phys. Sin. 63 070702Google Scholar
[7] 庞宇, 邓璐, 林金朝, 李章勇, 周前能, 李国权, 黄华伟, 张懿, 吴炜 2014 63 098701Google Scholar
Pang Y, Deng L, Lin J Z, Li Z Y, Zhou Q N, Li G Q, Huang H W, Zhang Y, Wu W 2014 Acta Phys. Sin. 63 098701Google Scholar
[8] Perez-Pueyo R, Soneira M J 2010 Appl. Spectrosc. 64 595Google Scholar
[9] Shao L M, Griffiths P 2007 Environ. Sci. Technol. 41 7054Google Scholar
[10] Zhao J H, Lui H, Mclean D I, Zeng H S 2007 Appl. Spectrosc. 61 1225Google Scholar
[11] Wang W P, Pottmann H, Liu Y 2006 ACM Graphic. 25 214Google Scholar
[12] Cai Y Y, Yang C H, Xu D G, Gui W H 2018 Anal. Methods. 10 3525Google Scholar
[13] Zhang Z M, Chen S, Liang Y Z 2010 J. Raman Spectrosc. 41 659Google Scholar
[14] 范贤光, 王海涛, 王昕, 许英杰, 王秀芬, 阙靖 2016 光谱学与光谱分析 36 724
Fan X G, Wang H T, Wang X, Xu Y J, Wang X F, Que J 2016 Spectrosc. Spec. Anal. 36 724
[15] Martin T, Cohen E, Kirby R M 2009 Comput. Aided Geom. D. 26 648Google Scholar
[16] Wang X, Fan X G, Xu Y J 2015 Meas. Sci. Technol. 26 115503Google Scholar
[17] 王昕, 范贤光, 许英杰, 吴景林, 梁骏, 左勇 2014 光谱学与光谱分析 34 2117Google Scholar
Wang X, Fan X G, Xu Y J, Wu J L, Lian J, Zuo Y 2014 Spectrosc. Spec. Anal. 34 2117Google Scholar
[18] 卢德俊, 爨凯旋, 张伟峰 2018 光谱学与光谱分析 38 3708
Lu J D, Cuan K X, Zhang W F 2018 Spectrosc. Spec. Anal. 38 3708
[19] Juhola M, Katajainen J, Raita T 1991 IEEE T. on Signal Proces. 39 204Google Scholar
[20] Zhang Z M, Chen S, Liang Y Z 2010 Analyst 135 1138Google Scholar
-
-
[1] Raman C V 1928 Nature 121 619
[2] Morris M D 2006 Anal. Chem. 78 33Google Scholar
[3] Geiman I, Leona M, Lombardi J R 2009 J. Forensic Sci. 54 947Google Scholar
[4] Liu H, Zhang Z L, Liu S Y, Yan L X, Liu T T, Zhang T X 2015 Appl. Spectrosc. 69 1013Google Scholar
[5] Cadusch P J, Hlaing M M, Wade S A, Mcarthur S L 2013 J. Raman Spectrosc. 44 1587Google Scholar
[6] 张锐, 赵学玒, 胡雅君, 郭媛, 王喆, 赵迎, 李子晓, 汪曣 2014 63 070702Google Scholar
Zhang R, Zhao X H, Hu Y J, Guo Y, Wang Z, Zhao Y, Li Z X, Wang Y 2014 Acta Phys. Sin. 63 070702Google Scholar
[7] 庞宇, 邓璐, 林金朝, 李章勇, 周前能, 李国权, 黄华伟, 张懿, 吴炜 2014 63 098701Google Scholar
Pang Y, Deng L, Lin J Z, Li Z Y, Zhou Q N, Li G Q, Huang H W, Zhang Y, Wu W 2014 Acta Phys. Sin. 63 098701Google Scholar
[8] Perez-Pueyo R, Soneira M J 2010 Appl. Spectrosc. 64 595Google Scholar
[9] Shao L M, Griffiths P 2007 Environ. Sci. Technol. 41 7054Google Scholar
[10] Zhao J H, Lui H, Mclean D I, Zeng H S 2007 Appl. Spectrosc. 61 1225Google Scholar
[11] Wang W P, Pottmann H, Liu Y 2006 ACM Graphic. 25 214Google Scholar
[12] Cai Y Y, Yang C H, Xu D G, Gui W H 2018 Anal. Methods. 10 3525Google Scholar
[13] Zhang Z M, Chen S, Liang Y Z 2010 J. Raman Spectrosc. 41 659Google Scholar
[14] 范贤光, 王海涛, 王昕, 许英杰, 王秀芬, 阙靖 2016 光谱学与光谱分析 36 724
Fan X G, Wang H T, Wang X, Xu Y J, Wang X F, Que J 2016 Spectrosc. Spec. Anal. 36 724
[15] Martin T, Cohen E, Kirby R M 2009 Comput. Aided Geom. D. 26 648Google Scholar
[16] Wang X, Fan X G, Xu Y J 2015 Meas. Sci. Technol. 26 115503Google Scholar
[17] 王昕, 范贤光, 许英杰, 吴景林, 梁骏, 左勇 2014 光谱学与光谱分析 34 2117Google Scholar
Wang X, Fan X G, Xu Y J, Wu J L, Lian J, Zuo Y 2014 Spectrosc. Spec. Anal. 34 2117Google Scholar
[18] 卢德俊, 爨凯旋, 张伟峰 2018 光谱学与光谱分析 38 3708
Lu J D, Cuan K X, Zhang W F 2018 Spectrosc. Spec. Anal. 38 3708
[19] Juhola M, Katajainen J, Raita T 1991 IEEE T. on Signal Proces. 39 204Google Scholar
[20] Zhang Z M, Chen S, Liang Y Z 2010 Analyst 135 1138Google Scholar
计量
- 文章访问数: 10644
- PDF下载量: 164
- 被引次数: 0