How colorizing black and white photos works

How does a computer know the dress was green? What happens to a black and white print between the upload and the finished colour file.

Published

The most common question about colorization is: how does anyone know what colour that dress was? The answer is less magical than it sounds, and it is worth knowing before you upload a family portrait.

A black and white photograph is not empty

A monochrome print records brightness, not colour. But brightness on its own carries a surprising amount of information. Red brick and green grass sit at different points on the grey scale. Skin has a different brightness from fabric, fabric from sky. On top of that comes context: the shape of a leaf, the weave of wool, the line of a horizon, the cut of a uniform.

A colorization model is not guessing at random. It recognises what it is looking at — a face, a jacket, a tree, a wall — and gives that object the colours that keep turning up, across a very large number of reference photographs, wherever brightness and shape are arranged like this.

What happens to your file

Roughly in this order:

  1. Reading the scene. The frame is divided into regions: this is a person, this is clothing, this is background, this is foliage.
  2. Choosing a palette. Each region is assigned a range of colours rather than one specific shade. Skin gets a range of complexions, sky a range of blues.
  3. Laying colour over brightness. This is the important step. Colour is applied on top of the original brightness map, so the light, the shadows and the texture stay exactly as they are on the print. Nothing softens.
  4. Settling the edges. Colour must not bleed past a contour. This stage decides whether the photograph reads as natural or as a colouring book.

The whole thing takes less time than making a cup of tea.

What comes out well, and what is a coin toss

Reliable: skin, hair, foliage, sky, wood, brick, water, most complexions and most natural fabrics. These are things that occupy a narrow band of colour in the real world, so the model lands them almost every time.

A coin toss: the colour of a dress, a tie, a car, the paint on a wall. Nothing in the brightness reveals whether a jumper was burgundy or navy. The model picks whichever is statistically most likely for that cut and that period, and the choice is usually sensible, but it is still a choice rather than a reading.

Does not work: artificial and unusual colours. A purple suit from the 1970s will come back dark grey, because that is how it looks on the grey scale and that is what ninety-nine percent of suits were.

Which leads to a practical tip: if you remember the real colour of something important in the frame, write it down alongside the file. On military photographs or a wedding dress, that can be the difference between "nice" and "that is really her".

Damaged print? Repair first

If a photograph has scratches, creases or damp stains, colorization on its own will not remove them. Worse, it can emphasise them: a scratch is an abrupt change in brightness, so the model may read it as the edge of an object and colour it separately.

With damaged photographs the right order is restoration first, colour second. They are two separate operations, and you can order them together as a single job.

What to expect

Colorization does not reconstruct the past. It proposes a believable version of how the scene might have looked. Done well it is invisible: you look at the people, not at the colours.

Try it on one photograph before you commit to a whole album. See what colorization looks like in a before and after, or check what it costs.

All posts

Read on

Start with one photograph

Upload a file, choose what should happen to it, and the finished result arrives by email. You pay once you can see the result.

How colorizing black and white photos works | OżywioneWspomnienia