CT Lab

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 xx gradient GxG_x makes the instantaneous Larmor frequency a linear function of position:

ω(x)=γ(B0+Gxx)\omega(x) = \gamma (B_0 + G_x\, x)

Now simply resolving the received signal into frequencies maps each frequency component to an xx coordinate. The GxG_x applied during readout is the frequency-encode gradient. For the other axis, a gradient GyG_y is applied briefly before readout to give each row a position-dependent phase shift (phase encoding). Repeating with a different GyG_y amplitude each time collects the two-dimensional information.

RFGzGyGx90°phase encodeADCt

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 k\mathbf{k}:

kx(t)=γ2π0tGx(τ)dτ,ky(t)=γ2π0tGy(τ)dτk_x(t) = \frac{\gamma}{2\pi}\int_0^t G_x(\tau)\, d\tau, \qquad k_y(t) = \frac{\gamma}{2\pi}\int_0^t G_y(\tau)\, d\tau

Then the signal received at time tt is exactly the 2D Fourier transform of the transverse magnetization m(x,y)m(x,y), sampled at the point (kx,ky)(k_x, k_y):

s(kx,ky)=m(x,y)ei2π(kxx+kyy)dxdys(k_x, k_y) = \iint m(x, y)\, e^{-i 2\pi (k_x x + k_y y)}\, dx\, dy

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 kxk_x direction, and the phase encode selects the starting kyk_y. 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 Δk\Delta k sets the field of view (FOV = 1/Δk1/\Delta k); the maximum kmaxk_{\max} sets the spatial resolution (1/2kmax\approx 1/2k_{\max}).

Image spacexy2D FTk-spacekxkylowhigh

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)

WL 0.500 / WW 1.00Right-drag / Shift+drag: adjust WL/WW

k-space (acquired)

WL 3.79 / WW 7.58Right-drag / Shift+drag: adjust WL/WW

Partial reconstruction

WL 0.502 / WW 1.00Right-drag / Shift+drag: adjust WL/WW
63 / 64 lines

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)

WL 3.79 / WW 7.58Right-drag / Shift+drag: adjust WL/WW

Reconstruction

WL 0.551 / WW 1.10Right-drag / Shift+drag: adjust WL/WW

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

On this page