708 Neuroscience (Neuroimaging)

A brain image is not a photograph. Every modality listed below records a physical signal that is not a spatial map, and produces one by inverting a model. This subsection sets out what each measures and what the inversion supplies.

708.0.1 What is recorded
modality recorded quantity the image is
structural MRI RF voltage in a receive coil inverse FT of \(k\)-space
fMRI same, \(T_2^{*}\)-weighted BOLD contrast, not neural firing
DTI/DWI signal loss under gradients a tensor fitted per voxel
MRA flow-related signal subtraction of two acquisitions
MRS free-induction decay peak areas after model fitting
CT X-ray attenuation along rays filtered back-projection
PET coincident 511 keV pairs iterative reconstruction
SPECT single photon counts reconstruction with collimation
EEG scalp potential differences a source model, if any
MEG extracranial magnetic flux a source model, if any

None of these records a position. Each records a signal indexed by something else –- spatial frequency, projection angle, gradient direction, electrode –- and the position is produced by an inversion.

708.0.2 The inversion is ill-posed

For EEG and MEG the inverse problem has no unique solution. Helmholtz showed that a potential distribution on a closed surface does not determine the current distribution inside it: there exist non-trivial source configurations producing exactly zero field outside, the silent sources. Adding any of them to a solution changes nothing measurable.

Formally, with \(m\) sensors and \(n\) candidate source locations, \(n \gg m\) and the lead-field matrix \(L \in \mathbb {R}^{m\times n}\) has a null space of dimension at least \(n-m\). The reported source is

\[ \hat {j} \;=\; \arg \min _{j}\ \|\,\Phi - Lj\,\|^{2} + \lambda \,R(j), \]
and the image is determined by \(R\) and \(\lambda \), not by \(\Phi \). Different choices of \(R\) give different answers to the same data:
\[ \begin {array}{ll} R(j) = \|j\|^{2} & \text {minimum norm; spreads sources, biased to superficial} \\ R(j) = \|Wj\|^{2} & \text {weighted; depth bias removed by a chosen } W \\ R(j) = \|\nabla ^{2}j\|^{2} & \text {LORETA; maximally smooth} \\ R(j) = \|j\|_{1} & \text {sparse; few focal sources} \\ \text {beamformer} & \text {spatial filter per voxel, assumes uncorrelated sources} \\ \text {dipole fit} & \text {assumes a stated number of point sources} \\ \end {array} \]
The number of dipoles in a dipole fit is entered by the operator. LORETA returns a smooth distribution because smoothness is what it minimises. The sparse solution returns focal sources because sparsity is what it penalises. Each is a different picture of one recording, and the data do not select between them.
708.0.3 The forward model

Every inverse solution requires \(L\), which requires a head model: the conductivities of brain, skull and scalp, and the geometry of their boundaries. Skull conductivity is not measured per subject; a ratio to brain conductivity is assumed, and published values for that ratio span roughly an order of magnitude. The boundaries come from a segmented MRI, which is itself an inversion.

Where no individual MRI is available a template head is used, and the sources are reported in the coordinates of a brain that is not the subject’s.

708.0.4 \(k\)-space

MRI does not scan space. The receive coil records

\[ S(k_x,k_y) \;=\; \int \!\!\int \rho (x,y)\, e^{-2\pi i (k_x x + k_y y)}\,dx\,dy, \]
the Fourier transform of the transverse magnetisation, sampled on a trajectory set by the gradient waveforms. The image is \(\mathcal {F}^{-1}S\).

What follows is that the image depends on how \(k\)-space was sampled and on what was done to the unsampled part. Partial-Fourier acquisition measures somewhat more than half of \(k\)-space and synthesises the rest by conjugate symmetry. Parallel imaging omits lines and reconstructs them from coil sensitivity profiles, themselves estimated from a calibration scan. Compressed sensing omits lines pseudo-randomly and recovers the image by imposing sparsity in a chosen transform domain — which is to say, by the same kind of regulariser as the EEG inverse.

Contrast is likewise set by the sequence. The same tissue is bright or dark according to the echo time, repetition time, inversion time and flip angle. A \(T_1\)-weighted and a \(T_2\)-weighted image of one head do not merely differ in appearance; they invert the ordering of the tissue intensities. There is no sequence-independent brightness of grey matter.

708.0.5 BOLD

Functional MRI does not measure neural activity. It measures a \(T_2^{*}\) signal change arising from the ratio of oxygenated to deoxygenated haemoglobin, which changes because blood flow overshoots oxygen consumption. The inference from that signal to activity requires a haemodynamic response function, which is assumed — conventionally a double-gamma of fixed shape — and convolved with an assumed model of the experimental design.

A voxel is called active when a statistic exceeds a threshold, and the threshold requires a correction for the number of voxels tested. The reported map is therefore a function of the HRF shape, the design matrix, the smoothing kernel, the threshold, and the multiple-comparison correction. The demonstration that a dead salmon shows significant activation under an uncorrected threshold is the canonical illustration.

708.0.6 Reconstruction in CT, PET and SPECT

Filtered back-projection is exact only for complete, noiseless, parallel projections. Real acquisitions are none of these, and the filter — ramp, Shepp–Logan, Hann — trades resolution against noise by a choice.

Iterative reconstruction, standard in PET, is an optimisation stopped by the operator: the number of iterations and subsets determines how much detail appears, and running further does not converge to a better image but amplifies noise. Attenuation correction requires a map of tissue density, supplied by a CT scan in PET/CT and by an MRI-derived pseudo-CT in PET/MR, since MRI does not measure electron density at all.

PET quantifies uptake as a standardised uptake value,

\[ \mathrm {SUV} = \frac {\text {activity concentration}}{\text {injected dose}/\text {body weight}}, \]
whose denominator can be body weight, lean body mass or body surface area, giving different numbers for the same scan.
708.0.7 DTI

Diffusion tensor imaging fits a single \(3\times 3\) tensor per voxel. A voxel of \(2\) mm contains on the order of \(10^{5}\) axons in multiple orientations, and one tensor cannot represent crossing fibres — estimated to occur in the majority of white-matter voxels. Where fibres cross, the fitted tensor points in a direction along which no fibre runs.

Tractography then propagates streamlines through the tensor field, subject to a step size, an angular threshold, a stopping criterion and a seeding scheme. The streamlines are integral curves of a fitted field. Validation studies against tracer injection report substantial rates of both missed and spurious connections, and a published challenge found that submitted tractograms contained more invalid than valid bundles.

708.0.8 The same signal, a different picture

The point is not that the images are wrong. It is that the mapping from signal to picture is not unique, and that the alternatives are not distinguishable by the data:

\[ \begin {array}{ll} \text {one MEG recording} & \to \text {diffuse smooth map (LORETA)} \\ & \to \text {two point dipoles (dipole fit)} \\ & \to \text {a sparse focal set ($\ell _1$)} \\ \text {one } k\text {-space dataset} & \to T_1\text {-weighted}\ \text {or}\ T_2\text {-weighted} \\ & \to \text {different resolution, different filling of the unsampled part} \\ \text {one PET dataset} & \to \text {sharp or smooth by iteration count} \\ \text {one diffusion dataset} & \to \text {different tracts by step and angle} \\ \end {array} \]

signal \(\longrightarrow \) inverse problem \(\longrightarrow \) image
      \(\uparrow \)
     regulariser,
     head model,
     sequence, threshold

The picture of a brain is one solution among many consistent with the recording. Choosing a different regulariser renders the same signal as a different brain.

708.1 Neuroimaging

Data and methods

The experiments below use synthetic phantoms and analytic tissue models rather than acquired scans, so that the ground truth is known exactly and the effect of each processing choice is isolated. The image phantom is the Shepp–Logan phantom (skimage.data.shepp_logan_phantom) at \(256\times 256\), the standard test object for reconstruction. MRI contrast is computed from published relaxation times for CSF, grey matter, white matter and fat. The lead field for the source-localisation experiment is a \(32\times 600\) matrix built from an inverse-square falloff between \(32\) sensors on a ring and \(600\) candidate source positions. Projections use skimage.transform.radon and iradon; the PET reconstruction is maximum-likelihood expectation maximisation on Poisson-sampled projections; the fMRI experiment simulates \(4000\) voxels of which \(300\) carry signal.

Nothing here depends on a particular subject or scanner. What is being measured is the dependence of the output on the processing choice, and that dependence is a property of the algorithms.

708.1.1 The image is an inverse transform, not a scan

MRI records the Fourier transform of the transverse magnetisation on a trajectory in \(k\)-space; the image is \(\mathcal {F}^{-1}\) of what was sampled. Reconstructing the same phantom from different portions of \(k\)-space:

\[ \begin {array}{lrrr} \text {sampling} & \text {fraction} & \text {rmse} & \text {contrast} \\ \hline \text {full} & 1.000 & 0.0000 & 0.7849 \\ \text {central } 50\% \text { radius} & 0.196 & 0.0389 & 0.7487 \\ \text {central } 25\% & 0.049 & 0.0746 & 0.6234 \\ \text {central } 12\% & 0.012 & 0.1202 & 0.3742 \\ \text {high frequencies only} & 0.992 & 0.1687 & 0.4080 \\ \text {every 2nd line } (R{=}2) & 0.500 & 0.1547 & 0.3878 \\ \text {every 4th line } (R{=}4) & 0.250 & 0.1846 & 0.1776 \\ \text {partial Fourier} & 0.562 & 0.0562 & 0.6499 \\ \text {random } 30\% + \text {centre} & 0.311 & 0.0858 & 0.5573 \\ \end {array} \]
Two entries are worth separating. Sampling \(99.2\%\) of \(k\)-space — everything except a small central disc — gives a worse image (rmse \(0.169\)) than sampling \(4.9\%\) of it (rmse \(0.075\)), because contrast lives at low spatial frequencies. And omitting every second line, which halves the acquisition, costs more than omitting three quarters of the high frequencies.

Partial-Fourier acquisition measures \(56\%\) and synthesises the remainder by conjugate symmetry: \(44\%\) of the reconstructed \(k\)-space was not measured. The result has rmse \(0.056\), better than any comparably fast alternative, because the missing half was generated from an assumption about the object.

708.1.2 Contrast is a property of the sequence

The same four tissues, with fixed relaxation parameters, imaged under six standard sequences:

\[ \begin {array}{lrrrrl} \text {sequence} & \text {CSF} & \text {grey} & \text {white} & \text {fat} & \text {ordering} \\ \hline T_1\text {-weighted} & 0.117 & 0.237 & 0.281 & 0.552 & \text {fat} > \text {wm} > \text {gm} > \text {CSF} \\ \text {PD-weighted} & 0.524 & 0.668 & 0.605 & 0.726 & \text {fat} > \text {gm} > \text {wm} > \text {CSF} \\ T_2\text {-weighted} & 0.502 & 0.308 & 0.209 & 0.216 & \text {CSF} > \text {gm} > \text {fat} > \text {wm} \\ \text {heavily } T_2 & 0.646 & 0.135 & 0.061 & 0.052 & \text {CSF} > \text {gm} > \text {wm} > \text {fat} \\ \text {FLAIR} & 0.033 & 0.243 & 0.194 & 0.215 & \text {gm} > \text {fat} > \text {wm} > \text {CSF} \\ \text {STIR} & 0.438 & 0.424 & 0.311 & 0.135 & \text {CSF} > \text {gm} > \text {wm} > \text {fat} \\ \end {array} \]
Six sequences give five distinct orderings of four tissues. CSF is the darkest tissue in \(T_1\) and FLAIR and the brightest in \(T_2\); fat is brightest in \(T_1\) and darkest in heavily \(T_2\)-weighted imaging. The brightness of a tissue is not a property the tissue has.
708.1.3 The inverse problem has a 568-dimensional null space

With \(32\) sensors and \(600\) candidate sources, the lead-field matrix has rank \(32\). The null space has dimension

\[ 600 - 32 = 568, \]
and every vector in it is a current distribution producing exactly no signal. Taking five null vectors at random:
\[ \begin {array}{lrr} \text {null vector} & \|Lj\| & \|j\| \\ \hline 0 & 3.3\times 10^{-15} & 1.000 \\ 10 & 4.2\times 10^{-15} & 1.000 \\ 100 & 2.7\times 10^{-15} & 1.000 \\ 300 & 3.9\times 10^{-15} & 1.000 \\ 567 & 7.2\times 10^{-15} & 1.000 \\ \end {array} \]
against \(\|Lj_{\rm true}\| = 9.37\) for the signal. These are the silent sources of Helmholtz: currents of unit norm that no sensor arrangement outside the head can detect.

Adding one to a solution is undetectable. Taking the minimum-norm estimate and adding three times a null vector:

\[ \text {residual } 0.000006 \ \longrightarrow \ 0.000006, \qquad \frac {\|j' - j\|}{\|j\|} = 0.86 . \]
The fit is unchanged to six decimal places while the source map changes by \(86\%\) of its own norm.
708.1.4 Six regularisers, six brains

Since the data do not determine \(j\), a penalty does. Applying six standard inverse methods to one simulated recording, with true sources at \((-0.24,-0.14)\) and \((+0.72,+0.24)\):

\[ \begin {array}{lrrll r} \text {method} & \text {residual} & n_{>10\%} & \text {peak 1} & \text {peak 2} & \text {found} \\ \hline \text {minimum norm} & 0.0000 & 164 & (+0.96,+0.14) & (+0.96,+0.15) & 0 \\ \text {weighted MN} & 0.0020 & 306 & (+0.75,+0.20) & (+0.72,+0.24) & 1 \\ \text {LORETA} & 0.0000 & 150 & (+0.35,+0.31) & (+0.34,+0.29) & 0 \\ \text {sparse (greedy)} & 0.1090 & 2 & (+0.45,+0.13) & (-0.73,-0.37) & 0 \\ \text {beamformer} & 1.9485 & 21 & (-0.24,-0.14) & (+0.72,+0.24) & 2 \\ \text {dipole fit } (2) & 0.1007 & 2 & (+0.74,+0.27) & (-0.41,-0.20) & 2 \\ \end {array} \]

Minimum norm and LORETA both fit the data exactly — residual zero to four decimals — and place the source in different hemispheres. Neither recovers a true source. The method with the largest residual, the beamformer at \(1.95\), is the only one to recover both, because it is not fitting the instantaneous field at all but scanning a covariance.

The number of sources reported ranges from \(2\) to \(306\) according to the penalty. LORETA returns a diffuse map because smoothness is what it minimises; the sparse solution returns two points because sparsity is what it penalises.

Pairwise distances between the six normalised solutions:

\[ \begin {array}{lrrrrrr} & \text {MN} & \text {wMN} & \text {LOR} & \text {sparse} & \text {beam} & \text {dip} \\ \hline \text {MN} & 0 & 0.241 & 0.252 & 0.147 & 0.156 & 0.150 \\ \text {wMN} & & 0 & 0.239 & 0.309 & 0.316 & 0.310 \\ \text {LORETA} & & & 0 & 0.245 & 0.254 & 0.252 \\ \text {sparse} & & & & 0 & 0.081 & 0.070 \\ \text {beamformer} & & & & & 0 & 0.087 \\ \text {dipole} & & & & & & 0 \\ \end {array} \]
No two of the first three agree with each other more closely than any of them agrees with the others. The six solutions are six different pictures of one recording, and the recording does not choose between them.
708.1.5 Reconstruction filters and stopping rules

Filtered back-projection is exact only for complete noiseless projections. For the same phantom:

\[ \begin {array}{lr} \text {setting} & \text {rmse} \\ \hline 180\ \text {angles, ramp} & 0.0289 \\ 180\ \text {angles, Shepp--Logan} & 0.0321 \\ 180\ \text {angles, cosine} & 0.0390 \\ 180\ \text {angles, Hann} & 0.0455 \\ 45\ \text {angles, ramp} & 0.0643 \\ 20\ \text {angles, ramp} & 0.1535 \\ 10\ \text {angles, ramp} & 0.2693 \\ \text {limited to } 0\text {--}120^{\circ } & 0.1330 \\ \end {array} \]
The four filters, applied to identical complete data, differ by \(57\%\) in rmse. The choice trades resolution against noise and is made by the operator.

Iterative reconstruction has no natural stopping point. Running MLEM on Poisson-sampled projections:

\[ \begin {array}{rrrr} \text {iterations} & \text {rmse} & \text {background noise} & \text {max gradient} \\ \hline 1 & 0.4772 & 0.0614 & 0.682 \\ 5 & 0.1321 & 0.0521 & 0.208 \\ 10 & 0.0946 & 0.0427 & 0.297 \\ 20 & 0.0899 & 0.0305 & 0.404 \\ 30 & 0.0936 & 0.0244 & 0.464 \\ 40 & 0.1037 & 0.0210 & 0.474 \\ \end {array} \]
The rmse reaches a minimum at \(20\) iterations and rises thereafter. The algorithm does not converge to the object; it converges to the noise. The image delivered to a clinician is the one at whatever iteration the protocol specifies, and the sharpness of that image is a consequence of that number.
708.1.6 DTI: the tensor points where no fibre runs

A diffusion tensor is a single ellipsoid per voxel. Constructing tensors from known fibre configurations and extracting the principal direction:

\[ \begin {array}{lrlr} \text {configuration} & \text {FA} & \text {principal direction} & \text {angle to fibres} \\ \hline \text {single fibre} & 0.870 & [+1.00,\,0,\,0] & 0^{\circ } \\ \text {two at } 30^{\circ } & 0.825 & [-0.97,-0.26,\,0] & 15^{\circ },\,15^{\circ } \\ \text {two at } 45^{\circ } & 0.764 & [-0.92,-0.38,\,0] & 23^{\circ },\,22^{\circ } \\ \text {two at } 60^{\circ } & 0.680 & [-0.87,-0.50,\,0] & 30^{\circ },\,30^{\circ } \\ \text {two at } 90^{\circ } & 0.552 & [+1.00,\,0,\,0] & 0^{\circ },\,90^{\circ } \\ \text {three orthogonal} & 0.000 & \text {arbitrary} & - \\ \end {array} \]
For every crossing configuration the principal direction bisects the fibres and therefore points along a direction in which no fibre lies. At \(60^{\circ }\) it is \(30^{\circ }\) from each. At \(90^{\circ }\) the degeneracy makes the eigenvector selection numerically arbitrary, and with three orthogonal fibres the fractional anisotropy is exactly zero — the voxel is reported as isotropic while containing three highly ordered fibre populations.

Tractography propagates streamlines along these directions. In voxels with crossing fibres — estimated to be the majority of white matter — the streamline follows a vector that is an artefact of fitting one ellipsoid to several populations.

\[ \boxed { \begin {aligned} &\text {MRI} && \text {image} = \mathcal {F}^{-1}(\text {sampled } k\text {-space}); \ 44\%\ \text {synthesised in partial Fourier} \\ &\text {contrast} && \text {6 sequences}\to \text {5 orderings of 4 tissues} \\ &\text {EEG/MEG} && \dim \ker L = 568;\ \|Lj_{\rm null}\| \sim 10^{-15} \ \text {at}\ \|j\| = 1 \\ & && \text {residual unchanged, source map differs by } 86\% \\ & && \text {6 regularisers} \to \text {6 locations; two fit exactly and disagree} \\ &\text {CT} && \text {4 filters, same data, rmse } 0.029\text {--}0.046 \\ &\text {PET} && \text {rmse minimal at 20 iterations, rises after} \\ &\text {DTI} && \text {principal direction bisects crossing fibres} \\ \end {aligned}} \]

The picture of a brain is one solution among many consistent with the recording. In the source-localisation case the multiplicity is exact and measurable: a \(568\)-dimensional space of currents produces no signal at all, so the image is fixed by the penalty and not by the head.

pict

One complex array, different mathematics. A single acquired dataset — four coils, \(256\times 256\) complex samples — read under seventeen alternative transforms, with the correlation to the conventional reconstruction given beneath each panel.

The top-left panel is the convention: an inverse two-dimensional discrete Fourier transform with the origin shifted to the array centre. The two panels beside it retain the Fourier basis and alter only the index convention — omitting the shift, or applying the forward rather than the inverse transform — and return \(\mathrm {corr} = -0.354\) and \(0.499\) respectively.

Reading the same array as coefficients in other orthonormal bases returns objects that are not anatomical: the DCT-II basis gives \(-0.002\), the Hadamard–Walsh basis \(0.006\), a random orthonormal basis \(-0.005\), and the Daubechies-4 and Haar wavelet readings \(0.178\) each. Reading the magnitude as a probability density gives \(0.177\); reading \(|k|^{2}\) as the spectrum of an autocorrelation gives a featureless envelope at \(0.692\). The log-polar (Mellin) reading gives \(0.074\).

Truncating the singular value decomposition before transforming recovers the familiar image progressively: rank \(3\) gives \(0.847\), rank \(12\) gives \(0.933\), rank \(60\) gives \(0.985\) — from \(256\) available singular values.

The array does not specify which of these it is. That it is the Fourier transform of a transverse slice is asserted by the header and rests on the model that the encoding gradients are linear in space, a model verified by imaging a phantom of assumed geometry.

Data: M4Raw v1.5 multicoil_val, subject 2022061203, axial T2 TSE, \(4\) coils, \(18\times 256\times 256\) complex k-space (Zenodo 8056074); middle slice, with the same subject’s FLAIR and T1 scans used for cross-contrast comparisons.

708.2 And the phantom

The correction coefficients are fitted to a phantom whose geometry is specified. The specification is not a measurement of the phantom; it is what the phantom was made to. Whether it was made to it is verified separately, on a coordinate measuring machine.

That machine reports a coordinate when its probe is judged to have contacted the surface, a judgement made by comparing a deflection against a threshold and corrected for the finite radius of the probe tip. Its own scale is established against gauge blocks. A gauge block’s length is defined as the distance between its measuring face and a plane surface to which it has been wrung — so that the thickness of the wringing film, a few nanometres, is inside the defined length by convention rather than excluded from it. Gauge blocks are calibrated interferometrically, by counting fringes of a stabilised laser whose frequency is fixed by the CIPM list of recommended radiations, with the count corrected for the refractive index of air by the Edlén or Ciddor formula evaluated at a stipulated atmosphere — the same formula, and the same stipulated atmosphere. The recommended frequencies are stated in a unit defined by fixing \(c\), and \(c\) is exact by definition in a second realised by the caesium ensemble, whose members are weighted by their agreement with the ensemble.

Written out:

\[ \begin {array}{ll} \text {brain image} & \leftarrow \ \text {Fourier inversion} \\ & \leftarrow \ \text {gradient linearity} \\ & \leftarrow \ \text {correction fitted to a phantom} \\ & \leftarrow \ \text {phantom geometry as specified} \\ & \leftarrow \ \text {CMM (contact threshold, tip-radius correction)} \\ & \leftarrow \ \text {gauge blocks (wringing film inside the definition)} \\ & \leftarrow \ \text {interferometric fringe count} \\ & \leftarrow \ \text {stabilised laser (CIPM recommended radiation)} \\ & \leftarrow \ n_{\rm air}\ \text {(Ciddor, at a stipulated atmosphere)} \\ & \leftarrow \ \text {the metre} \leftarrow c\ \text {(defined)} \\ & \leftarrow \ \text {the second} \leftarrow \text {TAI} \\ & \leftarrow \ \text {clock weights} \leftarrow \text {agreement with TAI} \\ \end {array} \]

Three of these steps have already been traced elsewhere in this work and each closed on itself. The refractive-index formula is the one whose stipulated atmosphere is not an argument of the routine that applies it. The metre is defined from a constant that is exact because it was removed from measurement. The timescale is an average whose members are weighted by their proximity to the average.

The phantom does not terminate the regress. It relocates it into metrology, where the same three loops are waiting.