Image digitization

How does an image become numbers?

Image → sampling → pixels → quantization → decimal values → binary data.

1. Image→ 2. Sampling→ 3. Pixels→ 4. Quantization→ 5. Numbers→ 6. Binary
STEP 1

Original image

A real scene contains continuous variations of light. The sensor converts them into discrete measurements.

STEPS 2–3

Sampling into pixels

64 samples

The image is divided into a grid. Each cell becomes one pixel. Click a pixel to inspect its value.

SELECTED PIXEL

Row 4, Column 4

STEPS 4–5

Image becomes a matrix of numbers

8 × 8 grayscale matrix

For grayscale, one number represents each pixel. At 8 bits: 0 = black, 255 = white.

STEP 6

The numbers are stored as binary

Example

Intensity 200 → 11001000

Computers store bits in memory rather than “a picture” in the human sense.