Skip to content
MRI Academy

k-Space & the Fourier Transform

The raw data domain of MRI

Core⏱ ~55 mink-Space explorer

Every MR image is the 2D Fourier transform of a grid of spatial-frequency samples called k-space. We make the center–periphery contrast/detail trade-off tangible, explain how trajectories are traversed, and connect under-sampling to aliasing and acceleration.

By the end you will be able to

  • 1Define k-space and the Fourier relationship between raw data and image
  • 2Explain why central k-space carries contrast and the periphery carries edges
  • 3Relate k-space extent and sampling interval to resolution and field of view
  • 4Predict the image-domain effect of zeroing, shifting or under-sampling k-space

Prerequisites: Gradients, Slice Selection & Spatial Encoding

Why MRI does not measure pixels

A CT detector measures a quantity that maps almost directly onto a position in the patient. MRI does not. The receive coil integrates the entire transverse magnetization over the excited slice at every instant, returning a single complex voltage. What turns that bulk signal into an image is the way gradients tag spatial position as a phase that winds at a position-dependent rate. The data we actually record therefore live in a domain of spatial frequencies called k-space, and the image is recovered by an inverse Fourier transform. Understanding this single relationship explains field of view, resolution, aliasing, Gibbs ringing, partial-Fourier acceleration, and why the center of the data matters so much more than the edges.

This lesson builds the signal equation from the physics of a winding gradient phase, reads off the sampling rules that govern FOV and resolution, then uses k-space algebra to predict exactly what blurring, edge enhancement, image shifts, and aliasing look like before we ever reconstruct.

The signal equation: MRI samples a Fourier transform

Consider a slice with transverse spin density m(x,y)m(x,y) (already weighted by T1, T2, and proton density). When a gradient Gx(t)G_x(t) is applied, a spin at position xx precesses at an offset γGx(t)x\gamma G_x(t)\,x relative to isocenter, so by time tt it has accumulated an extra phase ϕ(x,t)=γx0tGx(τ)dτ\phi(x,t) = \gamma x \int_0^t G_x(\tau)\,d\tau. Defining the running gradient area as a k-space coordinate collapses the messy time integral into a clean geometric variable.

Eq. 4.1
k-space position is the time-integral of the gradient
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
kx,kyk_x, k_y
spatial-frequency coordinates (cycles per unit length, e.g. cycles/mm)
γ\gamma
gyromagnetic ratio (for protons gamma/2pi approximately 42.58 MHz/T)
Gx,GyG_x, G_y
applied gradient amplitudes along x and y
τ\tau
integration variable for elapsed time

The coil sums the contribution of every spin, each carrying phase 2π(kxx+kyy)2\pi(k_x x + k_y y). The received signal is therefore the 2D Fourier transform of the spin density evaluated at the current (kx,ky)(k_x,k_y). As the gradients play out, the tip of the (kx,ky)(k_x,k_y) vector traces a path through k-space, and the ADC samples SS along that path.

Eq. 4.2
The measured signal is the Fourier transform of the image
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
SS
complex signal sample at k-space location (kx, ky)
m(x,y)m(x,y)
complex transverse spin density (the object we image)
ei2π()e^{-i2\pi(\cdots)}
Fourier kernel; the winding gradient phase

The image is recovered by inverting Eq. 4.2. Reconstruction is, at heart, a 2D inverse fast Fourier transform of the sampled k-space matrix: m(x,y)=S(kx,ky)e+i2π(kxx+kyy)dkxdkym(x,y) = \iint S(k_x,k_y)\, e^{+i2\pi(k_x x + k_y y)}\, dk_x\, dk_y.

Center versus periphery: where contrast and detail live

Spatial frequency k|\mathbf{k}| is small near the center of k-space and large at the periphery. Low spatial frequencies describe slowly varying structure: bulk signal, large uniform regions, and overall image contrast. High spatial frequencies describe rapid variation: edges, fine texture, and sharp boundaries. Because the center sample S(0,0)=mdxdyS(0,0) = \iint m\,dx\,dy equals the total integrated signal, it is by far the largest-magnitude point and dominates image brightness and contrast.

| k-space region | Spatial frequency | Encodes | Effect if removed | | --- | --- | --- | --- | | Center | Low | Bulk signal, contrast, coarse anatomy | Image loses nearly all signal and contrast | | Periphery | High | Edges, fine detail, sharp transitions | Image blurs but contrast is preserved |

Sampling rules: field of view and spatial resolution

k-space is sampled on a discrete grid with spacing Δk\Delta k out to a maximum extent kmaxk_{max}. Two Fourier-pair relationships, both consequences of the Nyquist sampling theorem applied in the k-domain, completely determine the imaging geometry. The sample spacing sets the field of view; the maximum extent sets the resolution.

Eq. 4.3
FOV is set by k-space sample spacing; resolution by k-space extent
FOV=1Δk,Δx=12kmax=FOVN\mathrm{FOV} = \frac{1}{\Delta k}, \qquad \Delta x = \frac{1}{2\,k_{max}} = \frac{\mathrm{FOV}}{N}
FOV\mathrm{FOV}
field of view along an axis
Δk\Delta k
spacing between adjacent k-space samples
Δx\Delta x
voxel dimension (spatial resolution)
kmaxk_{max}
maximum sampled spatial frequency (half-width of k-space)
NN
number of samples along that axis

The relationships are intuitive once the Fourier reciprocity is clear. Finer sampling (smaller Δk\Delta k) extends the FOV, because closely spaced samples can resolve the slow phase ramps produced by objects far from isocenter without ambiguity. Reaching higher spatial frequencies (larger kmaxk_{max}) sharpens the image, because fine edges generate high-frequency content that only the outer reaches of k-space record. A worked example: to image a 256 mm FOV at 1 mm resolution along the readout, we need Δk=1/256 mm1\Delta k = 1/256\ \text{mm}^{-1} and N=FOV/Δx=256N = \mathrm{FOV}/\Delta x = 256 samples, giving kmax=NΔk/2=0.5 mm1k_{max} = N\,\Delta k / 2 = 0.5\ \text{mm}^{-1}.

Reading k-space operations as image-domain effects

Because the two domains are an exact Fourier pair, a handful of Fourier theorems let us predict reconstruction outcomes without doing the transform by hand. These are the bread-and-butter mental models of MRI artifact analysis.

  • Zero the periphery (low-pass filter): discarding high spatial frequencies convolves the image with a broad point spread function. The image blurs and edges soften, but overall contrast is preserved. This is the mechanism behind low-resolution scans and k-space apodization filters.
  • Zero the center (high-pass filter): removing low frequencies leaves only edge information. The result is an edge-only, near-black image that resembles a gradient-magnitude map, with almost no bulk signal.
  • Apply a linear phase ramp: multiplying k-space by ei2πkxx0e^{-i2\pi k_x x_0} shifts the image by x0x_0 (the Fourier shift theorem). Gradient timing or eddy-current phase errors that look linear in k therefore appear as image displacement.
  • Undersample (increase delta-k): spacing samples too far apart shrinks the effective FOV below the object, so signal wraps around as aliasing (the classic fold-over or wrap artifact in the phase-encode direction).
  • Multiply k-space by a window (apodization): a smooth taper reduces ringing at the cost of a slightly wider PSF (mild blurring), trading sharpness for fewer truncation artifacts.

The interactive below lets you manipulate a real k-space matrix and watch the reconstruction update. Try cropping the periphery, masking the center, applying a phase ramp, and decimating the sampling to reproduce each effect above.

Image (object)

Shepp–Logan phantom

k-space (raw data)

log magnitude · DC at center

Reconstruction

inverse Fourier transform

All samples — the complete image.

Hermitian symmetry and partial Fourier

If the image m(x,y)m(x,y) were purely real, its Fourier transform would obey Hermitian (conjugate) symmetry: the sample at k-\mathbf{k} is the complex conjugate of the sample at +k+\mathbf{k}. In principle one half of k-space would then be redundant, and acquiring only one half plus a small overlap could halve the scan time. This is the basis of partial-Fourier (half-Fourier) acquisition.

Eq. 4.4
Hermitian symmetry of k-space for a real-valued image
S(kx,ky)=S(kx,ky)if m(x,y)RS(-k_x,-k_y) = S^{*}(k_x,k_y) \quad \text{if } m(x,y) \in \mathbb{R}
SS^{*}
complex conjugate of the signal
R\mathbb{R}
the real numbers; the idealized case of a phase-free image

In practice m(x,y)m(x,y) is not purely real: B0 inhomogeneity, chemical shift, flow, and receive-coil phase impose a smooth spatial phase. The trick is that this phase varies slowly, so it can be estimated from a small symmetric band of fully sampled central lines. Sequences acquire roughly 55 to 75 percent of k-space (for example a partial-Fourier factor of 5/8), use the central lines to estimate and correct the background phase, then synthesize the missing half via Eq. 4.4. The cost is a fraction sampled\sqrt{\text{fraction sampled}} reduction in SNR and some sensitivity to phase errors.

Trajectories, the point spread function, and Gibbs ringing

The path the (kx,ky)(k_x,k_y) vector traces is the trajectory, chosen by the gradient waveform. Cartesian sampling fills k-space line by line on a rectilinear grid and reconstructs by a direct FFT; it is robust and the workhorse of clinical imaging. Radial sampling acquires spokes through the center, oversampling the contrast-defining center on every readout, which makes it relatively motion-robust and tolerant of undersampling (streak rather than coherent wrap). Spiral trajectories start at the center and wind outward, covering k-space very efficiently per excitation, which makes them fast but sensitive to off-resonance blurring and gradient imperfections. Non-Cartesian data must be regridded onto a Cartesian matrix (or reconstructed with non-uniform FFT) before the standard inverse transform.

| Trajectory | Center sampling | Strengths | Main weakness | | --- | --- | --- | --- | | Cartesian | Once (one central line) | Simple FFT recon, predictable, robust | Coherent ghosting and wrap from motion or undersampling | | Radial | Every spoke | Motion-robust, benign undersampling (streaks) | Streak artifacts, needs regridding, more readouts | | Spiral | Start of each readout | Very fast, efficient k-space coverage | Off-resonance blurring, gradient-fidelity sensitive |

Whatever the trajectory, k-space is always finite: we stop at kmaxk_{max}. Truncating an infinite Fourier transform is equivalent to multiplying the ideal data by a rectangular window. By the convolution theorem, the reconstructed image is convolved with the Fourier transform of that window, the point spread function, which for a rectangle is a sinc\mathrm{sinc} function. The sinc has oscillating side lobes, so every sharp edge in the image rings: this is the Gibbs (truncation) artifact, seen as parallel bright and dark bands paralleling high-contrast boundaries.

Eq. 4.5
Finite k-space sampling gives a sinc point spread function
PSF(x)=sinc(2kmaxx)=sin(2πkmaxx)2πkmaxx\mathrm{PSF}(x) = \mathrm{sinc}(2 k_{max}\, x) = \frac{\sin(2\pi k_{max} x)}{2\pi k_{max} x}
PSF\mathrm{PSF}
point spread function; the image of an ideal point source
kmaxk_{max}
maximum sampled spatial frequency (sets the main-lobe width and ringing period)

Hold these four anchors and most of MRI data handling follows: the signal is a Fourier transform (Eq. 4.2); the center carries contrast and the periphery carries detail; FOV and resolution are set by Δk\Delta k and kmaxk_{max} (Eq. 4.3); and every reconstruction artifact, from blur to aliasing to Gibbs ringing, is a predictable image-domain consequence of how k-space was sampled or modified.

Imaging for this lesson

Explore the correct real MRI for this topic — yours to scroll, window and render.

This real image IS the inverse Fourier transform of its k-space. Picture the centre of k-space setting this contrast and the periphery sharpening these edges.

Brain & head

View
Colormap

Scroll to change slice · click-drag to move the crosshair · right-click-drag to window (brightness/contrast).

Check your understanding

  1. 1.A reconstruction uses only the outer 30 percent of k-space and discards the central region. What will the resulting image look like?

  2. 2.An MRI is acquired with a 240 mm field of view and a 240 x 240 matrix. What is the in-plane spatial resolution along that axis?

  3. 3.The k-space sample spacing delta-k is doubled while the matrix size is held constant. What happens?

  4. 4.Partial-Fourier acquisition shortens scan time primarily by exploiting which property?

  5. 5.A sagittal cervical spine image shows a thin bright-then-dark line running parallel to the long axis of the cord, most pronounced on a low-matrix acquisition. What is the most likely explanation?

Keep exploring

Take this topic further on these trusted, free references:

Further reading

  • [1]Nishimura DG. Principles of Magnetic Resonance Imaging. Stanford University, 2010.
  • [2]Bernstein MA, King KF, Zhou XJ. Handbook of MRI Pulse Sequences. Elsevier Academic Press, 2004.
  • [3]Haacke EM, Brown RW, Thompson MR, Venkatesan R. Magnetic Resonance Imaging: Physical Principles and Sequence Design. 2nd ed. Wiley, 2014.
  • [4]McRobbie DW, Moore EA, Graves MJ, Prince MR. MRI from Picture to Proton. 3rd ed. Cambridge University Press, 2017.
  • [5]Bushberg JT, Seibert JA, Leidholdt EM, Boone JM. The Essential Physics of Medical Imaging. 4th ed. Wolters Kluwer, 2020.
  • [6]Twieg DB. The k-trajectory formulation of the NMR imaging process with applications in analysis and synthesis of imaging methods. Med Phys. 1983;10(5):610-621.