A deep learning approach based on graphs to detect plantation lines
Diogo Nunes Gonçalves,
José Marcato Junior,
Mauro dos Santos de Arruda,
Vanessa Jordão Marcato Fernandes,
Ana Paula Marques Ramos,
Danielle Elis Garcia Furuya,
Lucas Prado Osco,
Hongjie He,
Lucio André de Castro Jorge,
Jonathan Li,
Farid Melgani,
Hemerson Pistori,
Wesley Nunes Gonçalves
Affiliations
Diogo Nunes Gonçalves
Faculty of Computer Science, Federal University of Mato Grosso do Sul, Av. Costa e Silva, Campo Grande, 79070-900, MS, Brazil
José Marcato Junior
Faculty of Engineering, Architecture, and Urbanism and Geography, Federal University of Mato Grosso do Sul, Av. Costa e Silva, Campo Grande, 79070-900, MS, Brazil
Mauro dos Santos de Arruda
Faculty of Computer Science, Federal University of Mato Grosso do Sul, Av. Costa e Silva, Campo Grande, 79070-900, MS, Brazil
Vanessa Jordão Marcato Fernandes
Faculty of Agricultural Sciences, Federal University of Grande Dourados, Av. Costa e Silva, Dourados, 79070-900, MS, Brazil
Ana Paula Marques Ramos
Faculty of Science and Technology, São Paulo State University (UNESP), R. Roberto Simonsen, 305, Presidente Prudente 19060-900, SP, Brazil
Danielle Elis Garcia Furuya
Program of Environment and Regional Developement, University of Western São Paulo, Raposo Tavares, km 572, Presidente Prudente, 19067-175, SP, Brazil; Corresponding author.
Lucas Prado Osco
Program of Environment and Regional Developement, University of Western São Paulo, Raposo Tavares, km 572, Presidente Prudente, 19067-175, SP, Brazil
Hongjie He
Department of Geography and Environmental Management, University of Waterloo, Waterloo, ON N2L 3G1, Canada
Lucio André de Castro Jorge
National Research Center of Development of Agricultural Instrumentation, Brazilian Agricultural Research Agency (EMBRAPA), 13560-970, R. XV de Novembro, 1452, São Carlos, SP, Brazil
Jonathan Li
Department of Geography and Environmental Management, University of Waterloo, Waterloo, ON N2L 3G1, Canada
Farid Melgani
Department of Information Engineering and Computer Science, University of Trento, Trento, 38122, Italy
Hemerson Pistori
INOVISAO, Dom Bosco Catholic University, Avenida Tamandaré, 6000, Campo Grande, 79117-900, MS, Brazil; Faculty of Computer Science, Federal University of Mato Grosso do Sul, Av. Costa e Silva, Campo Grande, 79070-900, MS, Brazil
Wesley Nunes Gonçalves
Faculty of Computer Science, Federal University of Mato Grosso do Sul, Av. Costa e Silva, Campo Grande, 79070-900, MS, Brazil; Faculty of Engineering, Architecture, and Urbanism and Geography, Federal University of Mato Grosso do Sul, Av. Costa e Silva, Campo Grande, 79070-900, MS, Brazil
Identifying plantation lines in aerial images of agricultural landscapes is re-quired for many automatic farming processes. Deep learning-based networks are among the most prominent methods to learn such patterns and extract this type of information from diverse imagery conditions. However, even state-of-the-art methods may stumble in complex plantation patterns. Here, we propose a deep learning approach based on graphs to detect plantation lines in UAV-based RGB imagery, presenting a challenging scenario containing spaced plants. The first module of our method extracts a feature map throughout the backbone, which consists of the initial layers of the VGG16. This feature map is used as an input to the Knowledge Estimation Module (KEM), organized in three concatenated branches for detecting 1) the plant positions, 2) the plantation lines, and 3) the displacement vectors between the plants. A graph modeling is applied considering each plant position on the image as vertices, and edges are formed between two vertices (i.e. plants). Finally, the edge is classified as pertaining to a certain plantation line based on three probabilities (higher than 0.5): i) in visual features obtained from the backbone; ii) a chance that the edge pixels belong to a line, from the KEM step; and iii) an alignment of the displacement vectors with the edge, also from the KEM step. Experiments were conducted initially in corn plantations with different growth stages and patterns with aerial RGB imagery to present the advantages of adopting each module. We assessed the generalization capability in the other two cultures (orange and eucalyptus) datasets. The proposed method was compared against state-of-the-art deep learning methods and achieved superior performance with a significant margin considering all three datasets. This approach is useful in extracting lines with spaced plantation patterns and could be implemented in scenarios where plantation gaps occur, generating lines with few-to-no interruptions.