A SVM and SLIC Based Detection Method for Paddy Field Boundary Line
Abstract
:1. Introduction
2. Materials and Methods
2.1. SLIC Superpixel Segmentation for Paddy Field Pictures
2.2. Paddy Field Superpixel Features Extraction
2.2.1. Color Features Extraction
2.2.2. Texture Features Extraction
- 0–360° degree is evenly divided into 9 parts (Figure 4), and each part corresponds to a value of a 9-dimensional feature vector. Initialize each value of the 9-dimensional vector to 0.
- Traverse all the pixels in the superpixel, and calculate the weighted value in the corresponding angle area according to the gradient direction value of the pixel. That is, when the gradient direction valueα(x, y) of the pixel(x, y) satisfies:
2.3. Paddy Field Ridge Recognition Based on Support Vector Machine
2.3.1. Obtaining and Processing of Training Samples for SVM
2.3.2. Ridge Recognition SVM Model Training
2.3.3. Application and Verification of Ridge Recognition SVM Model
3. Experiment Results and Analysis
4. Conclusions
- Preprocessing the SLIC superpixel segmentation of the original paddy field image effectively reduces the calculation amount of subsequent algorithm processing, and provides a large number of samples for the SVM model training. Only 20 pictures are needed to obtain thousands of samples, which solves the problem that machine learning algorithms require a large number of samples.
- Considering that there are certain differences in color and texture between the ridge field and non-ridge field areas, a 9-dimensional color feature vector and a 10-dimensional texture feature vector are extracted during the feature extraction stage, making full use of image information to make up for the disadvantages of traditional image segmentation algorithms relying on picture color information.
- Processing multiple farmland images in different time periods and different plots, the results show that the proposed algorithm can accurately segment the ridge field and non-ridge part of a paddy field, and the F1 score index reaches 90.7%.
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- Mousazadeh, H. A technical review on navigation systems of agricultural autonomous off-road vehicles. J. Terramechan. 2013, 50, 211–232. [Google Scholar] [CrossRef]
- Reina, G.; Milella, A.; Rouveure, R.; Nielsen, M.; Worst, R.; Blas, M.R. Ambient awareness for agricultural robotic vehicles. Biosyst. Eng. 2016, 146, 114–132. [Google Scholar] [CrossRef]
- Weidong, Z.; Chun, W.; Jing, H. Development of Agriculture Machinery Aided Guidance System Based on GPS and GIS. In Proceedings of the Computer and Computing Technologies in Agriculture—Third IFIP International, Beijing, China, 14–17 October 2009. [Google Scholar]
- Liu, J.; Yuan, J.; Cai, J.; Tao, C.; Wang, L.; Cheng, W. Autopilot system of agricultural vehicles based on GPS/INS and steer-by-wire. Trans. Chin. Soc. Agric. Eng. 2016, 1. [Google Scholar] [CrossRef]
- Gerrish, J.B.; Stockman, G.C.; Mann, L.; Hu, G. Path-finding by Image Processing in Agricultural Field Operations. SAE Tech. Paper Ser. 1986, 95. [Google Scholar] [CrossRef]
- Billingsley, J.; Schoenfisch, M. The successful development of a vision guidance system for agriculture. Comput. Electron. Agric. 1997, 16, 147–163. [Google Scholar] [CrossRef]
- English, A.; Ross, P.; Ball, D.; lan Corke, P. Vision based guidance for robot navigation in agriculture. In Proceedings of the IEEE International Conference on Robotics and Automation, Hong Kong, China, 31 May–5 June 2014. [Google Scholar]
- Åstrand, B.; Baerveldt, A.-J. A vision based row-following system for agricultural field machinery. Mechatronics 2005, 15, 251–269. [Google Scholar] [CrossRef]
- Han, S.; Zhang, Q.; Ni, B.; Reid, J.F. A guidance directrix approach to vision-based vehicle guidance systems. Comput. Electron. Agric. 2004, 43, 179–195. [Google Scholar] [CrossRef]
- Marchant, J. Tracking of row structure in three crops using image analysis. Comput. Electron. Agric. 1996, 15, 161–179. [Google Scholar] [CrossRef]
- Searcy, S.W.; Reid, J.F. Vision-Based Guidance of an Agricultural Tractor. In Proceedings of the American Control Conference, Seattle, WA, USA, 18–20 June 1986. [Google Scholar]
- Tillett, N.; Hague, T.; Miles, S. Inter-row vision guidance for mechanical weed control in sugar beet. Comput. Electron. Agric. 2002, 33, 163–177. [Google Scholar] [CrossRef]
- Bakker, T.; Wouters, H.; Van Asselt, K.; Bontsema, J.; Tang, L.; Müller, J.; Van Straten, G. A vision based row detection system for sugar beet. Comput. Electron. Agric. 2008, 60, 87–95. [Google Scholar] [CrossRef]
- Bossu, J.; Gée, C.; Jones, G.; Truchetet, F. Wavelet transform to discriminate between crop and weed in perspective agronomic images. Comput. Electron. Agric. 2009, 65, 133–143. [Google Scholar] [CrossRef]
- Hague, T.; Tillett, N. A bandpass filter-based approach to crop row location and tracking. Mechatronics 2001, 11, 1–12. [Google Scholar] [CrossRef]
- Søgaard, H.; Olsen, H.J. Determination of crop rows by image analysis without segmentation. Comput. Electron. Agric. 2003, 38, 141–158. [Google Scholar] [CrossRef]
- Lategahn, H.; Beck, J.; Kitt, B.; Stiller, C. How to learn an illumination robust image feature for place recognition. In Proceedings of the IEEE Intelligent Vehicles Symposium, Gold Coast City, Australia, 26–28 June 2013; pp. 285–291. [Google Scholar]
- Hiremath, S.; Van Evert, F.K.; Ter Braak, C.; Stein, A.; Van Der Heijden, G. Image-based particle filtering for navigation in a semi-structured agricultural environment. Biosyst. Eng. 2014, 121, 85–95. [Google Scholar] [CrossRef]
- Shinzato, P.; Wolf, D. A Road Following Approach Using Artificial Neural Networks Combinations; Kluwer Academic Publishers: Berlin, Germany, 2011; Volume 62, pp. 527–546. [Google Scholar]
- Achanta, R.; Shaji, A.; Smith, K.; Lucchi, A.; Fua, P.; Süsstrunk, S. SLIC Superpixels Compared to State-of-the-Art Superpixel Methods. IEEE Trans. Pattern Anal. Mach. Intell. 2012, 34, 2274–2282. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Cortes, C.; Vapnik, V. Support-vector networks. Mach. Lang. 1995, 20, 273–297. [Google Scholar] [CrossRef]
- Hamuda, E.; Mc Ginley, B.; Glavin, M.; Jones, E. Automatic crop detection under field conditions using the HSV colour space and morphological operations. Comput. Electron. Agric. 2017, 133, 97–107. [Google Scholar] [CrossRef]
- Gao, W.; Yang, L.; Zhang, X.; Liu, H. An Improved Sobel Edge Detection. In Proceedings of the IEEE International Conference on Computer Science & Information Technology, Chengdu, China, 9–11 July 2010; pp. 67–71. [Google Scholar]
- Huang, H.; Xu, H.; Wang, X.; Silamu, W. Maximum F1-Score Discriminative Training Criterion for Automatic Mispronunciation Detection. IEEE/ACM Trans. Audio Speech Lang. Process. 2015, 23, 787–797. [Google Scholar]
- Wang, B.; Fan, S.S. An Improved CANNY Edge Detection Algorithm. In Proceedings of the Second International Workshop on Computer Science and Engineering, Qingdao, China, 28–30 October 2009. [Google Scholar]
Camera | TP | TN | FP | FN | Accuracy (%) | Recall (%) | F1 Score (%) |
---|---|---|---|---|---|---|---|
ZED | 3100 | 18,137 | 373 | 265 | 89.3 | 92.1 | 90.7 |
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Li, Y.; Hong, Z.; Cai, D.; Huang, Y.; Gong, L.; Liu, C. A SVM and SLIC Based Detection Method for Paddy Field Boundary Line. Sensors 2020, 20, 2610. https://doi.org/10.3390/s20092610
Li Y, Hong Z, Cai D, Huang Y, Gong L, Liu C. A SVM and SLIC Based Detection Method for Paddy Field Boundary Line. Sensors. 2020; 20(9):2610. https://doi.org/10.3390/s20092610
Chicago/Turabian StyleLi, Yanming, Zijia Hong, Daoqing Cai, Yixiang Huang, Liang Gong, and Chengliang Liu. 2020. "A SVM and SLIC Based Detection Method for Paddy Field Boundary Line" Sensors 20, no. 9: 2610. https://doi.org/10.3390/s20092610
APA StyleLi, Y., Hong, Z., Cai, D., Huang, Y., Gong, L., & Liu, C. (2020). A SVM and SLIC Based Detection Method for Paddy Field Boundary Line. Sensors, 20(9), 2610. https://doi.org/10.3390/s20092610