Abstract
Deep learning techniques involving image processing and data analysis are constantly evolving. Many domains adapt these techniques for object segmentation, instantiation and classification. Recently, agricultural industries adopted those techniques in order to bring automation to farmers around the globe. One analysis procedure required for automatic visual inspection in this domain is leaf count and segmentation. Collecting labeled data from field crops and greenhouses is a complicated task due to the large variety of crops, growth seasons, climate changes, phenotype diversity, and more, especially, when specific learning tasks require a large amount of labeled data for training. Data augmentation for training deep neural networks is well established, examples include data synthesis, using generative semi-synthetic models, and applying various kinds of transformations. In this paper we propose a data augmentation method that preserves the geometric structure of the data objects, thus keeping the physical appearance of the data-set as close as possible to imaged plants in real agricultural scenes. The proposed method provides state of the art results when applied to the standard benchmark in the field, namely, the ongoing Leaf Segmentation Challenge hosted by Computer Vision Problems in Plant Phenotyping.
Introduction
In the field of plant phenotyping, computer vision is essential for measuring traits such as leaf count and surface area, which are critical indicators of plant health and growth. However, the efficacy of deep neural networks in these tasks is often limited by the availability of large-scale, accurately labeled datasets. Manually segmenting leaves in thousands of images is a prohibitively expensive and time-consuming process. While standard data augmentation techniques like rotation and flipping provide some benefit, they often fail to capture the complex geometric realities of plant growth, such as leaf overlap and specific phyllotactic patterns. This paper introduces a novel "collage-based" data augmentation technique that generates photorealistic synthetic images by adhering to biological growth rules.
Methodology
The researchers developed two distinct levels of synthetic image generation, termed "collaging":
Naïve Collage
This approach is tailored for "in the wild" agricultural environments, such as avocado plantations. High-quality, non-occluded leaf images are extracted from a small set of labeled data and then pasted onto various agricultural backgrounds. These leaves undergo random rotations and scaling to simulate natural variety.
Structured Collage
Designed specifically for rosette plants like Arabidopsis, this method incorporates botanical "rules of thumb" to ensure structural realism:
- Canonical Alignment: Extracted leaves are aligned to a fixed base point.
- Growth Dynamics: Leaves are modeled as spawning from a central point and growing outward.
- Phyllotaxis: The algorithm places leaves at approximately 125° intervals, mimicking natural spiral patterns.
- Size Correlation: Leaf size is determined by its distance from the center, using a "Length Mapping Vector" derived from real-world observations.
By following these rules, the Structured Collage naturally generates realistic occlusions. These synthetic images are then used to train a Mask R-CNN architecture for segmentation and counting.
Experimental Results
The proposed method was evaluated on the CVPPP (Computer Vision Problems in Plant Phenotyping) benchmark and an avocado dataset.
On the CVPPP benchmark, the approach achieved a mean BestDice score of 86.7% across multiple subsets, establishing a new state-of-the-art. Furthermore, the model demonstrated high reliability in leaf counting, as evidenced by a low Absolute Difference in Count (AbsDiffFG), even in dense clusters where leaves significantly overlap. The Naïve Collage approach also proved robust for unconstrained "in the wild" images, where lighting and camera angles vary significantly.
Conclusion and Future Work
This research demonstrates that incorporating geometric and biological constraints into data augmentation significantly improves the performance of leaf segmentation models. The primary remaining challenge is the precise definition of leaf boundaries in overlapping regions. Future work will explore techniques such as alpha blending or Gaussian filtering to further enhance the photorealism of synthetic leaf transitions. Additionally, adapting the growth "grammars" to other plant architectures, such as vines or trees, remains a promising avenue for expanding the utility of this method.
Summary updated