Video Color Gamma

Gamma curve per channel, white point and power limit, computed in 16 bits with an optional dither so that the low levels survive in 8 bits. The correction LEDs need before a Video Pixel Mapper or Video To LED Strips: without a gamma of 2.2 to 2.8, a video fade looks wrong on LEDs.

Example: gamma 2.2, white point $FFFFE6C8 (a warm LED white), dither temporal; then the source.

Each channel gives white point x brightness x level ^ (gamma x gamma r, g or b), the levels from 0 to 1; then the whole frame is dimmed when its average level is above power limit. With the defaults the output is the input, and power gives the average level of the input. The alpha is kept. A frame costs about 0.9 ms at 1920 x 1080 and 3 ms at 3840 x 2160 with dither off, 2.4 ms and 7.4 ms with dither.

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.

gamma

Exponent of the curve, from 0.2 to 5 (default 1, logarithmic fader): output = input ^ gamma. 2.2 to 2.8 suit LEDs; below 1 the picture gets brighter. Gamma 2.2 turns 128 into 56, black and white stay.

gamma r

Factor of gamma for red, from 0.5 to 2 (default 1, logarithmic fader), to balance LEDs whose colors respond differently. Gamma r 2 turns 128 into 64 in red.

gamma g

Factor of gamma for green, from 0.5 to 2 (default 1, logarithmic fader).

gamma b

Factor of gamma for blue, from 0.5 to 2 (default 1, logarithmic fader).

white point

Level of each channel at full input (white by default): the white balance of the LEDs. $FFFF8080 turns white into (255, 128, 128).

brightness

Overall level, from 0 to 1 (default 1). 0.5 turns white into 128.

power limit

Highest average output level of the frame, red, green and blue over all the pixels, from 0 to 1 (default 1: no limit). A brighter frame is dimmed as a whole, to cap the power drawn by LEDs: 0.25 turns a white frame into 64, 0 gives black.

dither

How the 16-bit result is brought to 8 bits (off by default).

  • off: rounded. A dark level can fall to 0: a grey of level 16 at gamma 2.8 gives 0.
  • static: a fixed ordered dither pattern of 16 x 16 pixels: a level between two others becomes a mix of both.
  • temporal: the dither pattern changes at every frame, so that each pixel gives the exact value on average over time: the grey of level 16 at gamma 2.8 gives pixels at 0 and 1, averaging 0.109 levels against an exact 0.110.

power

Average output level of the last frame, after power limit, from 0 to 1. Read only. With the defaults it is the average level of the input: 0.502 for a grey of level 128.

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