Video Color Match

Aligns the colors of video in 1 on those of a reference video, by histogram matching or by matching the mean and deviation of each channel, continuously or learned once with a button. To match several cameras or projectors of an installation without grading them by hand.

Example: the lake (second image) matched on the bridge at sunset (third image, the reference), method histogram, channels rgb, update continuous.

The reference can have any size: it is analysed as it is, never resized. Without a reference the last correction stays (none at start: the video passes unchanged). Without video in 1 the output is a frame of the size of the reference, black through the current correction. The alpha is kept. A frame costs 1.2 to 1.5 ms at 1920 x 1080 with a reference of the same size (about 2 ms with channels luma) and 3.5 to 4.7 ms at 3840 x 2160; a 3840 x 2160 reference adds about 2 ms.

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).

reference

The video whose colors are matched (second video input), of any size.

video out

Video output flow(s).

process time

Total time used for the calculation of the module.

method

How the levels are matched (histogram by default). A change drops the correction, like reset.

  • histogram: each level goes to the level of the reference at the same share of pixels: the closest match.
  • mean and deviation: the mean and the standard deviation of each channel are matched: a gentler correction that keeps the shape of the histogram. The levels pushed below black or above white are clipped.

channels

What is matched (rgb by default). A change drops the correction, like reset.

  • rgb: each channel on its own: the colors and the brightness.
  • luma: the luma only: the brightness and the contrast are matched, the colors kept.

amount

Share of the correction, from 0 to 1 (default 1): 0 gives video in 1 unchanged.

smooth

Update continuous: smoothing of the correction from frame to frame, from 0 to 0.99 (default 0.8): 0 follows each frame, higher values react more slowly and avoid flicker.

update

When the correction is measured (continuous by default).

  • continuous: at every frame, smoothed by smooth. Switching the patch on restarts the smoothing.
  • on learn: only when learn is pressed. The learned correction stays when the reference changes or disappears, and when the patch is switched off and on. Switching from continuous to on learn keeps the current correction.

learn

Measures both videos once: with update on learn, the new correction; with update continuous, the smoothing restarts from the current measure. Without a reference, the learn waits and runs when the reference comes back.

reset

Drops the correction: with update on learn, video in 1 passes unchanged until the next learn; with update continuous, the correction is measured again at once.

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