Chapter 18: Fast Imaging & Compressed Sensing
Undersampling k-space speeds imaging but breaks the image. Compare aliasing vs incoherent artifacts and TV-based CS-MRI reconstruction in simulation.
MRI's weakness is scan time. In standard 2DFT, every phase-encode line costs one TR of waiting, so scan time is roughly TR × number of phase-encode lines × averages — often several minutes. The obvious way to go faster is to skip lines of k-space: halve the lines, halve the time. The catch is that naive skipping breaks the image — and how it breaks points directly to the reconstruction trick.
Undersampling and artifacts
The k-space sample spacing sets the field of view (Chapter 16). Skip every other line and doubles, folding the field of view in half. Signal that belonged outside the body wraps to the other side — aliasing. The more uniformly you skip, the more this fold-over stacks up as regular replicas.
Skip lines randomly instead — dense in the center, sparse at the edges — and the corruption changes character entirely. Instead of regular replicas, you get noise-like artifacts scattered across the whole image. This structureless corruption is called incoherent.
Three k-space sampling patterns. Full (all ky lines), uniform undersampling (every other line → fold-over replicas), and variable-density random (dense center, sparse periphery → noise-like incoherent artifacts). CS works on the incoherent pattern on the right.
Simulation: undersampling artifacts
Change how k-space is skipped and see how the zero-fill reconstruction (treating unacquired samples as zero) breaks. Uniform R=2 and R=4 stack fold-over replicas, worsening as the reduction factor grows. Switch to variable-density random and the corruption scatters into noise. It is exactly this incoherent, noise-like artifact that compressed sensing can remove.
k-space (sampling)
Zero-fill reconstruction
Undersample k-space and reconstruct by zero filling. Uniform undersampling produces fold-over aliasing (overlapping image replicas), worsening as the reduction factor R grows. Variable-density random scatters the corruption into noise-like artifacts. That unstructured — incoherent — corruption is exactly what the next step, CS, can remove.
Compressed sensing MRI
Recall the sparse-view CT of Chapter 10. The keys to recovering an image from few projections were that the image is sparse in the gradient domain, that the measurements are incoherent, and that the reconstruction is nonlinear. MRI is a natural stage for all three: MR images are piecewise smooth with sparse gradients, variable-density random sampling is incoherent, and all that remains is to run a nonlinear reconstruction. This is CS-MRI, the application where compressed sensing first flourished (Lustig et al. 2007).
Reconstruction is the optimization: of all images consistent with the measured k-space samples, choose the one with the smallest total variation.
Here is the Fourier transform at the sampled k-space locations and are the measurements. The solver has exactly the same skeleton as ASD-POCS in Chapter 10, alternating a data-consistency step and a TV-descent step. CT's forward and back projections are simply replaced by the 2D FFT and inverse FFT.
The Chapter 10 CS skeleton runs unchanged
Sparse-view CT reconstruction iterated "SART for data consistency → TV smoothing." CS-MRI iterates "restore the sampled k-space → TV smoothing." Only the operator changed, from Radon to Fourier; the idea of using sparsity to erase incoherent corruption is identical. This is why the textbook's TV code (src/core/recon/tv.ts) is reused directly.
Simulation: CS-MRI reconstruction
From 25% variable-density random sampling, compare zero-fill (left) with TV-regularized iterative reconstruction (right). As the iterations proceed, the noise-like artifacts on the right vanish and the RMSE drops well below zero-fill. Raising the TV step size strengthens the smoothing; too large and fine detail collapses into staircases. Set for data consistency alone and confirm that it never improves on zero-fill.
Zero-fill
RMSE 0.0896
CS-MRI (TV iteration)
RMSE 0.0000
From the same variable-density random sampling (25%), compare zero-fill (left) with TV-regularized POCS iteration (right). Alternating "smooth with TV → restore the measured k-space samples" each iteration removes the noise-like artifacts and lowers the RMSE. This is exactly the skeleton of the sparse-view CT in Chapter 10, with FFT in place of the forward projection. Too large a λ oversmooths into staircase artifacts.
Three routes to acceleration
The approaches to going faster by undersampling k-space fall into three families. Parallel imaging (SENSE, GRAPPA) uses the differing sensitivities of multiple receive coils to unfold aliasing — notably, it works even with uniform undersampling. Compressed sensing uses incoherent sampling and sparsity to erase incoherent artifacts. And deep learning learns the recovery itself from data; the image restoration and unrolled networks of Chapter 12 are active research in MRI reconstruction too. Real scanners increasingly combine all three.
Three routes to faster imaging by undersampling k-space: parallel imaging (unfold aliasing using multi-coil sensitivity differences), compressed sensing (incoherent sampling + sparsity), and deep learning (learn the recovery from data).
Key points
MRI scan time is proportional to the number of phase-encode lines, so skipping k-space lines speeds it up. Uniform skipping produces regular fold-over aliasing; variable-density random skipping produces incoherent, noise-like artifacts. Compressed sensing exploits that incoherence and sparsity, recovering the image with the same TV iteration as Chapter 10 (operator swapped for the FFT). Combined with parallel imaging and deep learning, it underpins fast imaging on real scanners. The next chapter leaves MRI for nuclear-medicine tomography (PET/SPECT), which measures radiation emitted from the body — and where the iterative reconstruction of Chapter 8 shows its true form.
References
- Lustig M, Donoho D, Pauly JM. Sparse MRI: The application of compressed sensing for rapid MR imaging. Magnetic Resonance in Medicine 58, 1182–1195 (2007).
- Pruessmann KP et al. SENSE: Sensitivity encoding for fast MRI. Magnetic Resonance in Medicine 42, 952–962 (1999).
- Griswold MA et al. Generalized autocalibrating partially parallel acquisitions (GRAPPA). Magnetic Resonance in Medicine 47, 1202–1210 (2002).
- Hammernik K et al. Learning a variational network for reconstruction of accelerated MRI data. Magnetic Resonance in Medicine 79, 3055–3071 (2018).