Abstract
The use of Unmanned Aerial Vehicles (UAVs) is a recent trend in field-based plant phenotyping data collection. However, UAVs often provide low spatial resolution images when flying at high altitudes. This can be an issue when extracting individual leaves from these images. Leaf segmentation is even more challenging because of densely overlapping leaves. Segmentation of leaf instances in the UAV images can be used to measure various phenotypic traits such as leaf length, maximum leaf width, and leaf area index. Successful leaf segmentation accurately detects leaf edges. Popular deep neural network approaches have loss functions that do not consider the spatial accuracy of the segmentation near an object's edge. This paper proposes a shape-based leaf segmentation method that segments leaves using continuous functions and produces precise contours for the leaf edges. Experimental results prove the feasibility of the method and demonstrate better performance than the Mask R-CNN.
Introduction
In high-throughput plant phenotyping, Unmanned Aerial Vehicles (UAVs) have become essential for efficient data collection. However, a significant trade-off exists: to cover large fields, drones must fly at high altitudes, resulting in low spatial resolution. When resolution is low and images are blurry, standard computer vision techniques struggle to separate individual leaves, particularly in dense, overlapping canopies.
Traditional Deep Neural Networks (DNNs) like Mask R-CNN are powerful but often fail to prioritize the spatial accuracy of an object's edges. Their loss functions (e.g., binary cross-entropy) treat pixel classification somewhat independently, leading to "fuzzy" or noisy boundaries. For researchers measuring phenotypic traits like leaf length and width, these inaccuracies are problematic. This paper introduces a functional modeling approach that leverages geometric priors to achieve precise boundary localization.
Methodology
The proposed approach moves away from purely discrete pixel-based classification toward functional modeling of leaf edges. The pipeline consists of several key stages:
- Edge Processing: Initial edges are detected using Canny edge detection combined with an HSV-based "greenness" mask to isolate plant material from the soil.
- Skeletonization and Separation: To handle complex leaf junctions, edges are thinned to a single pixel width. Depth First Search (DFS) identifies branches, and second-order polynomials are used to determine where one leaf edge ends and another begins.
- Edge Influence Zones (EIZ): To pair edges belonging to the same leaf, an edge is "smeared" in the direction of its average gradient. If another edge with an opposite gradient falls within this zone, it is considered a candidate pair.
- Edge Walking: Inspired by Kalman filters, this technique iteratively extends base edges by searching for weak feature responses in the image intensity profile, modeled via a Gaussian Mixture Model (GMM).
- Leaf Modeling: The leaf is represented using a midrib function and a width function. This allows the system to predict missing parts of a leaf (such as a hidden tip) based on the geometry of the visible segments.
Experimental Results
The study utilized a dataset of Sorghum (Sorghum bicolor) images acquired at 20 meters altitude and downsampled to simulate a 50-meter altitude (0.63 cm per pixel). The proposed method was compared against Mask R-CNN using metrics from the CVPPP segmentation challenge:
- Symmetric Best Dice (SBD): The proposed method achieved 37%, outperforming Mask R-CNN's 34%, indicating superior instance segmentation quality.
- Absolute Difference in Count (|DiC|): The proposed method was significantly more accurate at counting leaves, with an error of 81 compared to Mask R-CNN’s 120.
- Foreground-Background Dice (FBD): Mask R-CNN scored higher here (73% vs 67%). However, the authors note that Mask R-CNN tends to be overly aggressive, filling in ground structures into its masks, which boosts its foreground score at the expense of individual leaf contour accuracy.
Conclusion
Modeling leaf edges as continuous functions provides a superior spatial representation for low-resolution imagery compared to discrete pixel masks. By assuming geometric priors like semi-parallel edges and symmetry, the algorithm can effectively reconstruct boundaries that standard DNNs ignore. Future work will focus on incorporating breed-specific shape priors and surface texture features to further improve performance in crowded canopies.
Summary updated