Video Color White Balance

Removes a color cast: from a color of the picture that should be grey, from the average color of the picture (gray world), or by hand with a temperature and a tint. For installation cameras under colored light, and to match several cameras.

Example: mode gray world, smooth 0.9, the warm cast removed; then the input, warmed by Video Color Temperature at 1.

The module multiplies each channel by a gain, chosen so that the neutral color becomes the grey of its own luma, and gives the gains on gain r, gain g and gain b. temperature and tint apply in every mode. With the defaults the gains are 1: the output is the input. The alpha is kept. A frame costs about 0.8 ms at 1920 x 1080 and 2.8 ms at 3840 x 2160 (0.9 ms and 3.6 ms in gray world).

Settings

bypass

Bypasses the module processing when activated (ON).

  • OFF (0): Module processes normally
  • ON (1): Input passes directly to output without processing

video in

Video input flow(s).

video out

Video output flow(s).

process time

Total time used for the calculation of the module.

mode

Where the neutral color comes from (neutral color by default).

  • neutral color: the color given by neutral color, for example picked on a white or grey surface with Video Color Get Pixel Color.
  • gray world: the average color of the picture, smoothed by smooth and frozen by hold. It assumes that the scene averages to grey: on a scene lit by one color (sodium street lights) it overcorrects toward the opposite color, use neutral color there.
  • manual: no neutral color, only temperature and tint.

neutral color

A color of the picture that must become grey, in neutral color mode (mid grey $FF808080 by default: no change). A grey, black included, gives the gains 1.

neutral color = $FFFF8080
gains = 0.652, 1.298, 1.298
color $FFFF8080 of the input = grey (166, 166, 166) at the output

temperature

Warmer (positive) or cooler (negative), from -1 to 1 (default 0), in every mode, the level of grey kept. In manual mode, 1 gives the gains 1.294, 0.915, 0.647 and -1 the gains 0.739, 1.045, 1.477.

tint

Magenta (positive) or green (negative), from -1 to 1 (default 0), in every mode, the level of grey kept. In manual mode, 1 gives the gains 1.209, 0.855, 1.209.

strength

Share of the correction from the neutral color, from 0 to 1 (default 1): 0 leaves only the gains of temperature and tint. Not used in manual mode.

smooth

Gray world: smoothing of the measured average from frame to frame, from 0 to 0.99 (default 0.9): 0 follows each frame, higher values react more slowly.

hold

Gray world: when ON, the current measure is kept and the gains stay while the picture changes, also when the patch is switched off and on. With hold OFF, switching the patch on restarts the measure.

gain r

Gain applied to red, from 0.25 to 4 (1 when nothing is corrected). Read only.

gain g

Gain applied to green, from 0.25 to 4 (1 when nothing is corrected). Read only.

gain b

Gain applied to blue, from 0.25 to 4 (1 when nothing is corrected). Read only.

Common Settings

info

show manual

Button. Opens the manual page of the selected object (or of its parent module for a control) in the web browser. If no page exists for this object, an error is traced in the trace panel.

For more details about information/help creation, see create-help-file.

description

Free multi-line text attached to the module, saved with the patch. When it is not empty, it is shown as the hint of the module (mouse over the module header in the patch) in place of the default module hint, even when the module hints are disabled.

ID's

visible only in god mode, see setup-panel-tab-expert.

unique ID

Read-only, not saved. Current private numeric ID of the object, used internally to identify it (for example as the target of a bind ID).

preset ID

Read-only, not saved. Private ID used to store and recall the values of this control in presets.

recreate ID

Button. Generates a new unique ID, original ID and preset ID for the object. Use it if you experience difficulties in Polyphonic mode or if two objects share the same ID. Preset values and binds referring to the old IDs are lost.

Object Remote Address

absolute

Read-only, not saved. Absolute address of the object in the Usine objects tree, built from the workspace root. This is the address to use to reach the object from scripts, the objects panel or remote messages. Only shown for objects that are registered in the objects list. See objects-address.

local

Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.

user addr

Free user-defined address for the object (empty by default). When set, the object is also registered in the objects tree under this name, so it can be reached independently of its position in the workspace (the value is also reported in the mouse-over and mouse-down chunks). Changing it rebuilds the objects list. Only available on objects that support a user address. See objects-address.

See also

version 7.0.250921

Edit All Pages