SALMA: A machine learning tool for precise leaf morphology measurements

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.

Authors

Institutions

Publication Details

Journal
Ecological Informatics
Published
2026-01-02
DOI
https://doi.org/10.1016/j.ecoinf.2025.103592
Primary Topic
Leaf Properties and Growth Measurement
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SALMA: A machine learning tool for precise leaf morphology measurements

Ilya Shabanov, Andrew Lensen, Julie Deslippe
Ecological Informatics
Leaf Properties and Growth Measurement
article

SALMA: A machine learning tool for precise leaf morphology measurements

Ilya Shabanov, Andrew Lensen, Julie Deslippe
article en

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.

Ecological InformaticsVol. 93
Victoria University of Wellington (NZ)
Openalex Percentile: Top 98%
Leaf Properties and Growth Measurement
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.