Work

SALMA: A machine learning tool for precise leaf morphology measurements

Year: 2026
Type: article
Abstract: Leaf area is a critical plant functional trait, widely used for understanding plant responses to climate change, ecosystem productivity, and species' adaptive strategies. Inaccurate leaf area measurements compromise the accuracy of other traits normalised by area, such as foliar chemical traits, respiration, and photosynthesis. However, existing measurement methods are ineffective for small-leaved plants and often necessitate manual processing, which limits sample sizes and potentially obscures subtle trait-environment relationships. We developed SALMA (Semi-Automated Leaf Morphological Analysis), which employs logistic regression trained on one to four human-generated examples per species to delineate leaf boundaries for that species accurately. SALMA's training step adapts to species-specific features by integrating multiple characteristics, such as colour variations and edge details. The approach is validated on an extensive dataset (64 species, 3332 images) that covers 91.4 % of the worldwide leaf area variation, as well as two smaller datasets comprising low-quality photographs of morphologically complex or damaged leaves. SALMA consistently achieved leaf area errors 2 to 15 times lower than existing algorithms and a theoretical upper bound of any grayscale intensity-based method. Critically, we identify a previously overlooked power-law relationship between leaf area and measurement error, demonstrating that existing methods may overestimate leaf area by at least 5 % for 43 % of global species, whereas SALMA achieves comparable errors for only 2.1 % of species. SALMA is a standalone software with an intuitive interface that supports parallel processing, making it accessible for large-scale ecological studies globally. It can potentially enhance the quality of trait datasets and facilitate large-scale sampling, thereby advancing our understanding of plant-environment interactions. Our published dataset contains manually created binary segmentations of leaves and background, providing a baseline for future leaf measurement algorithms. • Introducing SALMA: A machine learning tool for precise leaf morphology measurements. • Features a graphical user interface for users without technical expertise • Achieved 2-15× lower leaf area errors than existing grayscale algorithms. • Leverages few-shot learning (1–4 examples) and multi-colour/gradient analysis. • Identifies a power-law relationship between leaf area and measurement error.
Language: English
Subfield: Plant Science
Open Access status: gold
Estimated APC paid: $2,770
OpenAlex ID: W7118081657
FWCI: 3.555
Cites: 30
Cited by: 1
Related to: