Chapter 16: Spatial Encoding & k-Space
Gradients turn position into frequency. Watch an image emerge as k-space fills line by line in simulation.
The signal from the previous chapter carries no information about where in the body it came from: in a uniform static field, every proton precesses at the same Larmor frequency. Encoding position is the job of gradient fields — and gradient-based MRI, though different from CT, returns to the same Fourier transform.
Frequency encoding with gradients
Superimpose on the main field a weak field whose strength varies linearly with position. Applying an gradient makes the instantaneous Larmor frequency a linear function of position:
Now simply resolving the received signal into frequencies maps each frequency component to an coordinate. The applied during readout is the frequency-encode gradient. For the other axis, a gradient is applied briefly before readout to give each row a position-dependent phase shift (phase encoding). Repeating with a different amplitude each time collects the two-dimensional information.
Gradient timing of a 2DFT sequence (simplified). After RF slice selection, Gy encodes phase and Gx (readout) encodes frequency into spatial coordinates. The Gy amplitude changes each repetition, scanning k-space one line at a time.
k-space
The phase a gradient imparts to the signal over time is the time integral of the gradient. Define that integral as a new coordinate :
Then the signal received at time is exactly the 2D Fourier transform of the transverse magnetization , sampled at the point :
So MRI measures not the image itself but the values of its Fourier transform (k-space). Manipulating the gradients is nothing other than tracing a pen across k-space: the readout gradient draws a line in the direction, and the phase encode selects the starting . Standard 2DFT scans k-space one horizontal line at a time to fill the grid.
Meeting the Fourier slice theorem again
Chapter 4 showed the Fourier slice theorem: one CT projection corresponds to a single radial line through the object's 2D spectrum. MRI realizes this directly with gradients. Radial MRI, which scans k-space along spokes, is measuring exactly those projections, and CT's FBP applies unchanged. CT and MRI are relatives that differ only in how they traverse Fourier space.
Reconstruction is just a 2D inverse Fourier transform of the collected k-space — no ramp filter, no backprojection as in CT. The sample spacing sets the field of view (FOV = ); the maximum sets the spatial resolution ().
Image space and k-space are linked by the Fourier transform. The center of k-space holds low frequencies (overall contrast); the periphery holds high frequencies (edges and detail). The sample spacing Δk sets the FOV, and the maximum kmax sets the resolution.
Simulation: filling k-space
k-space (center), the 2D Fourier transform of the true image (left), is filled one phase-encode line at a time, with the inverse transform (right) shown at each step. Recall the scan-and-sinogram growth in Chapter 2 — this is its k-space counterpart. The central lines bring in the overall grayscale; the outer lines sharpen the edges. Toggle "center-out order" to scan from the center outward and see the contrast settle early.
True image (PD map)
k-space (acquired)
Partial reconstruction
k-space, the 2D Fourier transform of the true image, is filled one phase-encode line at a time. Once the central lines (low frequency) are in, the overall grayscale appears; adding the outer lines (high frequency) sharpens the edges. Center-out ordering fixes the contrast early.
Simulation: what lives where in k-space
Reconstruct from only part of k-space. "Center only" keeps the low frequencies: blurred, but the contrast survives. "Periphery only" keeps the high frequencies: edges appear and flat regions vanish. Move the radius slider to see how contrast and resolution are split. This "center = contrast, periphery = resolution" structure is the key to the scan-time reductions in the coming chapters.
k-space (kept region)
Reconstruction
Reconstruct from only part of k-space. With the center alone (low frequencies), the image is blurred but tissue contrast survives. With the periphery alone (high frequencies), only edges appear and flat regions vanish. Only their sum gives the original image.
Key points
Gradient fields make the Larmor frequency a function of position, turning the received signal into samples of the image's Fourier transform. That measurement space is k-space, and manipulating gradients traverses it. Reconstruction is a single 2D inverse Fourier transform. The center of k-space carries low frequencies and contrast; the periphery carries high frequencies, edges, and resolution. Sample spacing sets the FOV; the maximum frequency sets the resolution. The next chapter shows how to design the contrast of that signal through pulse sequences and the parameters TR and TE.
References
- Ljunggren S. A simple graphical representation of Fourier-based imaging methods. Journal of Magnetic Resonance 54, 338–343 (1983).
- Twieg DB. The k-trajectory formulation of the NMR imaging process. Medical Physics 10, 610–621 (1983).
- Nishimura DG. Principles of Magnetic Resonance Imaging, Chapters 5–6. Stanford University (2010).
Chapter 15: Magnetization & Relaxation
The MRI part begins: tip the magnetization with RF pulses and experience T1/T2 relaxation and the FID in simulation.
Chapter 17: Pulse Sequences & Contrast
Spin-echo refocusing and designing T1/T2/FLAIR contrast by turning the TR and TE knobs, experienced in simulation.