The remark above establishes that every micrograph is the end of a chain of conversions. Here each link of that chain is replaced, one at a time, starting from the earliest layer that is publicly available, and the resulting images are shown side by side. No species name, no stain interpretation and no segmentation model is used; the only input is the array of integers written by the detector.
Inputs. Three records were used, each at the earliest layer its depositors released (Table 244). Files were admitted only if they were the camera’s integer output; 8-bit conversions, annotation masks and processed outputs were excluded automatically and the exclusions logged.
| Record | Detector | Layer used | Steps already applied by depositor |
| EMPIAR-10981 [970] | K3 direct-electron | unaligned frame stacks | none (gain not applied) |
| DeepBacs B. subtilis [969] | sCMOS (Prime BSI) | 16-bit camera output | none known |
| DeepBacs S. aureus [969] | sCMOS (PCO Edge 5.5) | 16-bit camera output | none known |
Layers and the options applied. Let \(D(x,y)\) denote the recorded integer at pixel \((x,y)\), and for electron data let \(D_k(x,y)\) be the integer in frame \(k\). Each layer is a map applied to the output of the previous one; all other layers are held at the default shown in bold.
| Layer | Options |
| Frame summation | \(D_0\); \(\mathbf {\sum _k D_k}\) (unaligned); \(\sum _{k\ \text {odd}} D_k\) |
| Readout of the integer | identity; \(\log (1+D')\); \(\sqrt {D'}\); \(1/(1+D')\); rank; \(D \bmod 256\); top four bits; lowest bit \(D \bmod 2\); \(\max D - D\) (\(D' = D-\min D\)) |
| Sampling | none; \(2\times 2\) mean; \(4\times 4\) mean; every third pixel; fixed permutation inside \(4\times 4\) blocks |
| Tone | min–max; 1st–99th percentile; \(\gamma =0.4\); \(\gamma =2.5\); histogram equalisation |
| Colour | grey; two colour maps; Bayer interpretation as RGGB, BGGR, GRBG, GBRG with bilinear demosaicing; channel order permuted; white balance \((2.2,1,0.45)\) |
| Object boundary | Otsu (bright); Otsu (dark); Li; 50th percentile; 90th percentile |
What each layer does to the same integers.
| Layer | Observed change |
| Frame summation | A single electron frame is indistinguishable from noise; the outline of a cell appears only after summation, and differs between the full and odd-frame sums. |
| Readout | Reading \(D \bmod 2\) removes every object in all three records and leaves uniform noise. Reading \(D \bmod 256\) dissolves the S. aureus objects and turns the B. subtilis points into ring-shaped clusters. Rank, logarithm and reciprocal raise a cloud-like background structure absent under identity; reciprocal and \(\max D - D\) invert bright points into dark ones. |
| Sampling | \(4\times 4\) averaging alters the texture of the electron image; block permutation leaves the coarse picture but destroys pixel-level structure. |
| Tone | Min–max and \(\gamma =2.5\) render the electron image and most B. subtilis points nearly black; equalisation creates background patterns in both sCMOS records that no other tone shows. |
| Colour | The same monochrome integers become grey, green, purple, white-with-rings or orange images depending on the colour map and white balance chosen. |
| Object boundary | The number and shape of “objects” is set by the threshold rule: the 50th-percentile rule merges the B. subtilis points into a few large connected regions and marks almost the whole S. aureus field, and in the electron image most rules mark nearly the entire field. |
No layer in this chain is fixed by the specimen. Which points are “cells”, how many there are, whether they are bright or dark, round or connected, and what colour they have, all change when a single rule is substituted while the recorded integers stay the same.
Layers before the integer cannot be replaced after the fact. The conversion of incident light or electrons into charge, the amplification, the offset and the converter itself acted at the moment of recording and are fixed in the stored integers. The readout row of Table 245 replaces the calibration relation, that is, the rule by which the integer is read as a quantity, rather than the physical conversion. Striking the conversion itself requires recording the same specimen under changed detector settings.
The colour layer here is imposed, not recovered. All three records are monochrome: neither the sCMOS cameras nor the direct-electron detector carries a colour filter array. The colour row therefore assigns colour to integers that had none, which shows that colour is a choice but does not show a recorded colour being overturned. Applying the four Bayer interpretations to monochrome data gives nearly identical grey images, because there is no filter pattern for the interpretation to act on. Overturning the colour of a Gram-stained image requires colour mosaic data recorded before demosaicing, which is not publicly available and must be recorded directly with a camera that stores the sensor mosaic (for example an Android RAW_SENSOR DNG; Apple ProRAW is already demosaiced).
Remark 100.1. With colour mosaic data recorded before demosaicing (for example a DNG of a Gram-stained slide), the same substitutions would act on the recorded filter pattern itself. Changing the Bayer interpretation, the channel order or the white balance would then turn violet into blue, grey or red, so the Gram call, and every colour-based classification built on it, would change with the rule while the recorded integers stay the same.
Electron frames. The EMPIAR-10981 stacks are unaligned and were used without a gain reference; they were binned \(4\times 4\) before the readout layer to keep computation tractable, so the finest sampling shown for this record is already one choice among others.
Display size and crops. Object boundaries were computed after reducing each image to at most 1024 pixels on its longer side, and the colour row was applied to the central \(1024\times 1024\) crop so that a Bayer interpretation keeps its \(2\times 2\) period. Each figure shows one input per record; the same chain was applied to all admitted inputs (96 in total).
The final reading. Every image in this section is in turn read by a human eye, whose photoreceptor mosaic, retinal processing and cortical reconstruction form a further chain of the same kind that is not struck here.
Ultimately, what this shows is that the data we take to be raw is never raw still.
What the pictures in papers already are. The stained cells, the bands and the labelled traces reproduced in the literature are not near the floor. They have been through a camera’s colour map, a white balance, a contrast stretch, a background subtraction and a choice of lookup table before they are printed, and then through the eye of Section 102.2. The figures in this work that come from the almost near raw records look nothing like them, because they are the arrays as stored: an intensity scatter, a lane profile, a flow signal, a grey plate. A published micrograph of purple rods and a raw sensor array are the same record at two heights; the difference between the two pictures is the set of operations this work has been varying.
For example, these images below look real and raw, but they have actually been heavily retouched and are not the raw.
Figure 218 is not raw data. It is a finished image prepared for display, and its own description names the steps that produced it.
| Description | Processing actually applied |
| wide-field fluorescence | each channel recorded separately by a monochrome camera; no colour filter mosaic |
| deconvolved | blur removed by computation; the displayed values are recomputed from a model of the optics, not the recorded integers |
| chromosomes green (DAPI) | colour assigned afterwards to a monochrome channel |
| microtubules pink, GTPase blue | colours likewise chosen for the remaining channels |
The colour of the DAPI channel is the clearest case. The same channel is shown blue in most publications and green here; nothing in the recorded integers fixes either choice. In terms of the chain given above, this image has already passed through deconvolution, colour assignment per channel, compositing and preparation for display. It is used here as an example of a processed result, not as data.
Note: these images above were selected as representative examples.
How much can these pictures be trusted? Not at all. Seeing guarantees nothing, and it never will. To believe what one sees is too naive. There is nothing here to trust, not even oneself.
We don’t generally trust pictures and photographs much because, from the bottom up, they can be easily manipulated or fabricated. After all, who knows which photograph is the true one? I doubt such a thing exists at all.
This is not a counsel of despair. The point is not that nothing can be known, but that seeing is not a guarantee, and knowing this is an advantage rather than a loss. Once every layer between the specimen and the picture is visible, each one can be named, varied and checked, and what remains after all of them have been struck is understood more clearly than before.
The same chain in a phone. A photograph is taken to be a record of what was in front of the lens, and it is built the way every record in this work is built. Each site on the sensor is a photodiode that accumulates charge; the charge becomes a voltage and the voltage a number, 14 bits per site on recent iPhones [961]. A photodiode has no colour: each one sits under a single filter of a Bayer array, a repeating \(2\times 2\) of one red, one blue and two green, so that every site records one number and two of the three values ascribed to it are absent. Demosaicing supplies them by interpolating from the neighbours [962], and what the viewer calls the colour of a pixel is therefore two parts reconstruction to one part measurement. Three filters are chosen, as four dyes were chosen in Section 485.1; with a different filter set the same scene is recorded in a different number of channels.
Above that sit the usual layers. The image signal processor applies black-level subtraction, white balance against an estimated illuminant, noise reduction, tone mapping and sharpening, and on these phones several exposures are merged before any of it is displayed [963]. Even the format offered as raw is not the sensor’s output: Apple ProRAW is a demosaiced linear DNG with much of that pipeline already applied [964]. A photograph is thus a set of detector counts, interpolated into channels that were not measured, corrected against a reference that was estimated, and combined across frames, carried out several billion times a day without anyone calling it a measurement.
No image used in this section, and no image anywhere in microscopy, is the specimen itself. Each one is the end of a fixed chain of conversions, and every link in that chain is a rule chosen by the instrument maker, the operator or the software.
From incident quanta to integers. Light or electrons arriving at the detector are first converted into charge: photons in a silicon photodiode (CMOS, CCD, sCMOS), electrons either through a scintillator that emits light onto such a sensor or directly in a silicon direct-electron detector, and in a confocal photomultiplier through a photocathode and an amplifying dynode chain. The accumulated charge is read out, amplified and passed through an analog-to-digital converter, which returns an integer, the digital number
From integers to colour. A colour camera places a Bayer mosaic of red, green and blue filters over the sensor, so each pixel records one integer behind one filter. The familiar RGB picture is then computed: the offset is subtracted, the two missing colour values at each pixel are interpolated from neighbours (demosaicing), a white balance and a colour matrix are applied, a gamma or tone curve is imposed, and the result is usually compressed. Two of the three colour values at every pixel are therefore estimates, and the colours themselves are a choice of filters, matrices and curves.
Instruments without colour. Monochrome fluorescence and bright-field cameras skip the mosaic but keep the conversion to charge and the converter. Electron micrographs are integer counts per pixel, often summed over frames after motion correction and multiplied by a gain reference. Atomic force microscopy has no camera at all: a laser reflected from the cantilever falls on a quadrant photodiode, and the reported height is a piezo voltage converted to length through a calibration table.
Status of the data used here.
Dataset | Detector | Earliest available layer |
EMPIAR-10981 [970] | K3 direct-electron detector | unaligned frames, 8-bit counts, gain not applied |
DeepBacs [969] | sCMOS (monochrome) | 16-bit camera output |
DIBaS [928] | Olympus SC30 (colour CMOS) | processed RGB only |
|
Only the electron-counting frames and the 16-bit sCMOS output come close to the converter’s integers. The DIBaS images, and every published RGB micrograph, have already passed through demosaicing, white balance, colour matrix and tone curve, so they are not raw data in the sense used here; colour, shape and boundary readings taken from them inherit all of those steps. Colour Bayer data at the level of the mosaic are not publicly available for Gram-stained specimens and must be recorded directly.
We could not go deeper than the ADC: everything below the integers it writes, the charge, the voltage and the light itself, is not in the record.