Hostname: page-component-89b8bd64d-5bvrz Total loading time: 0 Render date: 2026-05-13T10:49:54.204Z Has data issue: false hasContentIssue false

Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates

Published online by Cambridge University Press:  22 April 2025

Serge Zaugg*
Affiliation:
Swiss Federal Institute of Metrology METAS, Bern, Switzerland
Camille Vögeli
Affiliation:
Laboratory of Soil Biodiversity, University of Neuchâtel, Neuchâtel, Switzerland
Lena Märki
Affiliation:
Swiss Federal Institute of Metrology METAS, Bern, Switzerland
Clément Duckert
Affiliation:
Laboratory of Soil Biodiversity, University of Neuchâtel, Neuchâtel, Switzerland
Edward A.D. Mitchell
Affiliation:
Laboratory of Soil Biodiversity, University of Neuchâtel, Neuchâtel, Switzerland
*
Corresponding author: Serge Zaugg; Email: serge.zaugg@metas.ch

Abstract

Peat is formed by the accumulation of organic material in water-saturated soils. Drainage of peatlands and peat extraction contribute to carbon emissions and biodiversity loss. Most peat extracted for commercial purposes is used for energy production or as a growing substrate. Many countries aim to reduce peat usage but this requires tools to detect its presence in substrates. We propose a decision support system based on deep learning to detect peat-specific testate amoeba in microscopy images. We identified six taxa that are peat-specific and frequent in European peatlands. The shells of two taxa (Archerella sp. and Amphitrema sp.) were well preserved in commercial substrate and can serve as indicators of peat presence. Images from surface and commercial samples were combined into a training set. A separate test set exclusively from commercial substrates was also defined. Both datasets were annotated and YOLOv8 models were trained to detect the shells. An ensemble of eight models was included in the decision support system. Test set performance (average precision) reached values above 0.8 for Archerella sp. and above 0.7 for Amphitrema sp. The system processes thousands of images within minutes and returns a concise list of crops of the most relevant shells. This allows a human operator to quickly make a final decision regarding peat presence. Our method enables the monitoring of peat presence in commercial substrates. It could be extended by including more species for applications in restoration ecology and paleoecology.

Information

Type
Application Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Open Practices
Open data
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Table 1. Taxonomic definition of classes and their status as peat indicators. *1 Nebela tincta, N. pechorensis, Navicula guttata, N. gimlii, N. rotunda, Navicula bohemica, N. collaris, N. minor

Figure 1

Figure 1. One image was obtained with 20-fold magnification from a commercial peat sample. A shell of Archerella sp. is shown with a red arrow. Many unidentified plant residues are present all over the image.

Figure 2

Figure 2. Individual from the 10 morpho-species groups used in this study. (A) Archerella sp (B) Archerella degraded (C) Assulina sp (D) Amphitrema sp (E) Hyalosphenia elegans aggr (F) Hyalosphenia papilio (G) Heleopera sphagni (H) Planocarina carinata (I) Euglypha sp (J) Nebela combined.

Figure 3

Figure 3. Schematics of how images were obtained via manual grid and active search (A, B) and how they could be acquired via automated scanning in the future (C). Each red box schematically represents a single image.

Figure 4

Table 2. Count overview of all samples and images. Comm: Commercial; The letters L, C, and R (Left, Center, Right) refer to the actively chosen position of the shell in the images obtained with active search

Figure 5

Table 3. Overview of number of manually annotated individuals per class in Dataset 1

Figure 6

Table 4. Active search shell counts from all commercial peat samples were used to estimate the number of shells per slide for each class. Left and right images were discarded and only the center image was used to avoid counting the same specimen 3 times

Figure 7

Table 5. Grid search shell counts from all commercial peat samples were used to estimate the number of shells per image for each class

Figure 8

Figure 4. Matrix view of testate amoeba distribution of all commercial peat samples (one sample per row, Dataset 2: 11 samples, Dataset 3: 12 samples). Values are the count of individual shells found with active and grid searches. Dataset 2: Grid and active search images from different slides. Dataset 3: Grid and active search images from the same slides. Count values are color-coded with shades of green for easier reading.

Figure 9

Figure 5. Average Precision (AP) of the models individually (blue dots) and the ensemble (red dots) for several model sizes and training procedures.

Figure 10

Figure 6. Precision-recall curves were obtained by predicting all test images with the 8 models individually (blue lines) and the ensemble (red line). Test data from grid and active search pooled (2415 images). Nbox (GT): number of annotated ground truth boxes.

Figure 11

Figure 7. Precision and recall vs ensemble score obtained with the grid search test data (1600 images). Only available for Archerella because Amphitrema and Assulina had too few items in the test set. These curves allow us to estimate the errors if a particular threshold is applied to the ensemble score. Corresponding crops with ensemble scores can be seen in Figure 10.

Figure 12

Figure 8. Same as Figure 7 but obtained with 1872 images of test data from grid and active search. Actual crops with ensemble scores can be seen in Figures 11,13, and 15.

Figure 13

Figure 9. Ground truth in the test set for N = 17 Archerella sp from grid search. Order is arbitrary. The 15 individuals that were detected are framed in green.

Figure 14

Figure 10. Automatically detected candidates of Archerella sp ranked by ensemble score (only top rows shown). Obtained from 1600 grid search images of the test set. The correctly detected shells are framed in green. Uncertain but quite likely are framed in yellow.

Figure 15

Figure 11. Automatically detected candidates of Archerella sp ranked by ensemble score (only top rows shown). Obtained from the 1872 grid and 272 active search images of the test set. Two items that were labeled as Archerella degraded due to masking are framed in yellow; the remaining 73 crops are correctly detected shells.

Figure 16

Figure 12. Ground truth in the test set for N = 24 Amphitrema sp from grid search (top) and active search (bottom). Order is arbitrary. The 19 individuals that were detected are framed in green.

Figure 17

Figure 13. Automatically detected candidates of Amphitrema sp ranked by ensemble score (only top rows shown). Obtained from 1600 grids and 272 active search images of the test set. The correctly detected crops are framed in green.

Figure 18

Figure 14. Ground truth in test set for N = 19 Assulina sp active search (zero individuals were found with grid search). Order is arbitrary. All 19 individuals were detected and are framed in green.

Figure 19

Figure 15. Automatically detected candidates of Assulina sp ranked by ensemble score (only top 5 rows shown). Obtained from 1600 grids and 272 active search images of the test set. The correct detections are framed in green.

Author comment: Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates — R0/PR1

Comments

Dear Editors

We are glad to submit our article, “Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates ” to your journal.

This work is the result of a close collaboration between two institutions. It presents an innovative application based on modern computer vision tools, specifically Deep Learning, for the difficult task of detecting peat in commercial substrates.

Our development will contribute to addresses critical global issues such as conservation, sustainability, and carbon emissions.

Further it could represent a valuable tool for environmental research.

We believe it aligns well with the scope of your journal.

Please find all the necessary material in the uploaded files.

Best wishes

Serge Zaugg

Review: Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates — R0/PR2

Conflict of interest statement

I have collaborated on various tesate amoebae projects with Edward Mitchell. Edward collaborates widely and its a small field, so this would be the cas for a larger number of teaste researchers. Note from the AE: This was removed from the review to keep it single blind until publication: "Review of Zaugg et al ‘Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates’. By David M Wilkinson. Note I have no expertise in AI deep learning systems, so this review only comments on the testate amoebae and peatland aspects of the paper. Note also (as described in competing interests) I have collaborated extensively with Edward Mitchell in other studies."

Comments

This is an interesting and a potentially useful approach. It could easily take 1-2 hours to find and count a small number of testates when they are at such low density using conventional microscopy. Clearly that is not practical for large numbers of samples! The paper is well constructed and could (as far as the testate and peatland aspects go) reasonably be published as it is without any changes.

However, I have two minor suggestions that I think would be useful to add.

1/ Increasingly eDNA approaches are being used in environmental monitoring etc instead of microscopy. It may be worth pointing out in the Introduction that this is unlikely to work in this case as many of the testate amoebae in these peats will be empty sub-fossil shells.

2/ At the start of section 4.5 ‘Strengths and limitations’ the authors correctly point out that this approach can rule-in (but not exclude) the sample as containing peat. If the authors agree with me than it may be worth making the point that this approach is likely to work best with raised bog peat – fen peats and blanket bog peats can often contain rather few preserved testates – although this can vary from site to site (or level-to-level within one core).

Review: Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates — R0/PR3

Conflict of interest statement

Reviewer declares none.

Comments

This paper provides a valuable contribution by demonstrating the use of testate amoebae shells as a forensic tool for detecting peat in horticultural substrates. The analysis is robust, and the findings offer a practical method for others seeking to verify the presence of peat. I have some minor comments on the manuscript.

Minor Comments:

• Sphagnum should be italicized.

• In “CO₂,” the “2” should be subscript, not superscript.

• The sentence: “The certification of peat-free substrates, which is an important tool for reducing the peat content of substrate, is nowadays based on the traceability of supply chains.” Could you elaborate on why peat is still entering so-called peat-free substrates and the legality of this issue? As both a peatland scientist and a gardener, I would be deeply concerned if I purchased peat-free compost only to discover it contained peat.

• Playing devil’s advocate—would the presence of Sphagnum leaves not serve as a more straightforward indicator of peat contamination?

Professor Graeme Swindles, 18/02/2025

Recommendation: Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates — R0/PR4

Comments

The reviewers agree that the manuscript is already in a good shape and only minor revisions are necessary. Please consider the suggestions carefully.

Decision: Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates — R0/PR5

Comments

No accompanying comment.

Author comment: Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates — R1/PR6

Comments

Dear Editors, Dear Reviewers,

We have revised the manuscript according to the two reviewer’s comments.

Please see details in our replies and in the revised manuscript (both uploaded as pdf on the system)

Best wishes, Serge

Review: Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates — R1/PR7

Conflict of interest statement

Reviewer declares none.

Comments

Many thanks for addressing my review comments.

Review: Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates — R1/PR8

Conflict of interest statement

As before.

Comments

I am quite happy with the changes.

best wishes

Dave Wilkinson

Recommendation: Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates — R1/PR9

Comments

The authors addressed all comments from the reviewers and there are no open comments left. I also took a closer look at the machine learning part of the manuscript and convinced myself that the manuscript can be accepted.

Decision: Decision support for the identification of testate amoebae in microscopy images to detect peat presence in horticultural substrates — R1/PR10

Comments

No accompanying comment.