非接触电导检测土壤养分离子的谱峰自动识别方法OACSTPCD
Automatic Identification Method for Spectral Peaks of Soil Nutrient Ions Using Contactless Conductivity Detection
[目的/意义]电容耦合非接触式电导检测(Capacitively Coupled Contactless Conductivity Detection,C4D)在农业土壤养分离子检测方面发挥着重要作用.对C4D信号中离子特征峰的有效识别,有利于后续对离子特征峰的定性和定量分析,为加强农业土壤养分管理提供依据.然而,C4D信号的特征峰检测仍然存在无法自动精准识别、人工操作复杂、效率低等缺点.[方法]提出一种基于连续小波变换结合粒子群优化(Particle Swarm Optimi-zation,PSO)和最大类间方差法(Otsu)的谱峰自动识别算法,旨在实现准确、高效、自动化的C4D信号峰识别.采用C4D检测样品溶液,得到离子谱图信号,对谱图信号进行连续小波变换,得到小波变换系数矩阵.通过搜索小波系数变换系数矩阵极值,识别出脊线和谷线.将小波系数矩阵转换为灰度图像,结合PSO和Otsu寻找最佳阈值,进一步对灰度图像的背景和目标分割,再结合原始谱图中的脊谷线识别谱图中的特征峰.[结果与讨论]测试含有41、61和102个峰的数据集,以受试者工作特性(Receiver Operating Characteristic,ROC)曲线和度量值作为评估峰值检测算法性能的准则.与其他方法相比,基于连续小波变换结合粒子群优化的最大类间方差法分割图像(Continuous Wavelet Transform Combined with Particle Swarm Optimization of Otsu to Segment Image,CWTSPSO)的谱峰自动识别算法的ROC曲线均保持在0.9以上,度量值分别为0.976、0.915和0.969.CWTSPSO能够有效检测出更多弱峰和重叠峰,同时检测出更少的假峰,有利于提升C4D信号的谱峰识别率和精准性.[结论]本研究提出的CWTSPSO能为非接触式电导检测农业土壤养分离子信号分析提供有力支持.
[Objective]Capacitive coupled contactless conductivity detection(C4D)plays an important role in agricultural soil nutrient ion detec-tion.Effective identification of characteristic ion peaks in C4D signals is conducive to subsequent qualitative and quantitative analysis of characteristic ion peaks,which provides a basis for improving agricultural soil nutrient management.However,the detection of characteristic peaks in C4D signals still has shortcomings,such as the inability of automatic and accurate identification,complicated manual operation,and low efficiency. [Methods]In this study,an automatic spectral peak identification algorithm based on continuous wavelet transform combined with par-ticle swarm optimization(PSO)and maximum interclass variance method(Otsu)was proposed to achieve accurate,efficient and auto-mated identification of C4D signal peaks.Capillary electrophoresis(CE)combined with a C4D device(CE-C4D)was used to detect the standard ions and soil sample solutions to obtain the C4D ion signal spectra,which were simulated according to the characteristics of the real C4D signal spectra to obtain the C4D simulated signals containing single Gaussian peaks and multi-Gaussian peaks.The contin-uous wavelet transform was performed on the C4D spectrogram signal to obtain the wavelet transform coefficient matrix.The local maxima and local minima of the continuous wavelet transform coefficient matrix were searched by the staircase scanning method,and the local maxima and local minima were connected to form ridges and valleys.The wavelet coefficient matrix was converted to a gray-scale image by logistic mapping to visualize the data.The number of particle populations in PSO was set to 15,the gray scale thresh-old of 15 particles was set to a random integer within the gray scale level of 0~255,and the initial velocity of the particles was set to 5.The combination of PSO and Otsu calculated the fitness(variance value)of each particle,updated the individual best position and the global best position,further updated the velocities and positions of the particles to find the global best position(the maximum inter-class variance),and defined the maximum interclass variance was defined as the optimal threshold value,used the optimal threshold value for background and target segmentation of the gray-scale image and extracted the ridges within the peak region segmented from the gray-scale image by the PSO-Otsu algorithm.A threshold was set according to the length of the ridge line;the ridge lines larger than the threshold were extracted;the valley lines on both sides of the ridge line were found according to the filtered ridge line;and the start and end points of the peak region were obtained from the valley lines.The filtered ridge lines were used to identify the peak location of the peak region,and the edge threshold was set to remove the false peaks due to continuous wavelet transform(CWT)lo-cated in the edge region of the C4D signal and to accurately identify the location of the true peak value. [Results and Discussions]The datasets containing 41,61 and 102 peaks were tested,and the Receiver Operating Characteristic(ROC)curves and metric values were used as a guideline to evaluate the performance of the peak detection algorithms.Compared to the two methods,multi scale peak detection(MSPD)and CWT-based image segmentation(CWT-IS),the CWT combined with Particle Swarm Optimization based maximum spectral peaks automatic identification algorithm based on Continuous Wavelet Transform combined with Particle Swarm Optimization of Otsu to segment image(CWTSPSO)method of interclass variance segmentation(CWT-IS),the ROC curves of the three groups remained above 0.9.Testing the dataset containing 102 peaks,the ROC curves of MSPD and CWT-IS were also high only in the case of high false discovery rate.The highest metric values of CWTSPSO were 0.976,0.915,and 0.969,re-spectively,and the highest metric values of 1 set of MSPD and CWT-IS were 0.754 and 0.505.The results showed that the ROC curves of CWTSPSO in the 3 sets of dataset were not high.Using ROC curves and metric values as a criterion comparison to evaluate the performance of peak detection algorithms,the characteristic peak recognition performance was outstanding,which could achieve a higher correct rate while maintaining a lower false discovery rate,effectively detected more weak and overlapping peaks while detect-ing fewer false peaks,which was conducive to the enhancement of the spectral peak recognition rate and accuracy of the C4D signals. [Conclusions]This study provided a fast and accurate method for the identification of characteristic peaks in the spectrograms of ion signals detected by contactless conductivity,CWTSPSO could accurately identify the weak and overlapping peaks in the spectrograms of ion signals detected by contactless conductivity.The automatic identification algorithm of the spectrogram peaks of CWTSPSO would provide powerful support for the characterization and quantification of the signals of nutrient ions detected by contactless con-ductivity in agricultural soils and would further strengthen the precision of soil fertilization and crop growth management fertilization and crop growth management.
唐超礼;李浩;王儒敬;王乐;黄青;王大朋;张家宝;陈翔宇
安徽理工大学 电气与信息工程学院,安徽淮南 232001,中国安徽理工大学 电气与信息工程学院,安徽淮南 232001,中国||中科合肥智慧农业协同创新研究院,农业传感器与智能感知安徽省技术创新中心,安徽合肥 231131,中国中国科学院合肥物质科学研究院,智能机械研究所,安徽省智慧农业工程实验室,安徽合肥 230031,中国||中科合肥智慧农业协同创新研究院,农业传感器与智能感知安徽省技术创新中心,安徽合肥 231131,中国中国科学院合肥物质科学研究院,智能机械研究所,安徽省智慧农业工程实验室,安徽合肥 230031,中国||中科合肥智慧农业协同创新研究院,农业传感器与智能感知安徽省技术创新中心,安徽合肥 231131,中国||中国科学技术大学,安徽合肥 230026,中国中科合肥智慧农业协同创新研究院,农业传感器与智能感知安徽省技术创新中心,安徽合肥 231131,中国
化学
非接触式电导检测连续小波变换粒子群优化算法最大类间方差法谱峰识别
contactless conductivity detectioncontinuous wavelet transformparticle swarm optimization algorithmOtsu algorithmpeak identification
《智慧农业(中英文)》 2024 (001)
36-45 / 10
国家重点研发计划项目(2023YFD1701800,2021YFD2000204,2023YFD1702104);国家自然科学基金项目(12304236,32301688);安徽省自然科学基金项目(2308085QA19,1908085QE202);安徽省科技特派团项目(S2022t06010123);中国科学院合肥物质科学研究院院长基金(YZJJ2024QN38) National Key Research and Development Program of China(2023YFD1701800,2021YFD2000204,2023YFD1702104);National Natural Science Foundation of China(12304236,32301688);Anhui Provincial Natural Science Founda-tion(2308085QA19,1908085QE202);Scientific and Technological Resources in Anhui Province(S2022t06010123);The Dean Foun-dation of Hefei Institutes of Physical Science,Chinese Academy of Sciences(YZJJ2024QN38)
评论