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 coffee photograph (scikit-image) stands in for a photograph of birds in flight (Figure 15.5).
- The astronaut photograph (scikit-image) stands in for a photograph of a zebra (Figure 15.10).
Signals and images
A one-dimensional continuous signal is defined for every real ; sampling it on an integer grid gives the discrete signal . Images are just 2-D discrete signals . Figure 15.1: a continuous signal and its discrete samples.Book Figure 15.1: computed here.

Systems
A system maps an input signal to an output signal. The systems that matter here are linear (they respect scaling and superposition) and translation-invariant (shifting the input just shifts the output). Figure 15.2: a system maps an input signal to an output.Book Figure 15.2: drawn as a schematic.

Book Figure 15.3: applied with Kornia.


Convolution
An LTI system applies one impulse response at every position: the output is the input convolved with . Convolution flips the kernel and slides it; it is linear, translation-invariant, commutative and associative. Figure 15.5: translation invariance. An object looks the same wherever it appears in the frame, so a useful filter must respond identically at every position: shifting the input just shifts the output, . The book shows this with a photograph of birds; here the same blur runs on a scikit-image photograph.

Book Figure 15.7: computed here.

Book Figure 15.8: applied with Kornia.

Book Figure 15.9: applied with Kornia.

Book Figure 15.10: applied with Kornia.

Cross-correlation versus convolution
Cross-correlation is convolution without flipping the kernel. For template matching you slide a template over the image and measure similarity; normalized cross-correlation removes the effect of local brightness. Figure 15.11: cross-correlation vs. convolution (kernel orientation).Book Figure 15.11: computed here.

Book Figure 15.12: computed here.

System identification
An LTI system is identified by its impulse response: feed in an impulse and read out . A room’s acoustics are an LTI system: a clap measures its impulse response, and any sound is that sound convolved with . Figure 15.13: an LTI system is fully described by its impulse response .Book Figure 15.13: drawn as a schematic.

Book Figure 15.16: computed here.


