Images replaced for licensing. The book is published under a CC BY-NC-ND license, which covers only the book as a whole and not its individual images, so this page does not republish the book’s photographs. License-free images stand in for them:
- The astronaut, rocket, and coffee photographs (scikit-image) stand in for photographs of the MIT dome, a wheel, and autumn leaves (Figure 27.10).
- The cameraman photograph (scikit-image) stands in for a photograph of a street (Figures 27.8 and 27.15).
- The chelsea photograph (scikit-image) stands in for a photograph of colorful houses (Figure 27.23).
- The clock photograph (scikit-image) stands in for a photograph of a doorway (Figure 27.16).
- The grass texture (scikit-image) stands in for a photograph of hair (Figure 27.13).
- The cameraman photograph (scikit-image) stands in for a photograph of a building in Barcelona (Figure 27.14).
- The Hubble deep field, immunohistochemistry, and colorwheel images (scikit-image) and generated clouds stand in for photographs of stars, clouds, plums, and a cube (Figures 27.6 and 27.12).
- Generated images and scikit-image photographs stand in for the book’s eight visual worlds (Figure 27.2).
The 1/f power law
The single most robust statistic of natural images: the Fourier magnitude falls off as a power law in radial frequency, Three real photos concentrate their energy (the book’s version is Figure 27.10) at low frequency and their angular-averaged spectra hug the curve; white noise is flat: no power law at all.
Sampling from the power spectrum
A Gaussian image prior with a power spectrum is easy to sample: take that magnitude, attach random phase, and inverse-transform. The result has the right spectral falloff but no real structure: it always looks like clouds, in grayscale or (sampling each channel) in color.
The independent-pixel model
The simplest model treats every pixel as an independent draw from one histogram. Sampling from it keeps the image’s color and intensity distribution exactly but destroys all spatial arrangement: the sample is just noise with the right histogram. It only ever looks right for images that are essentially unstructured, like a star field. The book’s version is Figure 27.6.
Pixel correlations decay with distance
Neighboring pixels are highly correlated; the correlation falls as they move apart. Scatter plots of vs tighten around the diagonal for small and spread out for large (the book’s version is Figure 27.8).
Derivatives are heavy-tailed, not Gaussian
The histogram of raw intensities is broad and near-uniform, but the histogram of image derivatives is sharply peaked at zero with heavy tails: most of an image is smooth (derivative ) with rare large jumps at edges. On a log scale the derivative histogram is a cusp, nothing like a parabola (Gaussian).
The generalized Laplacian
Derivative statistics are fit by the generalized Laplacian with Gaussian, Laplacian, and for natural images: sharper peak, heavier tails than a Gaussian.
[1,-1] statistics: noise stays Gaussian, images do not
Following the book (Figure 27.16), three ‘visual worlds’, Gaussian noise, a photograph of a clock, and a grass texture, are each shown with the image, its intensity histogram, its derivative, and the derivative histogram (red) with the best Gaussian fit (black). The derivative of noise stays Gaussian; both photographs give the same sharply peaked, heavy-tailed shape that the Gaussian fit misses.
Denoising with the Gaussian (1/f) prior: the Wiener filter
Under a Gaussian prior with power spectrum and white noise of variance , the MAP estimate is the Wiener filter which keeps low frequencies (where the image dominates) and suppresses high frequencies (where noise dominates). The book’s version is Figure 27.14.
Wavelet denoising as coring
With a Laplacian prior on a band-pass coefficient and Gaussian noise, the MAP estimate shrinks small coefficients toward zero and leaves large ones almost untouched: a coring curve. Small (probably-noise) responses are cored out; strong (probably-signal) responses survive.
Non-local means
Rather than a parametric prior, non-local means denoises each pixel by averaging other pixels whose surrounding patch looks similar: a nonparametric image model. It exploits the self-similarity (repeated structure) of natural images. The book’s version is Figure 27.23.
More representations from the chapter
The figures above cover the chapter’s core arc. Below are several more of the book’s representations that are worth reproducing: the space of visual worlds (27.2), the dead-leaves generative model (27.9), the role of Fourier phase (27.12), a Gaussian texture model (27.13), and how the prior shapes reconstruction (27.19) and wavelet coefficient estimation (27.20).Eight visual worlds
Different sources of images (noise, an oriented Gabor, a Mondrian, a star field, clouds, lines, rendered graphics, a photograph) occupy very different regions of image space, each with its own statistics. A single model cannot fit them all. The book’s version is Figure 27.2; here the eight are generated or taken from test images.
The dead-leaves model
A simple generative model of natural images: repeatedly drop opaque colored shapes (disks and squares) of random size, each occluding what is beneath. Like the book (Figure 27.9), the figure shows a disk version and a square version. Occlusion alone reproduces hallmarks of natural-image statistics: scale-invariant structure and a heavy-tailed derivative histogram.
Matched Fourier magnitude: phase carries the structure
The 1/f power spectrum (27.10) fixes the Fourier magnitude. But the magnitude alone does not make an image look like anything: keep each image’s magnitude and replace its phase with random phase, and the recognizable content dissolves into 1/f texture. It is the phase that encodes edges and objects. The book’s version is Figure 27.12.
A Gaussian texture model
The fully second-order (Gaussian) model of a texture keeps only the mean and the power spectrum, and draws a sample with random phase. The book shows this on hair; here it runs on grass, another oriented texture. The model captures the dominant orientation and scale, but having thrown away the phase, it cannot reproduce the individual blades; the sample looks like a phase-scrambled version.
The prior decides how a reconstruction looks
Reconstructing a 1-D signal from noisy samples: a Gaussian (L2) smoothness prior penalizes all differences quadratically and rounds off the edges; a heavy-tailed (total-variation) prior tolerates a few large jumps, so it keeps edges sharp while flattening the noise: the 1-D analogue of edge-preserving image denoising.
Prior × likelihood = posterior for a wavelet coefficient
Estimating a single band-pass (wavelet) coefficient from a noisy measurement: the heavy-tailed prior (peaked at 0) multiplied by the Gaussian likelihood (centered on the noisy observation) gives a posterior whose peak is pulled back toward zero. Small coefficients are shrunk to (near) zero and large ones are kept: exactly the coring nonlinearity of 27.21.
Concluding remarks
Natural images occupy a tiny, structured sliver of image space. Measuring that structure, a power law here, heavy-tailed derivatives there, gives priors that turn ill-posed problems (denoising, inpainting, super-resolution) into tractable Bayesian estimates, and sets the stage for the learned generative models later in the book.

