AI and automation

AI Color Matching: Can AI Match Colors Between Shots?

Automatic matching is good when two shots show the same thing under the same light. It gets unreliable when the frames differ, and most real cuts are like that. Here is why, and how to use matching tools without letting them make the decisions.

In short

  • Automatic matching compares pictures. When the pictures show different things, comparing them gives the wrong answer.
  • Colorists do not match whole frames. They match what the viewer compares at the cut: skin, the key light, black level, the overall impression.
  • Use matching tools for the first pass on similar shots, then judge every cut in playback.

What "matching" actually means

Two shots match when a viewer does not notice a change in light or color at the cut, unless the change is meant to be there. That definition matters, because it is not the same as "the two frames have the same numbers."

A wide shot of a kitchen might be 40 percent bright window, 30 percent dark cabinets and a small actor. The close-up of that actor is mostly face and a soft background. If both shots were graded perfectly, their average brightness, average color and histogram would still be different. A viewer compares the actor's skin, the brightness of the key side of the face, the depth of the shadows and the general warmth. They do not compare frame averages.

How automatic matching works

Without going into any one product, automatic matching falls into a few families:

  • Chart-based. A color chart is measured in each shot and a correction is solved so the patches land on known values. Resolve's Color Match works this way. It is accurate because the target is known, but it needs a chart in the same light as the shot.
  • Statistical. The tool compares the distribution of colors and brightness in two frames and moves one toward the other. This works well when both frames have similar content. Resolve's Shot Match, which matches color, contrast and brightness of one clip to a selected one, is the familiar example.
  • Region-based. The tool compares chosen parts of the frame: faces, a neutral surface, a matched area. This is closer to how a colorist works, but it depends on finding the same thing in both shots and lighting it the same way.
  • Learned. A model trained on graded material predicts a correction. Its quality depends on how close your footage is to what it learned from, and on what it was trained to treat as "matched."

Where automatic matching works

  • Takes of the same set-up, where only performance or small framing changes.
  • Multicam shoots of one event with the same camera model and settings.
  • Shots where a chart was filmed in the same light.
  • A pickup shot that repeats an earlier composition.

In these cases a statistical match is often close, and the colorist only refines it.

Where it fails, and why

Different content in the frame

The wide shot and close-up problem above. Matching the statistics of a wide to a close-up makes skin wrong in one of them. This is the most common failure, and it happens in almost every scene.

Background dominates

A reverse shot against a bright window and a reverse against a dark wall. The background takes most of the frame, so a statistical match follows the background and throws off the faces.

Mixed light

Daylight from a window and tungsten practicals in the same frame. There is no single white balance that is "correct." The colorist chooses which light is neutral, and the matching tool cannot know which one they chose.

Intentional change

Someone turns on a lamp. The sun goes behind a cloud and the director kept the take. A scene drifts from late afternoon to dusk. A matching tool removes these changes unless it is told not to.

Different cameras

Sensors render saturated colors differently: deep reds, foliage, LED light. A global match can line up skin and neutrals and still leave differences in those colors. They need hue-specific work. See matching footage from different cameras.

A practical matching workflow in Resolve

  1. Color management first. Every clip needs the correct input transform. A wrong input transform cannot be matched away. See ACES vs DaVinci Wide Gamut.
  2. Balance every shot. Neutral black level, exposure on the subject, white balance on something you know is neutral or on skin. Matching starts from balanced shots. See why balancing comes first.
  3. Choose a hero for each scene or set-up: a representative shot, usually a clean medium or close-up of the main character in the main light. Grade it.
  4. Carry the hero's grade to the other shots, with Copy Grade, color groups or shared nodes, so every shot gets the same look over its own balance.
  5. Use automatic matching on the similar shots. Shot Match or any other tool, as a first pass, on shots that resemble the hero.
  6. Match the rest by eye, part by part. Black level first, then exposure on the subject, then white balance on skin or neutral, then contrast, then saturation. Use split screen or a wipe against a still of the hero.
  7. Judge in playback. Play every cut. A shot can sit close to the hero and still jump against the shot cut next to it.
  8. Leave the intended differences alone.

What to measure, and what not to

MeasureWhy
Skin tone on the vectorscopeThe thing viewers notice first. Compare the hue and spread of skin, not its exact position, because people differ.
Black level on the waveform or paradeA small change in black level is visible at a cut, and it shifts contrast and saturation with it.
Exposure of the subjectNot the frame average. The key side of the face is a good reference.
A known neutralA gray wall or white shirt, if it is lit by the same light as the subject.
Do not trust: frame averages and full histogramsThey change with framing, even between shots that already match.

Where AutoBalance fits

AutoBalance, a panel for DaVinci Resolve Studio in private beta, assists this workflow. It balances the scene, copies the colorist's hero grade to every shot with Resolve's own Copy Grade, and then moves shots that still differ toward the hero, using skin when a face is visible. Shots from one take or set-up move together, and a move that does not help is taken back. It does not guarantee a perfect match: on our test scenes one or two shots per scene sometimes still needed a touch, and the colorist judges every cut. Its processing runs on the Mac.

FAQ

What is the difference between Shot Match and Color Match in Resolve?

Shot Match matches the current clip to another clip you select. Color Match matches a clip to known values using a color chart filmed in the shot.

Why does automatic shot matching make skin look wrong?

Because it usually compares the whole frame. If the background differs between shots, the tool corrects the background difference and moves the skin with it.

Should I match to the previous shot or to a hero shot?

Matching each shot to the one before it lets small errors add up over a scene. Matching to a hero keeps the scene anchored. Then check each cut in playback for jumps between neighbors.

Can matching fix footage shot with the wrong white balance?

Usually, if the footage is log or raw and not clipped. In raw formats it is best fixed at the raw settings. Heavily clipped channels cannot be recovered.

Sources

  1. Blackmagic Design: DaVinci Resolve Color page (Shot Match and Color Match)
  2. Blackmagic Design: DaVinci Resolve Studio 21 feature list (PDF)

Product names belong to their owners. Features change between releases; check the current documentation for your version.