Due to the increase in the use of precision agriculture, field trials have increased in size to allow for genomic selection tool development by linking quantitative phenotypic traits to sequence variations in the DNA of various crops. Crop row detection is an important step to enable the development of an efficient downstream analysis pipeline for genomic selection. In this paper, an efficient crop row detection algorithm was proposed that detected crop rows in colour images without the use of templates and most other pre-information such as number of rows and spacing between rows. The method only requires input on field weed intensity. The algorithm was robust in challenging field trial conditions such as variable light, sudden shadows, poor illumination, presence of weeds and noise and irregular crop shape. The algorithm can be applied to crop images taken from the top and side views. The algorithm was tested on a public dataset with side view images of crop rows and on Genomic Sub-Selection dataset in which images were taken from the top view. Different analyses were performed to check the robustness of the algorithm and to the best of authors’ knowledge, the Receiver Operating Characteristic graph has been applied for the first time in crop row detection algorithm testing. Lastly, comparing this algorithm with several state-of-the-art methods, it exhibited superior performance.
This is a preview of subscription content, log in to check access.
Buy single article
Instant access to the full article PDF.
Price includes VAT for USA
Subscribe to journal
Immediate online access to all issues from 2019. Subscription will auto renew annually.
This is the net price. Taxes to be calculated in checkout.
Asif, M., Amir, S., Israr, A., & Faraz, M. (2010). A vision system for autonomous weed detection robot. International Journal of Computer and Electrical Engineering,2(3), 486–491.
Bah, M. D., Hafiane, A., & Canals, R. (2019). CRowNet: Deep network for crop row detection in UAV images. IEEE Access,8, 5189–5200.
Bakker, T., Wouters, H., Asselt, K. V., Bontsema, J., Tang, L., Müller, J., et al. (2008). A vision-based row detection system for sugar beet. Computers and Electronics in Agriculture,60(1), 87–95.
Basso, M., & de Freitas, E. P. (2019). A UAV guidance system using crop row detection and line follower algorithms. Journal of Intelligent & Robotic Systems,97, 605–621.
Billingsley, J., & Schoenfisch, M. (1997). The successful development of a vision guidance system for agriculture. Computers and Electronics in Agriculture,16(2), 147–163.
Burgos-Artizzu, X. P., Ribeiro, A., Guijarro, M., & Pajares, G. (2011). Real-time image processing for crop/weed discrimination in maize fields. Computers and Electronics in Agriculture,75(2), 337–346.
Caldwell, D. (2012). Robotics and automation in the food industry. Current and future technologies (pp. 1–528). Cambridge, UK: Woodhead Publishing.
Cervantes-Godoy, D., & Dewbre, J. (2010). Economic importance of agriculture for poverty reduction. OECD Food, Agriculture and Fisheries Working Papers,23, 1–27.
Cupec, R. (2018). Crop row benchmark dataset. http://www.etfos.unios.hr/r3dvgroup/index.php?id=crd_dataset/.
Fontaine, V., & Crowe, T. G. (2006). Development of line-detection algorithms for local positioning in densely seeded crops. Canadian Biosystems Engineering,48(7), 19–29.
García-Santillán, I., Guerrero, J. M., Montalvo, M., & Pajares, G. (2018). Curved and straight crop row detection by accumulation of green pixels from images in maize fields. Precision Agriculture,19(1), 18–41.
Gonzalez, R. C., & Woods, R. E. (2018). Digital image processing, global edition. New York City, USA: Pearson, ISBN-10: 9780133356724$4.
Hague, T., Tillett, N. D., & Wheeler, H. (2006). Automated crop and weed monitoring in widely spaced cereals. Precision Agriculture,7(1), 21–32.
Hough, P. V. C. (1960). A method and means for recognizing complex patterns. US Patent, Office No. 3069654.
Ji, R., & Qi, L. (2011). Crop-row detection algorithm based on Random Hough Transformation. Mathematical and Computer Modelling,54(3–4), 1016–1020.
Jiang, G., Wang, Z., & Liu, H. (2015). Automatic detection of crop rows based on multi-ROIs. Expert Systems with Applications,42(5), 2429–2441.
Jiang, G., Wang, X., Wang, Z., & Liu, H. (2016). Wheat rows detection at the early growth stage based on Hough transform and vanishing point. Computers and Electronics in Agriculture,123, 211–223.
Jones, G., Gée, C., & Truchetet, F. (2009). Modelling agronomic images for weed detection and comparison of crop/weed discrimination algorithm performance. Precision Agriculture,10(1), 1–15.
Katariya, S. S., Gundal, S. S., Kanawade, M. T., & Mazhar, K. (2015). Automation in agriculture. International Journal of Recent Scientific Research,6(6), 4453–4456.
Kise, M., Zhang, Q., & Más, F. R. (2005). A stereovision-based crop row detection method for tractor-automated guidance. Biosystems Engineering,90(4), 357–367.
Kise, M., & Zhang, Q. (2008). Development of a stereovision sensing system for 3D crop row structure mapping and tractor guidance. Biosystems Engineering,101(2), 191–198.
Meuwissen, T. H., Hayes, B. J., & Goddard, M. E. (2001). Prediction of total genetic value using genome-wide dense marker maps. Genetics,157(4), 1819–1847.
Montalvo, M., Pajares, G., Guerrero, J. M., Romeo, J., Guijarro, M., Ribeiro, A., et al. (2012). Automatic detection of crop rows in maize fields with high weeds pressure. Expert Systems with Applications,39(15), 11889–11897.
Otsu, N. (1979). A threshold selection method from gray-level histograms. IEEE Transactions on Systems, Man, and Cybernetics,9(1), 62–66.
Pajares, G., Santillán, I. G., Campos, Y., Montalvo, M., Guerrero, J. M., Emmi, L., et al. (2016). Machine-vision systems selection for agricultural vehicles: A guide. Journal of Imaging,2(4), 1–31.
Ramesh, K. N., Chandrika, N., Omkar, S. N., Meenavathi, M. B., & Rekha, V. (2016). Detection of rows in agricultural crop images acquired by remote sensing from a UAV. International Journal of Image, Graphics and Signal Processing,8(11), 25–31.
Romeo, J., Pajares, G., Montalvo, M., Guerrero, J. M., Guijarro, M., & Ribeiro, A. (2012). Crop row detection in maize fields inspired on the human visual perception. The Scientific World Journal,2012, 1–10.
Rovira-Más, F., Zhang, Q., & Reid, J. F. (2008). Stereo vision three-dimensional terrain maps for precision agriculture. Computers and Electronics in Agriculture,60(2), 133–143.
Sogaard, H. T., & Olsen, H. J. (2003). Determination of crop rows by image analysis without segmentation. Computers and Electronics in Agriculture,38, 141–158.
Vidović, I., Cupec, R., & Hocenski, Ž. (2016). Crop row detection by global energy minimization. Pattern Recognition,55, 68–86.
Visscher, P. M., Wray, N. R., Zhang, Q., Sklar, P., McCarthy, M. I., Brown, M. A., et al. (2017). 10 years of GWAS discovery: Biology, function, and translation. The American Journal of Human Genetics,101(1), 5–22.
Conflict of interest
There is no conflict of interest to declare.
About this article
Cite this article
Rabab, S., Badenhorst, P., Chen, Y.P. et al. A template-free machine vision-based crop row detection algorithm. Precision Agric (2020). https://doi.org/10.1007/s11119-020-09732-4
- Crop row detection
- Perspective projection
- Triangular matrix