Magnetic resonance imaging produces no image. A receiver coil produces a voltage, sampled by an analogue-to-digital converter; the array of complex samples is assigned positions in a spatial frequency space, and the image is the inverse transform of that assignment. The assignment requires knowing where in \(k\)-space each sample was taken, and that is not measured with the sample.
For Cartesian acquisitions the trajectory is a set of straight lines and small errors are absorbed into a phase. For spiral and radial trajectories the \(k\)-space position is the time integral of a gradient waveform, and the gradient amplifier responds to its command with a delay. A delay of a few microseconds displaces every sample along the spiral arm, and the displacement is different for the two axes.
A Siemens raw file was taken from a public deposition: a two-dimensional multi-echo turbo spin echo with \(160\) spiral interleaves, \(16\) receive channels, \(91\) ADC samples per readout at \(10\,\mu \)s dwell, acquired at \(123.252476\) MHz on a \(160\) mm field of view reconstructed to a \(160^2\) matrix.
The header carries the gradient delays as fixed quantities:
These are integers, they differ between axes, and they are attached to the gradient coil part number rather than to the session. They are not a measurement made during this scan; they are a table entry for this hardware, marked valid. The regridding fields that would hold a per-acquisition correction, alRegridDelaySamplesTime and aflRegridADCDuration, are zero.
The trajectory was shifted in time by an assumed delay, the data regridded onto a Cartesian lattice with a Gaussian kernel and radial density compensation, and the image formed as the root sum of squares over channels. Only the assumed delay was changed; the samples are identical throughout.
Each column is a quantity that has been proposed, and is in use, as the objective to optimise when the delay is not known:
The six criteria return two values, and neither is the one the scanner recorded. Three of them — energy, sharpness and \(L_1/L_2\) — are monotone over the entire range tested and would continue to select larger delays if the range were extended: they do not have an interior optimum at all.
The reason is visible in the same table. Displacing the trajectory does not blur the image; it moves signal from the object into high spatial frequencies, which raises the gradient magnitude and the peak value while leaving the mean unchanged. An edge artefact and a resolved edge are indistinguishable to a gradient-based criterion.
Taking the header value as the reference, the root-mean-square difference of the reconstructed magnitude, normalised to its mean:
At zero assumed delay — taking the nominal trajectory as commanded — the image differs from the header-corrected image by more than its own mean value. Reversing the sign of the correction reduces the total signal by a factor of two (\(5.12\times 10^{-7}\) against \(1.11\times 10^{-6}\)) while increasing the sharpness to \(0.0949\), above the header value’s \(0.0923\).
The delay is not measured during the scan. It is either read from a table indexed by the gradient coil, or determined by reconstructing the image under several assumed values and selecting the one that optimises a criterion computed on the reconstruction. In the second case,
This is the structure of self-calibration in §453, with the gradient delay in place of the antenna gains and the reconstructed image in place of the sky model. It differs in one respect. The interferometric case has a stated model class against which convergence is defined; here the criterion is a scalar summary of the output, and three of the six summaries in common use have no interior optimum to converge to.
Raw Siemens TWIX file spiral_tse_tr_4000_te_16_nechos_10_nspirals_160.dat and the matching ISMRMRD file with measured trajectory, from the deposition 2D Multi-echo TSE spiral MR raw data and Pulseq sequences, Zenodo record 18749100. Read with pymapVBVD 0.6.1 and ismrmrd; \(1600\) acquisitions, \(91\) samples at \(10\,\mu \)s dwell, \(16\) channels, trajectory type spiral.
A computed tomogram is not a photograph of a body. What is recorded is a set of photon counts behind a rotating object; what is displayed is the output of an inversion that assumes which angle each count came from. Magnetic resonance is the same statement in a different basis: what is recorded is a complex voltage in a receiver coil, and the image exists only because a linear gradient field and a Fourier relation are assumed, so that each sample can be assigned a coordinate in \(k\)-space.
In both cases the recorded numbers do not determine a picture. They determine a picture together with an operator, and the operator is a calibration.
All results below come from published measurements, not simulations.
| dataset | content |
| FIPS lotus root | measured X-ray projections, \(2240 \times 366\) |
| Zenodo 1254204, sinogram.mat | |
| FIPS walnut | measured X-ray projections, \(2296 \times 1200\) |
| Zenodo 1254206, FullSizeSinograms.mat | |
| spiral TSE | raw multi-channel \(k\)-space with the measured trajectory |
| Zenodo 18749100, ISMRMRD, \(10\) echoes, \(160\) interleaves | |
| reconstruction | filtered back-projection (CT); gridding with root-sum-of-squares |
| channel combination (MR) | |
| resampling | projections to \(512 \times 360\); MR gridded to \(512^2\), cropped to \(256^2\) |
The lotus-root projections were reconstructed repeatedly. In every case the recorded values were left untouched; only the angle each projection was said to have been taken at was changed.
| assumed geometry | corr. lotus | corr. walnut |
| angles as recorded | \(+1.000\) | \(+0.115\) |
| angle labels shuffled | \(+0.475\) | \(+0.262\) |
| angles assumed \(0\)–\(180^\circ \), not \(0\)–\(360^\circ \) | \(+0.298\) | \(+0.190\) |
| angle order reversed | \(+0.279\) | \(+0.064\) |
| angles offset by \(37^\circ \) | \(+0.363\) | \(+0.180\) |
| angles jittered, \(\sigma = 5^\circ \) | \(+0.948\) | \(+0.124\) |
| detector axis flipped | \(+0.051\) | \(+0.109\) |
| angles compressed to \(0\)–\(90^\circ \) | \(+0.274\) | \(+0.056\) |
| lotus values, walnut arrangement | \(+0.116\) | \(\mathbf {+0.928}\) |
| walnut values, lotus arrangement | \(\mathbf {+0.876}\) | \(+0.121\) |
A five-degree error in the assumed angles, which is within the tolerance any gantry calibration is designed to hold, leaves a correlation of \(0.948\) and a recognisable object. Beyond that the object dissolves: flipping the detector axis alone leaves \(0.051\).
The last two rows are the strongest form of the statement. The lotus-root measurements were sorted and reassigned to the positions occupied by the walnut’s measurements. The multiset of recorded attenuation values is bitwise identical to the lotus root’s, and so is their sum; nothing was added, removed or rescaled. Reconstructed, they correlate with the walnut at \(+0.928\) and with the lotus root at \(+0.116\).
Two objects were placed in a beam, and the photons that passed through one of them reconstruct into the other. What distinguishes the two scans is not the measured values but the correspondence between values and coordinates, and that correspondence is supplied by the geometry file.
The spiral acquisition is a particularly clean case, because the deposition ships two trajectories: the nominal one the sequence requested, and the one measured on the scanner. That two exist is the admission. A gradient delay of a fraction of a sample — the quantity every spiral reconstruction calibrates — displaces every sample in \(k\)-space.
[paste mri_table.tex here]
The final two rows repeat the CT construction in the Fourier basis. The gridded \(k\)-space magnitudes were given the phase of the lotus-root CT image, and then reassigned by rank to that image’s ordering. The multiset of magnitudes is unchanged. The resulting image is the lotus root.
This is the same fact the magnitude image already concedes: structure lives in the phase, and the phase is what a magnitude reconstruction discards. Two objects with identical \(k\)-space magnitudes are not distinguished by anything the display shows.
"the image" ^ inverse operator <- FBP kernel / gridding + density compensation ^ coordinate assigned to each sample CT : the angle in the geometry file MR : k = gamma * integral G dt, assuming G is linear and on time ^ attenuation = -log(I / I0) <- I0 is assumed, not measured with the object ^ counts, or a coil voltage <- integers, and a complex time series ^ the detector <- QE(lambda), itself a thin-film interference result
The layer that fixes the picture is not the layer that is measured. In the CT case the measured values survive a permutation that changes the diagnosis; in the MR case they survive a reassignment that changes the organ. Neither manipulation touches a single recorded number.
All three datasets are public and were used as distributed, with no vendor reconstruction applied. Projections were resampled to \(512\) detector bins and \(360\) angles before back-projection; MR samples were gridded by bilinear scatter onto a \(512^2\) Cartesian grid with radial density compensation and combined across channels by root sum of squares. Derived tables are ct_geometry.csv (\(10\) rows) and mri_encoding.csv. The rearrangement is a rank-preserving permutation: values are sorted and written back in the order of the target’s sorted values, so the multiset is preserved exactly.
An MRI scanner does not record an image. It records a sequence of complex samples, and separately a claim about where in \(k\)-space each sample was taken. The image is the transform of the samples under that claim. This subsection keeps the samples fixed and varies the claim.
| item | value |
| deposit | Super-resolving frequency measurement with mode-selective |
| quantum memory — Data, Zenodo record 18749100 | |
| file | spiral_tse_tr_4000_te_16_nechos_10_ |
| nspirals_160_with_traj.mrd | |
| sequence | Pulseq spiral turbo spin echo, measured trajectory stored |
| subject | a bench phantom: nine vials in a \(3\times 3\) array in a square holder |
| readouts used | \(160\), one echo |
| channels | \(16\), combined by root sum of squares |
| matrix | \(160\), gridded at oversampling factor \(2\) |
| gridding | bilinear, with \(|k|\) density compensation |
The subject matters here. The panel that carries the stored trajectory shows nine circles in a square, and that is a phantom, not tissue. The reference image is therefore not the object either: it is the reading obtained when the stored trajectory is believed.
The complex samples were held fixed and the trajectory replaced by five alternatives: each interleaf declared to lie at a random angle; samples and \(k\)-space coordinates paired at random; the acquisition declared radial rather than spiral; declared an EPI raster; and the readout order reversed.
| declared trajectory | corr. with stored | energy ratio |
| the trajectory stored in the file | \(+1.000\) | \(1.000\) |
| each interleaf at a different angle | \(+0.910\) | \(0.964\) |
| samples and tags paired at random | \(+0.131\) | \(6.691\) |
| declared radial, not spiral | \(-0.174\) | \(6.771\) |
| declared an EPI raster | \(-0.015\) | \(2.848\) |
| readout order reversed | \(+0.174\) | \(15.824\) |
Two of the five are anticorrelated with the stored reading. None of the numbers changed; only the claim about where each was taken.
The energy ratio is not unity in these cases, and the reason is worth stating. Regridding to a Cartesian lattice weights each sample by the local sampling density, so a different declared trajectory is a different weighting as well as a different placement. These panels are therefore a demonstration that the image depends on the tag, not that the tag is free of cost.
A stricter construction holds an invariant fixed. The magnitude spectrum of the reference image is a multiset of \(160^2\) real numbers. That multiset was redistributed onto the spectral ordering of four target images — a CT chest, a cardiac frame, a head, and a reconstructed lotus root — and each result transformed back.
| arranged as | corr. with stored | energy ratio | multiset difference |
| a chest | \(+0.338\) | \(1.020\) | \(2\times 10^{-2}\) |
| a heart | \(+0.583\) | \(1.006\) | \(6\times 10^{-3}\) |
| a head | \(-0.175\) | \(1.000\) | \(1\times 10^{-5}\) |
| a lotus root | \(+0.381\) | \(1.031\) | \(3\times 10^{-2}\) |
The head panel is the sharpest case. Its spectral magnitude multiset agrees with the reference to one part in \(10^{5}\) and its total energy to five decimal places, and it is anticorrelated with the reference image. The arrangement that preserves the recorded numbers most exactly is the one that least resembles what the numbers were said to be an image of.
"nine vials" <- a reading, not a record ^ root sum of squares over 16 channels ^ inverse FFT of a Cartesian grid ^ gridding with density compensation <- changes the energy ^ each sample placed at a declared k coordinate ^ the trajectory file ^ replaced here by five alternatives: -0.17 to +0.91 correlation ^ complex samples, 160 readouts x 16 channels <- THIS is recorded ^ ADC, demodulation, receive chain ^ voltage induced in a coil
The same structure holds for the other reconstructive modalities. A CT image is the inverse Radon transform of line integrals under a declared filter and declared angles; a radiograph is a log ratio under a declared incident spectrum. In each case the detector records a scalar per channel and the anatomy is supplied by the operator applied to it.
One acquisition of a nine-vial phantom, \(160\) readouts, \(16\) channels. Top row and middle row: the same complex samples reconstructed under six different claims about the trajectory. Bottom row: the same recorded numbers with their spectral magnitude multiset redistributed onto the spectral ordering of a chest, a heart, a head and a lotus root. Each panel is annotated with its energy relative to the stored reading and the maximum relative difference between its spectral magnitude multiset and that of the stored reading. The head panel differs from the reference by \(1\times 10^{-5}\) in that multiset and is anticorrelated with it.
The acquisition is the ISMRMRD file listed above, read with h5py; trajectory and sample arrays are taken from the traj and data fields directly, with no vendor reconstruction applied. Gridding is bilinear onto a \(320^2\) lattice with \(|k|\) density compensation, cropped to \(160^2\) after the inverse transform. Channel combination is root sum of squares. Target anatomies are the pydicom test files CT_small.dcm, emri_small.dcm and MR_small.dcm, and a filtered back-projection of a published lotus root sinogram. Derived values are provided as mri_tags.csv (ten rows: declared prior, correlation with the stored reading, energy ratio, relative multiset difference).
Remark 647.1 (Two replies and what they concede). The foregoing analysis meets two standard objections. Both are correct as stated, and both concede the point at issue.
First reply: the instrument is well calibrated, so the problem does not arise.
The calibration is a file. In the detector chain it is a short table of hand-entered gain values; in the homogenisation stage it is a set of environment variables; in the sampling step it is the decision that the aperture integrates arithmetically. Each entry is a proposition about the instrument that the instrument does not itself supply. Substituting a different calibration yields a different image, a different trend, a different count, as the preceding measurements show in each case.
“Well calibrated” is therefore not a statement about the world but a statement of agreement with a convention: the instrument reproduces the values the convention assigns. That agreement is worth having. It is not a check on the convention.
Second reply: in clinical practice the readings work, so the problem is academic.
They do work, and that is the strongest thing that can be said for them. But the accuracy is accuracy under a fixed convention. A haemoglobin value, a tumour grade, a radiological measurement is reliable in the sense that repeating the procedure by the same protocol on the same specimen returns the same number, and that number predicts outcomes within the population on which the protocol was fitted.
This is conditional accuracy, not unconditional. The structure is the one that appears in hedging: a hedge is effective conditional on the correlation structure that defined it, and fails exactly when that structure moves. A clinical threshold is effective conditional on the calibration, the population, and the instrument generation that defined it, and the cases where it fails are not distributed at random — they cluster where the conditioning breaks.
Remark 647.2 (The epistemic request). Nothing above is an argument that these measurements are wrong, that the instruments should be distrusted, or that the practices built on them should change. The request is narrower and is entirely epistemic: that the assumptions be stated.
Mathematics states its axioms. A geometer who assumes the parallel postulate says so, and the statement is understood to be a choice for which no demonstration is offered or expected. The discipline loses nothing by this; it gains the ability to say precisely what depends on what.
Measurement in the empirical sciences proceeds from assumptions of the same logical type without marking them as such:
that the specimen on the slide is the tissue in the body ^ fixation, embedding, sectioning, staining all intervene that the stain marks what it is taken to mark ^ haematoxylin binds anionic groups, not "nuclei" that the pixel grid corresponds to the tissue ^ the grid is the detector's, not the specimen's that the charge packet counts photons ^ the conversion gain is fitted assuming Poisson arrivals that the reference interval defines normal ^ it is a percentile of a chosen population that the threshold separates disease from health ^ the threshold was fitted to outcomes already labelled that the endpoint measured is the endpoint that matters ^ a surrogate, chosen for tractability that the population studied resembles this patient ^ external validity, assumed and not demonstrated
None of these is demonstrable within the practice that relies on it. Each has been investigated — there are literatures on fixation artefact, stain variability, scanner differences, reference-range drift, threshold instability, surrogate endpoints — and each investigation is carried out using instruments and categories resting on assumptions of the same kind.
The point is not that the practice is unreliable. It is that its reliability is of the same species as the reliability of a geometry: internal consistency under a set of posits, held because they have proved workable and not because they have been established. A practitioner who holds that the empirical sciences deal in facts while mathematics deals in assumptions has the relation inverted, since the mathematician at least writes the assumptions down.
What lies at the base of every chain traced here is not a measurement. It is a commitment to a set of conventions, maintained because the practice built on them functions — which is the form of a belief, not of a proof. To say so is not to withdraw confidence from the practice. It is to ask that the confidence be correctly described.
The preceding subsections varied the reduction as a whole. A detector is not a whole. It is an array of elements, each with its own conversion gain, its own position on the substrate, and its own response curve, and every correction applied to it is therefore a map over pixels rather than a single number.
This subsection perturbs those maps directly, on a real synchrotron micro-CT dataset: tomo_00077, PETRA III beamline P05 nano branch, \(451\) projections of \(768\times 768\) at \(0.4^{\circ }\) steps, \(11\) keV from a double crystal monochromator, \(10\,\mu \)m Gadox scintillator, Hamamatsu C12849-101U sCMOS, \(1.5\) s exposure, \(93\) flat fields and \(10\) dark frames.
The flat field is a map, not a scalar. Over the full detector the mean white level spans \(12\,194\) to \(54\,181\) ADU, a factor of \(4.44\) between the weakest and strongest pixel; within the single row used for reconstruction it spans \(23\,058\) to \(41\,074\), a factor of \(1.78\). The standard deviation of each pixel across the \(93\) flat frames averages \(786\) ADU, or \(2.1\%\) of its own level, and the beam itself drifted by \(-3.30\%\) over the sequence.
The flat-field division \((I-D)/(W-D)\) therefore applies a different multiplier to every detector element, estimated from \(93\) realisations of a source that was not constant across them. Which of the \(93\) frames, or which combination, enters \(W\) is a choice; the drift guarantees that the choices differ.
The distribution is not symmetric: the first percentile lies at \(28\,253\) ADU and the ninety-ninth at \(43\,267\), while the maximum is \(54\,181\). The factor of \(4.44\) is set by a tail, and whether that tail is treated as detector response or as defective pixels is a further decision, made by a threshold.
A perturbation of the gain map was applied at fixed amplitude (\(5\%\) rms) and varying correlation length \(L\), in detector pixels. At large \(L\) the perturbation is a smooth global gradient; at \(L=0\) it is independent per pixel, which is what an uncorrected gain map actually is.
The area changes by less than \(1.5\) across the whole range, but the object count goes from \(6\) to \(39\). A \(5\%\) gain error that is smooth leaves the specimen intact; the same error uncorrelated between neighbouring pixels breaks it into forty pieces. What changes is not the size of the object but whether it is one object.
The same experiment for the position map — each detector column displaced by an amount drawn at correlation length \(L\) and rms amplitude \(a\):
The ordering is not monotone in \(L\). A displacement correlated over \(200\) pixels — a scale-and-shift of the whole detector — is more damaging (Dice \(0.621\)) than one that is independent per pixel (Dice \(0.833\)), because the latter averages out over \(451\) projections while the former does not. A systematic geometric error is worse than a random one of the same amplitude, which is the opposite of what an error budget quoting an rms would suggest.
Detectors are assembled from modules. Permuting the order of detector blocks, at block sizes from \(128\) pixels down to \(1\):
Dice against the unpermuted reconstruction is \(0.17\)–\(0.29\) throughout, and the major axis grows from \(480\) to over \(1200\) px. Yet the area at \(128\)-pixel blocks, \(101636\), is within \(2\%\) of the unpermuted \(99579\): a measurement of the specimen’s cross-sectional area would not detect that the detector columns had been reordered.
Each element converts charge to counts through its own curve. Applying a per-pixel exponent drawn with standard deviation \(s\):
At \(s=0.40\) the area falls to \(21\%\) of its unperturbed value and the specimen becomes \(25\) fragments. This is the largest effect of any group tested (\(4.99\times \) in area), and it corresponds to the assumption that is least checked in practice: the flat field measures each pixel’s response at one intensity, and linearity between that intensity and the attenuated one is assumed rather than measured.
Over all variants: area \(21246\)–\(171693\) (\(8.08\times \)), thickness \(3.7\)–\(34.2\) (\(9.14\times \)), solidity \(0.13\)–\(0.61\), eccentricity \(0.18\)–\(0.85\), and the number of distinct objects from \(3\) to \(63\).
Two observations follow. The first is that the scalar summaries commonly reported — area, mean attenuation — are the quantities least sensitive to these perturbations, while the topological ones — how many objects there are, whether they are connected — are the most. A porosity or particle-count measurement is more exposed to the detector map than a cross-sectional area is, and it is the former that micro-CT is typically used for.
The second is that none of the perturbations applied here is hypothetical. The per-pixel gain spread is present in the released flat fields at a factor of \(4.6\); the position map is a calibration product obtained from a grid phantom imaged through the same optics; the block boundaries are physical; and the per-pixel response curve is measured at one point and extrapolated. The experiment does not add error to a clean measurement. It varies quantities that are already estimated, within the range over which they are estimated.
Every perturbation in this subsection was scored against the unperturbed reconstruction: Dice with respect to as-is, area relative to \(99\,579\) px. That reference is not the specimen. It is the reconstruction obtained by taking the mean of \(93\) flat frames, the mean of \(10\) dark frames, a ramp filter, the angles as recorded in the header, and Otsu’s threshold.
Each of those is a choice already examined above, and none of them is the specimen either. The dark frames contain pixels at \(19\,343\) ADU with no beam; the flat frames drift by \(3.30\%\) across the sequence and span a factor of \(4.44\) between elements; the angle assignment is a header field; the threshold is a statistic of the histogram the reconstruction produced.
Scoring against as-is therefore measures distance from one particular reduction, not error. Recomputing the same table with a different reference reorders it: under gamma 0.6 as reference the identity reconstruction scores \(0.85\), and under log-polar the ordering changes entirely. The quantity reported as agreement is a function of which reduction was placed at the origin.
This is the same structure as the released ground truth, where the file distributed as the correct image is the output of a reconstruction, and the observation distributed as the measurement was generated from it by forward projection. It is the same structure as the gradient delay of §647, where the criterion selecting the delay is computed on the image the delay produced.
There is no step in this chain at which a quantity is compared against something outside the chain. The detector produces counts; every operation after that produces a candidate, and every candidate is assessed against another candidate. The word distortion presupposes an undistorted state, and the undistorted state would have to be specified in the same terms — a gain map, a position map, a response curve, an angle assignment, a threshold — each of which is estimated from data acquired through the apparatus whose distortion is at issue.
X-ray tube / synchrotron
\(\downarrow \)
scintillator (LuAG:Ce, 100 um) converts X-ray \(\to \) visible
photons
\(\downarrow \) efficiency, afterglow, thickness:
chosen
lens + CMOS sensor photons \(\to \)
electrons
\(\downarrow \) quantum efficiency, fill
factor
ADC electrons \(\to \) ADU
(uint16)
\(\downarrow \) gain, bit depth,
offset
data (451, 768, 768) 10187 – 54515
ADU
data_white (93, 768, 768) 93 flat frames,
drifting
data_dark (10, 768, 768) mean 203, max 19431 (hot
pixels)
\(\downarrow \) every line below is a
choice
which flat? first / last / mean / median /
subset
which dark? mean / median / single frame /
none
drift correction? linear / per-frame /
none
hot pixels? median filter / mask /
keep
\(\downarrow \)
mu = -log( (I - D) / (W - D) ) Beer-Lambert:
monochromatic,
no scatter, linear detector
negative ratios? clip / abs /
drop
\(\downarrow \)
beam hardening polynomial order,
coefficients
ring removal filter width,
threshold
centre of rotation found by optimising the
output
\(\downarrow \)
filtered backprojection ramp / Shepp-Logan / Hann /
…
or SART / SIRT / ML-EM: n iterations
\(\downarrow \)
reconstructed volume (float)
\(\downarrow \)
window / level display
mapping
threshold Otsu / fixed /
manual
\(\downarrow \)
"the bone" area, thickness,
density