Skip to content
Tactiverge

Learning Rooms/○ Level 3 · Innovator/Perception and signals

Digital Images - Computerphile

Computerphile · Length: see YouTube · captions on YouTube · nothing loads until you press play

By the end you can…

  • Represent a greyscale image as a 2D array of brightness values and a colour image as three channels.
  • Index a pixel by row and column and compute an image's memory size.
  • Connect pixel values to sensor sampling and quantisation.
?Predict▶Watch✓Practise⚙Build

Watch it all: no segment has been checked by hand for this video yet.

1.Predict before you press play

How many bytes does one uncompressed 640 × 480 colour image take with 8 bits per channel?

Pick one before you press play. A wrong guess is fine: it is what makes the video stick.

2.See the idea first

Play with this diagram for a minute. It gives you something to hang the video on.

Loading the interactive…

Can't use the diagram? Read a description instead

The pixel diagram shows an 8 × 8 image as a grid of numbered squares. The Bright square image has value 200 in the central 4 × 4 block and 40 elsewhere; the Gradient rises by 30 per column from 20 to 230; the Noisy bar has a brighter band in columns 4 and 5 with random variation of up to ±45 and one bright speck.

3.Watch, actively

How a camera image becomes rows of numbers, including how colour is stored, before any vision algorithm touches it.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

Watch for…

  • → Watch for how a colour image is stored as separate red, green and blue values per pixel, and how many bits each one gets.

Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.

Can't stream it? Read the idea instead

A digital image is a grid of numbers. Each pixel stores brightness, or three values for red, green and blue, usually from 0 to 255. Every vision algorithm, from blurring to recognising objects, works by doing arithmetic on those arrays.

What the video covers (our own note, written when we verified it): How a camera image becomes rows of numbers, including how colour is stored, before any vision algorithm touches it.

Written by Tactiverge in our own words, not a transcript. The full lesson below explains the idea without the video.

Read it instead

Jot down one thing that surprised you and one question you still have.

Private: saved only on this device, never sent to Tactiverge.

4.Practise what you just saw

These come from the lesson that use this video and are checked on the server. Wrong answers get a hint and another try.

Practice 1

How many bytes is a 320 × 240 RGB image at 8 bits per channel?

bytes

Practice 2

In img[row][col] with row 0 at the top, which pixel is img[2][5]?

Practice 3

A bright window shows as a block of pixels all exactly 255. What does that tell you?

Practice 4 · a fresh version every time

A 16-bit converter spans 0 to 5 V. Taking one step as range ÷ 2^n, how big is one step, in millivolts?

mV

5.Try it yourself

No simulation models this idea yet. The lesson below has an interactive diagram instead.

6.Where engineers use it

Industrial inspection cameras are often monochrome because a single channel at higher resolution, with controlled lighting, measures edges more precisely than colour would.

From the applied view in the lesson Images are arrays of numbers. Checked by automated tests only.

7.Build something with it

Follow-up project

Load a small greyscale photo in Python as a 2D list or array. Print its size, the brightest and darkest values and their positions, then crop the central quarter and save its mean brightness. Explain in one sentence what that mean would tell a robot.

Where this video lives

In the course catalogue: AIP-320 Computer vision foundations

The video is by Computerphile, embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.