VIDEONICS
SECTIONColour
IN06:00:07:18
READING10 min
CHECKED

Log recording and LUTs — what happens to the picture

Log isn’t a ‘look’. It is a way of squeezing more dynamic range into the signal than ordinary video can hold — at the cost of having to translate the picture before you use it.

The problem: the sensor sees more than video can carry

Modern sensors capture a range from deep shadows to bright highlights that goes far beyond what an ordinary (SDR) television can display. The standard HDTV transfer curve from the ITU-R BT.709 recommendation is designed for a picture that is viewed directly: the midtones get plenty of code values and bright highlights hit the ceiling fairly early. Anything above the ceiling is clipped and lost for good.

A log curve distributes code values more evenly across the stops of exposure. Each stop of light gets a similar ‘slice’ of the signal. The result: both highlights and shadows fit into the recording, but the picture looks flat and desaturated, because the contrast that a display curve would create is missing.

DIAGRAM · TRANSFER CURVES

Transfer functions: Rec.709 and a schematic log curve X axis: exposure in stops from 18 per cent grey. Y axis: signal value from 0 to 100%. The Rec.709 curve reaches 100% about 2.5 stops above grey and clips the tones above. The log curve rises slowly and evenly and keeps detail in further stops. 0%25%50%75%100% -6-5-4-3-2-10+1+2+3+4+5+6 exposure [stops from 18% grey] Rec.709 OETF (BT.709) — solid line schematic log curve — dashed clipping ×
The solid line is the exact OETF formula from ITU-R BT.709 (with 18% grey as the reference). The dashed line is a schematic log curve illustrating the principle — real curves (S-Log3, LogC, V-Log, Canon Log…) are defined by the manufacturers and each one is different.

The graph shows the essence: the Rec.709 curve reaches 100% of the signal about 2.5 stops above middle grey. At that point the log curve is still rising and leaves room for further stops of highlights.

What log needs

Bit depth. When the same range is spread into less contrast and then ‘stretched’ again in the grade, jumps appear between neighbouring values. At 8 bits (256 levels per channel) this shows up as banding in skies and smooth gradients. That is why log belongs in 10-bit or higher recording. Many cameras also offer log in 8 bits — it can be done, but it is risky.

Correct exposure. Log is more forgiving in the highlights, but its shadows have few code values. Underexposed log gets noisy faster than you would expect when you lift it. Manufacturers give a target level for middle grey for each curve — expose to it and measure with a waveform.

A transform before viewing. Without translation into a display space, log is useless for judging colour and contrast.

What a LUT is

A LUT (look-up table) is a table that maps each input colour to an output colour. A 1D LUT changes each channel separately (a luminance curve, for example). A 3D LUT works with the combination of R, G and B — it can change hues and saturation too, for example shifting greens without changing skin tones. A 3D LUT with a 33 × 33 × 33 grid contains 35,937 points; the colours in between are calculated by interpolation.

It is important to distinguish between two kinds:

Technical vs. creative LUT
Technical (conversion) LUTCreative LUT (‘look’)
PurposeConversion from one colour space and curve to another (e.g. log → Rec.709)Stylisation: contrast, colour tone, a ‘filmic’ look
SourceThe camera manufacturer, a standardised workflowColourists, vendors, your own work
InputPrecisely defined (a specific curve and gamut)Often designed for a specific input — outside it, it behaves unpredictably
Where in the chainAt the start, or as the output transformOnly after balancing and correction

Where to use a LUT

On set (a monitoring LUT). The camera or monitor applies the LUT only to the preview; the recording stays log. The director and the cinematographer see a picture close to the final result, and exposure can be judged in context. Check in the menu whether the LUT is ‘baked in’ (burnt into the recording) or applied to the output only — a mistake can’t be undone.

In post-production. A typical order of nodes or layers:

  1. Input transform — from the camera’s log and gamut into the working space (a technical LUT, or better, a mathematical colour-management transform that doesn’t lose out-of-range data).
  2. Correction — white balance, exposure, shot matching.
  3. Creative look — including a creative LUT if you use one, often at reduced strength.
  4. Output transform — to Rec.709 for SDR, or to PQ / HLG for HDR.
! CAUTION

LUTs clip: anything outside their input range (0–1) is usually cut off. If you push a shot into the highlights before the LUT, the LUT will clip them. Do corrections that need the full range before the LUT, or use colour management instead of a LUT.

The most common mistakes

  • The wrong input LUT. A LUT for S-Log3/S-Gamut3.Cine applied to S-Log3/S-Gamut3 gives subtly shifted colours that are hard to track down. Check the names exactly.
  • A creative LUT straight on log. If it was designed for Rec.709 input, the result will be blown out or far too contrasty.
  • Grading on an uncalibrated display. The LUT does exactly what it should, but you see it through a monitor that may have a different gamut, curve and brightness.
  • 8-bit log and heavy adjustments. Banding on skies and walls. If the camera can do 10 bits, use them.
  • A monitoring LUT accidentally baked into the recording. The most expensive mistake — the recording loses its log headroom.