Leaf Counting with Deep Convolutional and Deconvolutional Networks

Shubhra Aich, Ian StavnessWorkshops @ ICCV 2017 · DOI

Introduction

In the field of plant phenotyping, leaf counting serves as a vital indicator of plant health, growth rate, and developmental stages. Traditional manual counting is labor-intensive and subject to human error. While automated computer vision techniques have been proposed, they often rely on hand-crafted features specific to certain species or attempt complex instance segmentation that requires exhaustive labeling.

Researchers from the University of Saskatchewan have developed a robust, data-driven framework that treats leaf counting as a regression problem. By utilizing deep learning architectures, their system achieves state-of-the-art accuracy across various plant species and imaging environments without requiring manual heuristics.

The Two-Stage Pipeline

The proposed architecture follows a two-stage approach: first identifying the plant within the image (segmentation) and then estimating the leaf count (regression).

Overview of the proposed two-stage leaf counting pipeline.

1. Segmentation

The system employs SegNet, a deep convolutional encoder-decoder network. The encoder, based on the VGG-16 architecture, extracts hierarchical features, while the decoder maps these features back to the original image resolution to produce a binary mask. This stage effectively separates the plant from background elements like soil, pots, and moss. By removing fully connected layers, the authors significantly reduced the parameter count, making the model more efficient for this specific task.

2. Counting by Regression

The core innovation in the counting stage is the use of a four-channel input termed SRGB (Segmentation + RGB). By concatenating the binary mask with the original RGB image, the regression network—a VGG-inspired CNN—is guided to focus exclusively on the plant's morphology. Unlike instance segmentation methods that attempt to outline every individual leaf, this network learns a direct non-linear mapping from visual patterns to a numerical leaf count, which is significantly less labor-intensive to label.

Experimental Setup and Datasets

The model was trained and evaluated using the Leaf Counting Challenge 2017 (LCC-2017) dataset. This dataset provides a diverse set of challenges, including different growth chambers and "wild" settings.

Examples of plant images from the LCC-2017 dataset across different species and growth conditions.

The dataset includes:

  • Arabidopsis (A1, A2, A4, A5): Multiple subsets with varying backgrounds and plant sizes.
  • Tobacco (A3): A smaller subset consisting of only 27 training images.

To address the limited number of original images, the researchers employed extensive data augmentation—including rotations, flips, and various image filters—to generate approximately 800,000 training samples for the segmentation network.

Results and Analysis

The framework demonstrated state-of-the-art performance, achieving a mean absolute count difference of 1.62 (standard deviation of 2.30) across all test datasets. Notably, the model outperformed previous competition winners on the Arabidopsis subsets (A1 and A2).

A key finding was the importance of the segmentation mask. By providing the network with the SRGB input, the model was able to ignore environmental noise, which is a common failure point for simpler regression models. However, the system showed higher error rates on the Tobacco (A3) dataset. This struggle highlights the "data-hungry" nature of deep learning; with only 27 training images, the network could not fully model the tobacco plant's specific distribution.

Conclusion

This research provides a robust, scalable solution for automated leaf counting. By combining deconvolutional segmentation with a convolutional regression network, the system avoids the need for species-specific heuristics or labor-intensive instance-level annotations. Future work will focus on improving feature localization to better handle overlapping leaves and exploring whether sufficiently large datasets might eventually allow networks to learn background suppression implicitly.

Summary updated

BibTeX
@inproceedings{aich2017leaf,
  author = {Shubhra Aich and Ian Stavness},
  title = {{Leaf Counting with Deep Convolutional and Deconvolutional Networks}},
  booktitle = {Workshops @ ICCV},
  year = {2017},
  doi = {10.1109/iccvw.2017.244},
}
Figure