Skip to content

Interpret the QC sheet

QC sheet example
QC sheet of a PSR/FG-stained mouse lung, week 16. Images: Dafni Gyftaki-Venieri and Nan Yang, Nanchahal Group, Kennedy Institute of Rheumatology, University of Oxford.

Layout

Every sheet has the slide overview on top and 4 rows of 2 regions below, all on a grid of square panels 8 wide.

  • Top: the slide overview. The slide cropped to the tissue (and every region box, plus a small margin) and scaled to the full sheet width; its height follows the shape of the tissue. It shows
    • the tissue outline in green;
    • the no-data area (never scanned, stored as black) outlined in magenta;
    • the region boxes, numbered by their index in the enabled regions: cyan = used, light grey = not used (single-stain or failed), dark grey = disabled;
    • a scale bar (bottom right).
  • Below: 4 rows of 2 regions, 8 regions per sheet. Each region is a caption bar over a strip of four squares: RGB | stain 1 | stain 2 | Residual, named after your staining protocol (on this PSR + FG example: RGB | PSR | FG | Residual). A slide with more than 8 regions gets more sheets (qc_sheet_<slide>_02.png, ...); empty slots stay white.

The caption reads, for example, #0 used x=29871 y=5351 L0 PSR 5.3° FG 1.9°: region number, status, position in pixels of its pyramid level (L0 = level 0), and the angle between this region's own vectors of the two stains (here PSR and FG) and the calibrated ones. A cyan caption bar means used, grey means not used.

What each square shows

For the default protocol psr-fg; with another protocol, read its two stains in place of PSR and FG.

Square Shows Expect
RGB The region, white-corrected: each channel scaled so the slide's background is pure white, \(255 \cdot I_c / I_{0,c}\). Display only, but it is what deconvolution "sees". Scale bar on it. Red/purple collagen, green-blue cytoplasm.
PSR PSR amount re-drawn alone in the PSR colour; white = none. Fibres, vessel walls, septa.
FG FG amount re-drawn alone in the FG colour. Cytoplasm, muscle, cells.
Residual What the two vectors do not explain, in its own colour. Nearly empty, faint.

Scale bars

Every scale bar follows the 1-2-5 rule: its length is the largest value \(L = m \cdot 10^{e}\) with \(m \in \{1, 2, 5\}\) that is at most a fifth of the image width,

\[ L \le 0.2 \cdot W \cdot \mathrm{mpp}, \]

where \(W\) is the image width in pixels and \(\mathrm{mpp}\) the pixel size in µm. It is labelled in µm, or in mm from 1000 µm up.

Common patterns

  • One stain's structures also show up in the other stain's square (for PSR + FG: collagen fibres in the FG square, or cytoplasm in PSR): the two vectors are too close together. Check which regions deviate most and whether many regions were single-stain.
  • Strong structure in the Residual square: a third colour is present (pigment, haemosiderin, debris, a fold, out-of-focus areas), or the background (\(I_0\)) does not match the slide.
  • RGB square looks tinted after white correction: the background estimate is off, e.g. a slide with almost no glass. Force one with --background R G B and compare.
  • Many grey (not used) regions: boxes too small to contain both stains. Use larger boxes or a coarser level; see Calibrate a new dataset.
  • Boxes cluster in a few dense areas: min_tissue_frac too strict for sparse tissue such as lung; lower it.

The individual full-resolution strips are also saved as separation_<NNN>_<slide>.png and shown in report.html.