Aller au contenu

White Balance Node

By Kriss Norde

The White Balance removes color casts caused by an incorrect camera setup or bad lighting conditions.

Overview

The White Balance corrects either from a color temperature or from a neutral color picked in the original image that shows the cast. The correction can apply to the whole image or separately to blacks, midtones and whites.

Where to find this node

  • Effects Library: Tools > Color > White Balance
  • Quick add: right-click in the Node Editor → Add Tool > Color > White Balance

Inputs

  • Input (orange) - the only required connection. The 2D image to correct.
  • Effect Mask (blue) - optional. Limits the white balance to the pixels inside the mask.

Setup

MediaIn → White Balance → 2D processing node or Merge

Balance tab

Space
the color space of the source image, if known. The correction is more accurate because the node takes the natural gamma of that color space into account. If it is unknown, leave the default value.
Method
Custom (you select a pixel in the scene that should have been pure gray, and the node calculates the correction that makes it gray) or Temperature (you specify the actual color temperature of the shot).
Lock Black/Mid/White
locks blacks, midtones and whites together so the entire image is affected equally. Unchecked, each range is adjusted separately. This control affects both methods.
Black/Mid/White Reference
Custom method only. The color picked from a pixel in the source image, which the node transforms to the color set in Result (generally gray).
Black/Mid/White Result
Custom method only. The color the node uses to balance the reference color, by default a pure midrange gray.
Temperature Reference
Temperature method. The color temperature of the source image.
Temperature Result
the target color temperature for the image.
Use Gamma
the node takes the gamma of the image into account when applying the correction, using the default gamma of the color space selected in the Space menu.

With Lock Black/Mid/White unchecked, references and results can differ for each range.

Ranges tab

Spline Display
sets which pixels the node considers shadows, midtones and highlights. Four spline points, each with one Bézier handle: the two at the top mark the start of the shadow and highlight ranges, the two at the bottom mark their end, and the handles control the falloff. Midtones have no specific control: they are the space between the shadow and highlight ranges. The X and Y fields below the spline let you enter precise positions for the selected point or handle.
Preset Simple/Smooth Ranges
these two buttons return the ranges to Smooth (default) or Simple (linear).

Use cases

  • Remove a color cast caused by an incorrect camera setup or bad lighting.
  • Correct a shot whose actual color temperature you know, with the Temperature method.

Tips

  • With the Custom method, pick neutral colors from the source image, not from the White Balance result: the image doesn't change while you are picking and the node gets an accurate idea of the original colors to correct.
  • For the black and white references, pick pixels that are not clipped in any channel. A light pink at 255, 240, 240 is clipped in red without being white, a very dark blue-gray at 0, 2, 10 is clipped in red without being black: neither leaves enough headroom for the node.