Paper · 2026 · Ecological Informatics

SALMA: A machine learning tool for precise leaf morphology measurements

Ilya Shabanov; Julie R Deslippe; Andrew Lensen

5
claims
9
verbatim quotes
0
citations
3
research areas
✓
Open access · cc-by-nc-nd

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.

Abstract from the paper’s OpenAlex record; open copy licensed cc-by-nc-nd. Read at the source ↗

The text the model read, with the source record’s inline markup (italics, sub- and superscripts) rendered and its character entities decoded; quote offsets refer to the raw text.

Claims 5

Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

SALMA achieved leaf area errors 2 to 15 times lower than existing algorithms.

Taxon
small-leaved plantse1
Outcome
leaf area errorse0
Direction
lowere0
Value
2 to 15 timese0
Comparator
existing algorithmse0

Verbatim

e0

“SALMA consistently achieved leaf area errors 2 to 15 times lower than existing algorithms”

✓ located verbatim in the source · abstract, characters 1146–1235 · show in text ↑
e1

“existing measurement methods are ineffective for small-leaved plants”

✓ located verbatim in the source · abstract, characters 339–407 · show in text ↑
Method / resourceobservedoriginal resultpositivemeasured

Claim · model-written summary

SALMA achieved leaf area errors lower than a theoretical upper bound of any grayscale intensity-based method.

Taxon
small-leaved plantse1
Outcome
leaf area errorse0
Direction
lowere0
Comparator
a theoretical upper bound of any grayscale intensity-based methode2

Verbatim

e0

“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”

✓ located verbatim in the source · abstract, characters 1146–1305 · show in text ↑
e1

“existing measurement methods are ineffective for small-leaved plants”

✓ located verbatim in the source · abstract, characters 339–407 · show in text ↑
e2

“a theoretical upper bound of any grayscale intensity-based method”

✓ located verbatim in the source · abstract, characters 1240–1305 · show in text ↑
Associationobservedoriginal resultmeasured

Claim · model-written summary

A power-law relationship between leaf area and measurement error was identified.

Taxon
small-leaved plantse1
Organ / stage
leafe3
Outcome
measurement errore3

Not reportedDirection

Verbatim

e1

“existing measurement methods are ineffective for small-leaved plants”

✓ located verbatim in the source · abstract, characters 339–407 · show in text ↑
e3

“we identify a previously overlooked power-law relationship between leaf area and measurement error”

✓ located verbatim in the source · abstract, characters 1319–1417 · show in text ↑
Observationobservedoriginal resultnegativemeasured

Claim · model-written summary

Existing methods may overestimate leaf area by at least 5 % for 43 % of global species.

Taxon
global speciese4
Outcome
leaf areae4
Direction
overestimatee4
Value
at least 5 %e4

Verbatim

e4

“existing methods may overestimate leaf area by at least 5 % for 43 % of global species”

✓ located verbatim in the source · abstract, characters 1438–1524 · show in text ↑
Observationobservedoriginal resultnegativemeasured

Claim · model-written summary

SALMA achieves comparable errors for only 2.1 % of species.

Taxon
speciese5
Outcome
comparable errorse5
Value
2.1 %e5

Verbatim

e5

“SALMA achieves comparable errors for only 2.1 % of species”

✓ located verbatim in the source · abstract, characters 1534–1592 · show in text ↑