What Is a Signal?

Continuous vs. discrete, analog vs. digital, and how an 8-bit image is really just a quantized 2-D signal.

What counts as a signal

A signal is anything that bears information. An electrocardiogram, an EEG trace, speech, the speed of the wind, the Dow Jones index, a seismic recording, and an image are all signals — they just carry very different kinds of information, at very different rates.

What makes image processing its own field is the shape that information comes in: a signal can be a function of one, two, or three independent variables.

Dimensionality: 1-D, 2-D, 3-D

This course lives almost entirely in 1-D and 2-D: 1-D to build intuition, 2-D because that's what an image is.

Continuous vs. discrete, analog vs. digital

Signals split into two families along two independent questions: is the domain continuous or discrete, and is the amplitude continuous or discrete?

The two operations that make a signal digital

(1) Discrete instants of time → sampling.
(2) Discrete set of amplitude values → quantization.

Sampling is the subject of the next lesson. Quantization is the one you can feel right now — try the demo below.

Quantization: how many gray levels?

An image with 8-bit resolution per pixel has gray scales, running from 0 (black) to 255 (white). Drop the bit depth and you drop the number of distinguishable shades — the image doesn't get dimmer, it gets banded.

Interactive · Quantization

Drag the slider down and watch the smooth sphere collapse into visible bands — each band is one of thegray levels quantization allows.

Check your understanding

A frame from a digital security camera, stored as an 8-bit-per-pixel grayscale image, is best described as: