NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Deep Learning Approach Based on Graphs to Detect Plantation Lines

Diogo Nunes Gonçalves, Mauro dos Santos de Arruda, Hemerson Pistori, Vanessa Jordão Marcato Fernandes, Ana Paula Marques Ramos, Danielle Elis Garcia Furuya, Lucas Prado Osco, Hongjie He, Jonathan Li, José Marcato Junior, Wesley Nunes GonçalvesarXiv 2021

TL;DR

This paper introduces a novel deep learning approach that combines graph theory with convolutional neural networks to accurately detect plantation lines in aerial imagery, even in challenging scenarios with spaced plants and gaps. By modeling plants as graph vertices and leveraging visual features, line probabilities, and displacement vectors, the method achieves state-of-the-art performance, outperforming existing techniques.

What Problem Does This Paper Address?

Identifying and precisely locating plantation lines in agricultural imagery is crucial for automating farming processes like precision agriculture. While deep learning methods have shown promise, they often struggle with complex patterns, particularly in plantations with widely spaced plants or where gaps exist due to various factors (e.g., disease, environmental damage). Traditional image processing methods are often parameter-heavy and lack robustness. Existing deep learning approaches may incorrectly group nearby plants or fail to delineate lines effectively in these challenging conditions. This paper aims to bridge this gap by developing a more robust method for plantation line detection that can handle these complexities.

Methods

The proposed method integrates a deep learning backbone with a graph-based approach.

  1. Backbone (Feature Extraction): The initial layers of a VGG16 network are used to extract a rich feature map from the input UAV RGB imagery. This map captures essential visual information about the scene.
  2. Knowledge Estimation Module (KEM): This module takes the feature map and processes it through three parallel branches to estimate:
  3. Plant Positions: A confidence map indicating the probability of plant presence.
  4. Plantation Lines: A confidence map for pixels belonging to plantation lines.
  5. Displacement Vectors: Vectors indicating the direction and magnitude of displacement between adjacent plants on the same line. The KEM uses a multi-stage approach to refine these estimations hierarchically.

  6. Graph Modeling: Each detected plant (identified from the KEM's plant position confidence map) is treated as a vertex in a graph. A complete graph is formed by connecting all pairs of plant vertices.

  7. Edge Classification Module (ECM): Edges (connections between plant vertices) are classified as belonging to a plantation line based on three probabilities:
  8. Visual Features: Derived from the backbone's feature map at sampled points along the edge.
  9. Line Probability: Estimated by the KEM for pixels along the edge.
  10. Displacement Vector Alignment: The degree to which the estimated displacement vectors align with the edge direction. An edge is classified as a plantation line if all three probabilities exceed a threshold (0.5).

Datasets

The experiments were conducted using a dataset of corn (Zea mays L.) plantations captured by a Phantom 4 Advanced UAV. The dataset consists of 564 patches, each 256x256 pixels, with a spacing of 30x50 cm between plants. These patches were split into training (60%), validation (20%), and testing (20%) sets. The data was labeled by experts, identifying plantation lines and individual plants.

Key Insights and Ideas

  • Graph Theory for Geometric Relationships: The core innovation is the application of graph theory to explicitly model the spatial relationships between detected plants. This allows the model to reason about connectivity and structure beyond simple pixel-wise analysis.
  • Multi-Modal Feature Fusion: Combining visual features from the backbone with semantic information (line probability) and geometric cues (displacement vectors) from the KEM significantly improves detection accuracy. This suggests that a holistic understanding of the plantation structure is key.
  • Displacement Vectors as Crucial Cues: The displacement vectors proved particularly important for handling challenging scenarios like spaced plants and gaps, as they capture the intended directionality of the plantation.
  • Two-Stage KEM is Sufficient: The study found that while multi-stage KEM refinement is beneficial, performance plateaus after the second stage, suggesting an efficient design choice.

Key Results

The proposed method achieved state-of-the-art performance on the corn plantation dataset:

  • Plant Detection: Achieved a Precision, Recall, and F1-score of 92.7%, 90.5%, and 91.5%, respectively, with two KEM stages.
  • Plantation Line Detection:
    • Overall Performance: Precision: 98.7%, Recall: 91.9%, F1-score: 95.1%.
  • Comparison to State-of-the-Art: Significantly outperformed Deep Hough Transform (90.1% F1) and PPGNet (91.0% F1).
  • Feature Ablation: Using "All Features" (visual, line probability, displacement vectors) yielded the best F1-score of 95.1%, outperforming combinations using only visual features (90.7%) or visual + vector features (92.3%).

Limitations and Future Work

  • Limitations:
    • The method's performance might be sensitive to the accuracy of initial plant detection, especially when plants are very close or obscured.
  • While robust, the method might still face challenges with extremely sparse plantations or highly irregular patterns not represented in the training data.
  • Future Work:
    • The authors suggest that this graph-based approach has potential for detecting other linear features in remote sensing, such as roads, rivers, and utility lines.
  • Further exploration of graph-based methods in combination with advanced deep learning architectures could lead to even more robust and versatile solutions for agricultural and other remote sensing applications.
  • Investigating the impact of different graph structures and edge classification strategies could be beneficial.

Summary updated

BibTeX
@misc{goncalves2021deep,
  author = {Diogo Nunes Gonçalves and Mauro dos Santos de Arruda and Hemerson Pistori and Vanessa Jordão Marcato Fernandes and Ana Paula Marques Ramos and Danielle Elis Garcia Furuya and Lucas Prado Osco and Hongjie He and Jonathan Li and José Marcato Junior and Wesley Nunes Gonçalves},
  title = {{A Deep Learning Approach Based on Graphs to Detect Plantation Lines}},
  year = {2021},
  eprint = {2102.03213},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.03213},
}
Figure