基于多特征融合和SVM的玉米幼苗与杂草识别检测
Identification and Detection of Maize Seedlings and Weeds Based on Multi Feature Fusion and SVM
DOI: 10.12677/csa.2024.1412242, PDF,    科研立项经费支持
作者: 沈奇特, 张馨心:三亚学院信息与智能工程学院,海南 三亚;黄寿孟, 黄沁鑫:三亚学院信息与智能工程学院,海南 三亚;三亚学院陈国良院士团队创新中心,海南 三亚;王 磊, 孙晨萌:三亚学院信息与智能工程学院,海南 三亚;三亚学院容淳铭院士工作站,海南 三亚
关键词: 精准施肥多特征融合SVM检测方法Precision Fertilization Multi Feature Fusion SVM Test Method
摘要: 杂草和作物的检测是使用喷洒除草剂机器人进行精确喷洒和田间农业机械精确施肥的关键步骤。基于使用颜色信息和连通区域分析的k-means聚类图像分割,提出了一种结合多特征融合和支持向量机(SVM)的方法来识别和检测玉米幼苗和杂草的位置,以减少杂草对玉米生长的危害,实现精确施肥,从而实现精确除草或施肥。首先建立玉米苗期杂草和玉米幼苗分类的图像数据集;其次提取玉米幼苗和杂草的许多不同特征,并通过主成分分析进行降维,包括定向梯度特征直方图、旋转不变局部二值模式(LBP)特征、HU不变矩特征、Gabor特征、灰度共生矩阵和灰度梯度共生矩阵;然后基于SVM进行分类器训练,得到玉米幼苗和杂草的识别模型,并对单个特征或不同融合策略特征的综合识别性能进行比较和分析,得出最佳特征融合策略;最后利用实际玉米苗期图像,测试所提出的杂草和玉米苗期检测方法的效果。实验结果表明,基于SVM分类器的旋转不变LBP特征和灰度梯度共生矩阵的融合特征组合获得了最高的分类精度,并准确地检测出各种杂草和玉米幼苗。它为喷洒除草剂的机器人提供杂草和作物位置的信息,以实现精确喷洒,或为精确施肥机提供信息,以进行精确施肥。
Abstract: The detection of weeds and crops is a key step in using herbicide spraying robots for precise spraying and precise fertilization of agricultural machinery in the field. Based on the use of color information and connected region analysis in k-means clustering image segmentation, a method combining multi feature fusion and support vector machine (SVM) is proposed to identify and detect the positions of corn seedlings and weeds, in order to reduce the harm of weeds to corn growth, achieve precise fertilization, and thus achieve precise weed control or fertilization. Firstly, establish an image dataset for the classification of weeds and maize seedlings during the maize seedling stage. Secondly, extract many different features of corn seedlings and weeds, and perform dimensionality reduction through principal component analysis, including directional gradient feature histogram, rotation invariant local binary pattern (LBP) feature, HU invariant moment feature, Gabor feature, gray level co-occurrence matrix, and gray level gradient co-occurrence matrix. Then, based on SVM, the classifier is trained to obtain recognition models for corn seedlings and weeds. And compare and analyze the comprehensive recognition performance of individual features or features with different fusion strategies to obtain the optimal feature fusion strategy. Finally, the effectiveness of the proposed weed and maize seedling detection method was tested using actual maize seedling images. The experimental results show that the fusion feature combination of rotation invariant LBP features and gray gradient co-occurrence matrix based on SVM classifier achieves the highest classification accuracy and accurately detects various weeds and corn seedlings. It provides information on weed and crop locations for robots spraying herbicides to achieve precise spraying, or information for precision fertilizing machines to carry out precise fertilization.
文章引用:沈奇特, 黄寿孟, 王磊, 黄沁鑫, 孙晨萌, 张馨心. 基于多特征融合和SVM的玉米幼苗与杂草识别检测[J]. 计算机科学与应用, 2024, 14(12): 76-89. https://doi.org/10.12677/csa.2024.1412242

参考文献

[1] Liakos, K., Busato, P., Moshou, D., Pearson, S. and Bochtis, D. (2018) Machine Learning in Agriculture: A Review. Sensors, 18, Article 2674. [Google Scholar] [CrossRef] [PubMed]
[2] Su, W. (2020) Advanced Machine Learning in Point Spectroscopy, RGB-And Hyperspectral-Imaging for Automatic Discriminations of Crops and Weeds: A Review. Smart Cities, 3, 767-792. [Google Scholar] [CrossRef
[3] Liu, B., Li, R., Li, H., You, G., Yan, S. and Tong, Q. (2019) Crop/weed Discrimination Using a Field Imaging Spectrometer System. Sensors, 19, Article 5154. [Google Scholar] [CrossRef] [PubMed]
[4] SHEN, L. and JI, Z. (2009) Gabor Wavelet Selection and SVM Classification for Object Recognition. Acta Automatica Sinica, 35, 350-355. [Google Scholar] [CrossRef
[5] Kamilaris, A. and Prenafeta-Boldú, F.X. (2018) Deep Learning in Agriculture: A Survey. Computers and Electronics in Agriculture, 147, 70-90. [Google Scholar] [CrossRef
[6] Wong, W.K., Chekima, A., Mariappan, M., Khoo, B. and Nadarajan, M. (2014) Probabilistic Multi SVM Weed Species Classification for Weed Scouting and Selective Spot Weeding. 2014 IEEE International Symposium on Robotics and Manufacturing Automation (ROMA), Kuala Lumpur, 15-16 December 2014, 63-68. [Google Scholar] [CrossRef
[7] Li, X.F., Zhu, W.X., Ji, B. and Liu, B. (2020) Weed Identification Based on Features Optimization and LS-SVM in the Cotton Field. Transactions of the Chinese Society of Agricultural Machinery, 41, 168-172.
[8] Chen, Y.J., Zhao, B., Li, S.J., Liu, L., Yuan, J.W. and Zhang, Y.L. (2015) Weed Reverse Positioning Method and Experiment Based on Multi-Feature. Transactions of the Chinese Society of Agricultural Machinery, 46, 257-262.
[9] Burgos-Artizzu, X.P., Ribeiro, A., Guijarro, M. and Pajares, G. (2011) Real-time Image Processing for Crop/Weed Discrimination in Maize Fields. Computers and Electronics in Agriculture, 75, 337-346. [Google Scholar] [CrossRef
[10] Ishak, A.J., Hussain, A. and Mustafa, M.M. (2009) Weed Image Classification Using Gabor Wavelet and Gradient Field Distribution. Computers and Electronics in Agriculture, 66, 53-61. [Google Scholar] [CrossRef
[11] Naresh, Y.G. and Nagendraswamy, H.S. (2016) Classification of Medicinal Plants: An Approach Using Modified LBP with Symbolic Representation. Neurocomputing, 173, 1789-1797. [Google Scholar] [CrossRef
[12] Nguyen Thanh Le, V., Apopei, B. and Alameh, K. (2019) Effective Plant Discrimination Based on the Combination of Local Binary Pattern Operators and Multiclass Support Vector Machine Methods. Information Processing in Agriculture, 6, 116-131. [Google Scholar] [CrossRef
[13] Ma, Y., Feng, Q., Yang, M. and Li, M.Q. (2016) Wine Grape Leaf Detection Based on HOG. Computer Engineering and Applications, 52, 158-161.
[14] Midtiby, H.S., Åstrand, B., Jørgensen, O. and Jørgensen, R.N. (2016) Upper Limit for Context-Based Crop Classification in Robotic Weeding Applications. Biosystems Engineering, 146, 183-192. [Google Scholar] [CrossRef
[15] Tang, J., Chen, X., Miao, R. and Wang, D. (2016) Weed Detection Using Image Processing under Different Illumination for Site-Specific Areas Spraying. Computers and Electronics in Agriculture, 122, 103-111. [Google Scholar] [CrossRef
[16] Huang, S., Wu, S., Sun, C., Ma, X., Jiang, Y. and Qi, L. (2020) Deep Localization Model for Intra-Row Crop Detection in Paddy Field. Computers and Electronics in Agriculture, 169, Article ID: 105203. [Google Scholar] [CrossRef
[17] Wang, A., Zhang, W. and Wei, X. (2019) A Review on Weed Detection Using Ground-Based Machine Vision and Image Processing Techniques. Computers and Electronics in Agriculture, 158, 226-240. [Google Scholar] [CrossRef
[18] Ghazali, K.H., Razali, S., Mustafa, M.M. and Hussain, A. (2018) Machine Vision System for Automatic Weeding Strategy in Oil Palm Plantation Using Image Processing Technique. American-Eurasian Journal of Agricultural & Environmental Sciences, 3, 451-458.
[19] Mao, W.H., Cao, J.J., Jiang, H.H., Wang, Y.M. and Zhang, X.C. (2017) In Field Weed Detection Method Based on Multi-Features. Transfer CSAE, 23, 206-209.
[20] Tang, Z., Su, Y., Er, M.J., Qi, F., Zhang, L. and Zhou, J. (2015) A Local Binary Pattern Based Texture Descriptors for Classification of Tea Leaves. Neurocomputing, 168, 1011-1023. [Google Scholar] [CrossRef
[21] Chowdhury, S., Verma, B. and Stockwell, D. (2015) A Novel Texture Feature Based Multiple Classifier Technique for Roadside Vegetation Classification. Expert Systems with Applications, 42, 5047-5055. [Google Scholar] [CrossRef
[22] He, D.J., Qiao, Y.L., Li, P., Gao, Z., Li, H.Y. and Tang, J.L. (2023) Weed Recognition Based on SVM-DS Multi-Feature Fusion. Transactions of the Chinese Society of Agricultural Machinery, 44, 182-187.
[23] Liu, N. and Kan, J. (2016) Improved Deep Belief Networks and Multi-Feature Fusion for Leaf Identification. Neurocomputing, 216, 460-467. [Google Scholar] [CrossRef
[24] Chaki, J., Parekh, R. and Bhattacharya, S. (2015) Plant Leaf Recognition Using Texture and Shape Features with Neural Classifiers. Pattern Recognition Letters, 58, 61-68. [Google Scholar] [CrossRef
[25] Bakhshipour, A. and Jafari, A. (2018) Evaluation of Support Vector Machine and Artificial Neural Networks in Weed Detection Using Shape Features. Computers and Electronics in Agriculture, 145, 153-160. [Google Scholar] [CrossRef
[26] Gómez-Flores, W., Garza-Saldaña, J.J. and Varela-Fuentes, S.E. (2019) Detection of Huanglongbing Disease Based on Intensity-Invariant Texture Analysis of Images in the Visible Spectrum. Computers and Electronics in Agriculture, 162, 825-835. [Google Scholar] [CrossRef
[27] Ming-Kuei Hu, (1962) Visual Pattern Recognition by Moment Invariants. IEEE Transactions on Information Theory, 8, 179-187. [Google Scholar] [CrossRef
[28] Chen, C. (1993) Improved Moment Invariants for Shape Discrimination. Pattern Recognition, 26, 683-686. [Google Scholar] [CrossRef
[29] Zhang, W. and He, J. (2010) Construction and Generalization of Hu Moment Invariants. Journal of Computer Applications, 30, 2449-2452. [Google Scholar] [CrossRef
[30] Turkoglu, M. and Hanbay, D. (2019) Leaf-Based Plant Species Recognition Based on Improved Local Binary Pattern and Extreme Learning Machine. Physica A: Statistical Mechanics and Its Applications, 527, Article ID: 121297. [Google Scholar] [CrossRef
[31] Chen, Y., Lin, P., He, Y. and Xu, Z. (2011) Classification of Broadleaf Weed Images Using Gabor Wavelets and Lie Group Structure of Region Covariance on Riemannian Manifolds. Biosystems Engineering, 109, 220-227. [Google Scholar] [CrossRef
[32] Tang, L., Tian, L. and Steward, B.L. (2003) Classification of Broadleaf and Grass Weeds Using Gabor Wavelets and an Artificial Neural Network. Transactions of the ASAE, 46, 1247-1254. [Google Scholar] [CrossRef
[33] Hong, J.G. (2020) Texture Analysis Method Based on Gray Gradient Co-Occurrence Matrix. Acta Mechanica Sinica, 10, 22-25.