How accurate is a published spore Q value, really?

Three new fungi described in 2024 have spores from 3.5 to 23.9 µm long. Using fibub's spore measurer maths we show what blur, pixel size and sample size do to their length-to-width ratio Q, and what their published ranges imply.

Fungal species are still named partly on spore size. A description gives the length and width as (smallest–)90 % range(–largest) µm, the mean of each, and Q, the length divided by the width of a single spore, with its mean Qm. A 2024 paper in MycoKeys described three new fungi from Yunnan whose spores differ enormously in size, from 3.5 × 1.9 µm to 23.9 × 11.0 µm, which makes it a good test case for a question every mycologist has met: how much of a published Q is the fungus, and how much is the microscope? Using the maths behind the spore size measurer we measure drawn spores of exactly those sizes, blur them the way a real objective does, and find that the smallest species loses 0.13 of its Q to blur while the largest loses 0.004. The same counting-and-measuring machinery is behind the stomatal density counter, and the uncertainty propagation calculator turns these errors into an error bar on a ratio.

The paper in brief

The authors collected fungi in Yunnan, sequenced several genes, built trees and described three new species. Their spore measurements are the part we work with:

  • Campanophyllum microsporum: 149 spores from 7 fruit bodies, (2.7–)3.0–4.2(–4.5) × (1.5–)1.7–2.2(–2.6) µm, mean length 3.5 µm, mean width 1.9 µm, Q = 1.4–2.5, Qm = 1.8.
  • Calocera multiramosa: 102 spores, (6.5–)10.4–16.7(–17.0) × (4.5–)5.2–7.4(–8.8) µm, mean 14.3 × 6.3 µm, Q = (1.4–)1.6–2.7(–2.8), Qm = 2.3.
  • Dacrymyces naematelioides: 95 spores, (16.5–)18.5–28.5(–29.5) × (8.7–)8.9–13.8(–14.6) µm, mean 23.9 × 11.0 µm, Q = (1.5–)1.8–2.4(–2.5), Qm = 2.2.

The inner range is stated to hold at least 90 % of the measured values, and measurements were made on a Leica DM6 B microscope. No standard deviations are given, which is normal in a species description, and is the reason a reader cannot tell from the page how precise these numbers are.

Checked with the tools

Three things can move a Q: the spores themselves vary, the image is blurred, and the sample is finite. We looked at all three with the tool’s own code. The spore drawings and the blur are ours; the sizes they are drawn at come from the paper.

1. Qm is not the ratio of the means, but here the difference does not matter. Q is worked out per spore and then averaged, so Qm is the mean of a ratio, which is always at least the ratio of the means. The paper’s own numbers show the gap is small: 3.5 ÷ 1.9 = 1.842 against Qm 1.8, 14.3 ÷ 6.3 = 2.270 against 2.3, and 23.9 ÷ 11.0 = 2.173 against 2.2. In our simulated populations the gap between Qm and the ratio of means is 0.005 to 0.013, well under the rounding in the paper. The tool does it the right way round anyway, from each spore’s own pair.

2. Blur widens a spore without lengthening it, so Q falls. We drew one ellipse per species at the published mean size, 20 pixels per µm, blurred it with a Gaussian of standard deviation σ (our stand-in for a microscope’s point spread; an oil-immersion lens of NA 1.25 has a resolution limit near 0.22 µm), then measured it the way the tool does: automatic Otsu threshold, then the ellipse with the same second moments. At σ = 0.3 µm the Campanophyllum spore reads 2.05 µm wide instead of 1.9 and its Q drops from 1.84 to 1.71; Dacrymyces reads 11.02 instead of 11.00 and its Q moves by 0.004. The bias is almost all in the width, because blur adds a roughly fixed skin of grey around the outline, and that skin is a tenth of the small spore’s width but a fortieth of the large one’s.

Blur bends Q downwards, and small spores mostBlur bends Q downwards, and small spores most-0.4-0.3-0.2-0.1000.10.20.30.40.50.6Blur of the image, sigma (µm)Error in Q (measured − true)Campanophyllum (3.5 × 1.9 µm)Calocera (14.3 × 6.3 µm)Dacrymyces (23.9 × 11 µm)fibub.com
Figure 1. One spore of each species' published mean size, drawn as an ellipse, blurred with a Gaussian of the sigma on the x axis (our assumption of a microscope's point spread), then measured by the Spore size measurer's real chain: automatic (Otsu) threshold, then the ellipse with the same second moments. Blur adds width without adding length, so Q falls, and it falls hardest for the smallest spore.
At blur σ = 0.3 µm True Q Measured Q Width read as
Campanophyllum microsporum (3.5 × 1.9 µm) 1.842 1.714 2.05 µm (+0.15)
Calocera multiramosa (14.3 × 6.3 µm) 2.270 2.255 6.34 µm (+0.04)
Dacrymyces naematelioides (23.9 × 11.0 µm) 2.173 2.169 11.02 µm (+0.02)

3. Pixels are not the problem; two pixels per micrometre is. On sharp images the moment-ellipse measurement is remarkably forgiving. At 2 pixels per µm the small spore’s Q is out by −0.22, but by 5 pixels per µm the error is −0.005 and from there on it never exceeds 0.02 for any of the three species. In other words, a camera giving 10 pixels per µm (a 1,000 × view on a typical sensor) is already far past the point where the pixel grid matters: the optics and the threshold decide the answer.

Pixels per µm: enough is enoughPixels per µm: enough is enough-0.2-0.105101520Pixels per µm in a sharp photoError in Q (measured − true)CampanophyllumCaloceraDacrymycesfibub.com
Figure 2. The same three spores on sharp images of different pixel sizes. Past about five pixels per micrometre the pixel grid is not what limits Q.

4. The published Q ranges imply different spore shapes, not just different sizes. From each species’ 90 % range we can recover the standard deviations the paper does not print: dividing the inner range by 3.29 (the width of a 5th-to-95th-percentile range of a normal distribution in standard deviations) gives length SDs of 0.37, 1.92 and 3.04 µm and width SDs of 0.15, 0.67 and 1.49 µm. Feeding populations with those spreads into the tool, the Q range depends on how strongly a spore’s length and width go together:

Q, 5th to 95th percentile Paper Lengths and widths independent Correlation 0.5 Correlation 0.8
Campanophyllum 1.4 to 2.5 1.50 to 2.31 1.59 to 2.19 1.63 to 2.04
Calocera 1.6 to 2.7 1.71 to 2.77 1.82 to 2.74 1.96 to 2.59
Dacrymyces 1.8 to 2.4 1.60 to 3.04 1.78 to 2.81 1.92 to 2.47

Dacrymyces only reaches a Q range as narrow as 1.8 to 2.4 if its length and width are strongly correlated (around 0.8), that is, if spores are the same shape at different sizes. Campanophyllum’s published range is wider than independent length and width would give, which is what a measurement error of about a tenth of a micrometre on a 1.9 µm width adds, exactly the size of error point 2 predicts. So its Q range is partly its microscope.

Spread of Q within one speciesSpread of Q within one species02040608010011.522.5Q = length ÷ width of one sporeShare of spores at or below (%)5 %95 %CampanophyllumCaloceraDacrymycesfibub.com
Figure 3. Simulated populations (n as in the paper) with each species' published mean length, mean width and 90 % ranges, and a length-width correlation of 0.5 (our assumption). Q varies a lot inside one species, which is why a published Q range is wider than the ratio of the two size ranges.

5. How many spores are enough? Drawing repeated samples from the Campanophyllum population, the standard deviation of Qm across 400 repeats is 0.058 at 10 spores, 0.033 at 30, 0.016 at 100 and 0.014 at the paper’s 149. The mean length is pinned to ±0.03 µm. The percentiles are looser: the 5th percentile of Q still wobbles by 0.03 at n = 149. Measuring 100 spores or more, as this paper did, puts the sample error well below the blur bias, which is the right place for it.

How we made the graphs

The charts and every number above come from scripts/blog-figures/fungal-spore-size-q-value-measurement-limits.mjs in fibub’s public code. It calls, from src/lib/sci/plantimg.ts (the maths behind the spore size measurer): ellipse and noise to draw a spore, luminance, histogram, otsu and threshold for the automatic separation, blobs and the moment ellipse in regions for the measurement, and sporeStats for the published-style summary line.

From the paper: the three species’ mean lengths and widths, their 90 % ranges, their spore counts and the 90 % convention. Our assumptions: the Gaussian blur (the paper does not describe its optics beyond the microscope model), the ±0.15 to ±3 µm spreads being normal, the length-width correlations of 0, 0.5 and 0.8, the image noise, the 23° tilt of the drawn spore and the pale-on-brown colours. Nothing here is the paper’s own image or table.

How we test the maths

tests/sci.mjs runs tests/sci-tools/spore-size-measurer.mjs on every change to fibub:

  • On a made-up set of 10 spores, the mean length must be 10.18 µm and the standard deviation 0.998666, the width SD 0.451664 and the mean Q 1.700060, all matching NumPy to 1e-12, with the 5th and 95th percentiles of length at 8.88 and 11.605 as numpy.percentile gives them.
  • The whole summary line must come out as (8.7–)9.2–11.2(–12.1) × (5.2–)5.5–6.4(–6.8) µm; mean 10.2 ± 1.0 × 6.0 ± 0.5 µm; Q = (1.63–)1.65–1.75(–1.78), Qm = 1.70 ± 0.05; n = 10, so the mycological notation itself is pinned.
  • On the tool’s example photo, the automatic chain must find all 24 drawn spores and recover each one’s length and width within 0.03 µm, with the moment ellipse checked against scikit-image’s regionprops to 1e-9 px in the leaf-area tests.
  • New with this article: a 3.5 × 1.9 µm ellipse drawn at 20 px per µm must measure 3.49 × 1.91 µm sharp, and 2.05 µm wide with Q 1.71 after a 0.3 µm blur, so the blur bias reported here cannot drift.

Check it yourself

On the spore size measurer page, with no photo of your own:

  1. Press Use the example (24 made-up spores at 10 pixels per µm with a 10 µm scale bar along the bottom).
  2. Leave Scale bar length (µm) at 10, press Draw the scale bar and tap the two ends of the black bar. (A tap a pixel or two off changes every size by about 1 %: that is the real-world version of our error analysis.)
  3. In Find spores automatically, leave Spores look on Darker than the background and Threshold blank (automatic), Shortest spore (µm) 2, Longest spore (µm) 100, Largest Q 4, and press Find spores. It finds 24 spores and leaves the scale bar out, because the bar’s Q is about 16.
  4. With Middle range on Mean ± standard deviation the summary line reads (9.0–)9.6–11.3(–11.8) × (5.3–)5.6–6.6(–6.8) µm; mean 10.5 ± 0.9 × 6.1 ± 0.5 µm; Q = (1.42–)1.55–1.91(–2.12), Qm = 1.73 ± 0.18; n = 24.
  5. Switch Middle range to 5th to 95th percentile, the convention this paper uses, and the same spores give (9.0–)9.2–11.7(–11.8) × (5.3–)5.4–6.7(–6.8) µm, with Q = (1.42–)1.49–2.04(–2.12). Same spores, wider published range: always say which convention you used.
  6. Now type 90 in Threshold and press Find spores again to see what a badly chosen threshold does to the sizes, then clear it to go back to automatic.

What researchers can use it for

  • Decide a magnification before a session: our curves say about 5 pixels per µm is enough on a sharp image, so the budget belongs in the objective’s numerical aperture, not the sensor.
  • Put an error bar on a small-spore Q. For spores under about 3 µm wide, quote Q to one decimal place and say what objective was used; feed the width bias into the uncertainty propagation calculator to see what it does to a ratio.
  • Read a published range properly. A narrow Q range means spores of one shape; a wide one means either real shape variation or measurement noise, and the tables above show how to tell them apart from the printed numbers alone.
  • Standardise a lab’s descriptions. The tool writes the (min–)low–high(–max) × ... Q = ..., Qm = ...; n = ... line for you from a CSV of spores, in either convention.
  • Teach measurement bias with the example photo: find spores automatically, then move the threshold and watch the width, and only the width, drift.

The fine print

  • The spores we measured are drawn ellipses, not the paper’s photographs, which we neither used nor reproduced.
  • Our blur is a Gaussian, a crude stand-in for a real point spread function, and a bright-field image of a hyaline spore also has refraction fringes that we did not model.
  • The simulated populations assume normal length and width distributions; real spore sizes are often slightly skewed.
  • We used the published means and 90 % ranges as given. If the paper’s inner range holds more than 90 % of its values, the standard deviations we recovered are too large.
  • Q from a moment ellipse (what the automatic mode gives) and Q from tapping the ends of a spore (what a mycologist does by eye) are not identical; the tool offers both for that reason.

Sources

  • Ma, Y.-H., Liu, P., Chai, H.-M., Zeng, M., Guo, Y.-Y., Chen, W.-M. and Zhao, Y.-C. (2024), Campanophyllum microsporum (Agaricales, Agaricomycetes), Calocera multiramosa, and Dacrymyces naematelioides (Dacrymycetales, Dacrymycetes), three new species from Yunnan Province, southwestern China, MycoKeys 107: 327-350, doi:10.3897/mycokeys.107.125571. Licence CC BY 4.0, stated on the MycoKeys article page and confirmed in the Crossref record, checked 2026-11-24; no correction or retraction in Crossref. Values used here: the three species' published basidiospore measurements, their spore counts (149, 102 and 95 spores), the stated convention that the inner range holds at least 90 % of the measured values, and the definition of Q as the length divided by the width of one spore.
  • Otsu, N. (1979), A threshold selection method from gray-level histograms, IEEE Transactions on Systems, Man, and Cybernetics 9: 62-66 (the automatic threshold the tool uses).
  • The resolution limit of about 0.22 µm for an oil-immersion objective of numerical aperture 1.25 at 550 nm is the standard Abbe limit lambda / (2 NA).

If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.

Tools in this article

Read next