Keyer

This node gives you access to several simple keyers. You can use it to pull keys based on the input image’s:

red, green, or blue channel,

redscreen, greenscreen, or bluescreen,

luminance (the default),

saturation, or

maximum and minimum values.

To use this node, view the alpha channel in the Viewer. Then, use the range graph to adjust the low and high pixel values of the matte. The A handle determines the low or transparent values of the key: any pixels that fall below this value are clipped to black. The B handle determines your high or opaque values: pixel values above this setting are clipped to white.

The default positions let you control the low and high values, assuming your image has distinct light and dark areas. However, sometimes the subject of the matte falls into the “middle-gray” area; the C and D handles let you shift the center for the high values of the key.

Inputs and Controls

Connection Type

Connection Name

Function

Input

unnamed

The image sequence to key.

Control (UI)

Knob (Scripting)

Default Value

Function

Keyer Tab

input

input

rgb

Select the layer you want to use for keying.

output

N/A

enabled

Enables the associated output channel to the right. Disabling this checkbox is the same as setting the channel to none.

output

rgba.alpha

Render the resulting image into this output channel.

replace

combine

replace

Select how you want to combine the matte with the existing output channels.

replace - replace the existing output channels with the matte

intersect - create an intersection of the matte and the existing channels.

union - create a combination of the matte and the existing channels.

invert

invert

disabled

Inverts the use of the alpha channel so that the result is a non-white matte.

operation

operation

luminance key

Select which keying tool you want to use for keying your sequence:

red keyer - use the red channel to pull the key.

green keyer - use the green channel to pull the key.

blue keyer - use the blue channel to pull the key.

redscreen - subtract the red channel from other channels.

greenscreen - subtract the green channel from other channels.

bluescreen - subtract the blue channel from other channels.

luminance key - use the luminance value to pull the key.

saturation key - use the saturation value to pull the key.

max keyer - use the maximum values of the red, green and blue channels to pull the key.

min keyer - use the minimum values of the red, green and blue channels to pull the key.

range

range

N/A

Drag the A, B, C, and D delimiter handles in the graph to adjust your keying result. The A delimiter marks the value where you want the keying to start, the distance between B and C mark the length of the full effect and delimiter D indicates where the effect stops.

A

range

1

Enter the value for delimiter A in the range graph. You can also drag the handle in the graph.

B

range

1

Enter the value for delimiter B in the range graph. You can also drag the handle in the graph.

C

range

1

Enter the value for delimiter C in the range graph. You can also drag the handle in the graph.

D

range

1

Enter the value for delimiter D in the range graph. You can also drag the handle in the graph.

Video Tutorials