Resources / Medical imaging technology / Magnetic resonance imaging (MRI)
Spatial encoding and k-space
Slice selection, frequency and phase encoding, how k-space is filled and what it holds, 2D versus 3D acquisition, scan time, and speed-up methods (parallel imaging, partial Fourier, compressed sensing).
Educational draft - not specialist-reviewed and not clinical advice; follow your institution's protocols
Overview
- Gradients make the Larmor frequency depend on position, so signals can be localised. The raw data are spatial frequencies stored in k-space; an inverse Fourier transform produces the image.
- Three steps: slice selection, phase encoding and frequency encoding (readout).
Physical principles
- Slice selection: a gradient applied with a frequency-selective RF pulse excites only one slab.
- Slice thickness = RF bandwidth (Hz) / (gamma-bar x G), with gamma-bar = gamma / 2 pi = 42.58 MHz/T: 2000 Hz at 10 mT/m gives about 4.7 mm. Thinner slices need narrower bandwidth or stronger gradients.
- Frequency encoding: a readout gradient during the echo makes frequency vary along one axis; the receiver bandwidth and number of samples set the field of view and resolution in that direction.
- Phase encoding: a gradient pulse before readout gives each row a different phase twist; one phase-encoding step (one line of k-space) is acquired per TR in conventional sequences.
- 3D acquisition excites a whole slab and adds phase encoding in the slice direction, giving thin contiguous slices and higher SNR at the cost of longer scans.
Image formation
- The centre of k-space holds low spatial frequencies (overall signal and contrast); the periphery holds high spatial frequencies (edges and fine detail).
- Field of view = 1 / k-space step size; resolution (pixel size) = field of view / matrix. Undersampling the phase direction causes aliasing (wrap-around).
- 2D scan time = TR x number of phase-encoding steps x number of averages / echo train length; for 3D multiply by the number of slice-encoding steps.
- Trajectories: Cartesian line by line is standard; radial and spiral sampling reduce motion sensitivity (e.g. radial stack-of-stars for free-breathing abdomen).
Image quality and trade-offs
- Parallel imaging (e.g. SENSE in image space, GRAPPA in k-space) uses coil sensitivity maps to skip k-space lines; acceleration factor R shortens scans by R, with SNR reduced by the square root of R and a geometry factor.
- Partial Fourier acquires just over half of k-space and uses its symmetry to fill the rest, saving time at a small SNR cost.
- Compressed sensing samples k-space randomly and sparsely and reconstructs iteratively, giving large accelerations for suitable images; deep-learning reconstruction is increasingly used.
- Swapping phase and frequency directions moves motion ghosts and chemical shift artefacts and changes aliasing; phase oversampling prevents wrap at the cost of time.
Artefacts
- Motion during acquisition corrupts phase encoding, producing ghosts along the phase direction.
- Spikes in k-space (a single bad data point) produce a herringbone or striped pattern across the image; centric ordering errors in dynamic scans alter contrast timing.
Pitfalls
- Thinking the centre of k-space maps to the centre of the image; it holds contrast for the whole image.
- Forgetting that parallel imaging costs SNR.
- Increasing phase steps without accepting longer scan time.
- Not swapping phase direction to move ghosts off the area of interest.
Must-know list for recall practice
Try writing this list from memory first, then open it and correct yourself to 100%. See the recall method.
- Slice thickness = BW (Hz) / (gamma-bar x G); gamma-bar 42.58 MHz/T.
- Centre of k-space: contrast; periphery: detail.
- FOV = 1 / delta k; pixel = FOV / matrix.
- 2D time = TR x Nphase x NEX / ETL.
- Parallel imaging: time / R; SNR / (g x root R).
- Motion ghosts in phase direction.
Related on this site
- MRI basics (Magnetic resonance imaging (MRI))
- MRI pulse sequences (Magnetic resonance imaging (MRI))
- MRI image quality and artefacts (Magnetic resonance imaging (MRI))
Sources
- Radiologytrainee.org original teaching notes, revised 2026
- McRobbie DW, Moore EA, Graves MJ, Prince MR. MRI from Picture to Proton. 3rd ed. Cambridge: Cambridge University Press; 2017.
- Westbrook C, Talbot J. MRI in Practice. 5th ed. Oxford: Wiley-Blackwell; 2018.
- Bushberg JT, Seibert JA, Leidholdt EM, Boone JM. The Essential Physics of Medical Imaging. 4th ed. Philadelphia: Wolters Kluwer; 2021.
Notes written by radiologytrainee.org · updated 2026-11-27. Sources are cited, not reproduced.