Video Mix Matte Choker

Refines the alpha of a keyed video without touching its colors: shrinks or spreads the matte (choke), softens its edge (feather) and sets its levels and gamma. Removes the fringes, specks and jagged edges of a key before Video Mix Over.

Example: view matte of a green screen key with choke 2 and feather 8; then a detail of the same matte, after Matte Choker on the left and before it on the right, with hard edges and specks.

The alpha goes through choke, then feather, then the levels (black point, white point, gamma). The default settings, choke 1 and feather 2, are a light cleanup: the edge moves in by one pixel, which removes a fringe of one pixel, and a hard edge becomes a ramp about four pixels wide. With choke 0, feather 0 and the levels at their defaults, the video passes unchanged. An opaque video stays opaque: use the module after a key, Video Mix Set Matte or Video Detection Background Subtraction. A frame costs about 2 ms at 1920 x 1080 and 7 to 12 ms at 3840 x 2160, whatever the radii (0.4 ms and 1.5 ms with choke 0 and feather 0).

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.

choke

Shrinks or spreads the opaque area of the matte, from -100 to 100 pixels (default 1). A positive value shrinks it by that many pixels on every side, which removes fringes and specks; a negative value spreads it, which fills small holes. 0 leaves it unchanged.

feather

Width of the soft edge, from 0 to 100 pixels (default 2): the edge of the matte becomes a ramp, about 4 pixels wide for the default and 28 pixels wide for a feather of 20. 0 keeps the edge as it is.

black point

Alpha level at and below which a pixel becomes fully transparent, from 0 to 1 (default 0): 0.5 makes the lower half of a soft edge transparent.

white point

Alpha level at and above which a pixel becomes fully opaque, from 0 to 1 (default 1): 0.5 makes the upper half of a soft edge opaque. When it is not above black point, the alpha becomes a hard step at black point.

gamma

Gamma of the half-transparent pixels, from 0.1 to 10 (default 1): above 1 they become more opaque, below 1 more transparent. Fully transparent and fully opaque pixels do not change.

view

What the output shows (default result).

  • result: the video with its refined alpha.
  • matte: the refined alpha as an opaque gray picture, white where opaque: all white for an opaque video.
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