Locally Dynamically Moving Average Algorithm for the Fully Automated Baseline Correction of Raman Spectrum
GAO Peng-fei1, YANG Rui1, 2, JI Jiang1, GUO Han-ming1*, HU Qi1, ZHUANG Song-lin1
1. Shanghai Key Lab of Modern Optical System, and Engineering Research Center of Optical Instrument and System, Ministry of Education, School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China 2. Department of Medical Imaging Engineering, Shanghai Medical Instrumentation College, Shanghai 200093, China
Abstract:The baseline correction is an extremely important spectral preprocessing step and can significantly improve the accuracy of the subsequent spectral analysis algorithm. At present most of the baseline correction algorithms are manual and semi-automated. The manual baseline correction depends on the user experience and its accuracy is greatly affected by the subjective factor. The semi-automated baseline correction needs to set different optimizing parameters for different Raman spectra, which will be inconvenient to users. In this paper, a locally dynamically moving average algorithm (LDMA) for the fully automated baseline correction is presented and its basic ideas and steps are demonstrated in detail. In the LDMA algorithm the modified moving averaging algorithm (MMA) is used to strip the Raman peaks. By automatically finding the baseline subintervals of the raw Raman spectrum to divide the total spectrum range into multi Raman peak subintervals, the LDMA algorithm succeed in dynamically changing the window half width of the MMA algorithm and controlling the numbers of the smoothing iterations in each Raman peak subinterval. Hence, the phenomena of overcorrection and under-correction are avoided to the most degree. The LDMA algorithm has achieved great effect not only to the synthetic Raman spectra with the convex, exponential, or sigmoidal baseline but also to the real Raman spectra.
Key words:Raman spectrum;Baseline correction;Spectrum smoothing;Window average
[1] CHEN Shan, LI Xiao-ning, LIANG Yi-zeng, et al(陈 珊,李晓宁,梁逸曾,等). Spectroscopy and Spectral Analysis(光谱学与光谱分析),2010,30(8):2157. [2] Urbas A A,Choquette S J. Applied Spectroscopy, 2011, 65(6): 665. [3] Rowlands C, Elliott S. Journal of Raman Spectroscopy, 2011, 42: 363. [4] Kosec M, Bürmen M, Tomaevi D, et al. Applied Spectroscopy, 2012, 66(10): 1128. [5] Zhang Zhimin, Chen Shan,Liang Yizeng. Analyst, 2010, 135: 1138. [6] Baek S, Park A, Shen A, et al. Journal of Raman Spectroscopy, 2011, 42: 1987. [7] Schulze H G, Foist R B, Okuda K, et al. Applied Spectroscopy, 2012, 66(7): 757. [8] Prakash B D and Wei Y C. Analyst, 2011, 136: 3130. [9] Krishna H, Majumder S K, Gupta P K. Journal of Raman Spectroscopy, 2012, 43: 1884.