| Setup Matte | Matte Correct | Shapes | FG Correct | Keyer | Composite | Edge Correct | Mask | Output
The keyer uses a matte to composite areas of the foreground image over the background image. The matte can be extracted from either the foreground image or the independent matte input, in terms of chroma, luma, RGB, HSV or a mathematical expression. The keyer offers comprehensive facilities for matte manipulation and color correction.
Requires a background (RGB) and a foreground (RGB).
Optionally accepts an independent matte source (RGB). If a clip is connected into this input, this clip will be used to create the matte, but the original foreground will be used in the final composite.
Output |
Selects what is displayed and rendered. Select either: Matte, FG Pull, Composite, Cutout, FG Matte, BG Matte, or Edge Profile. When Matte is selected you see the final matte as it will be applied to the images. It includes the foreground pull matte according to the selection in FG Pull-On, and any shapes you may have created. When FG Pull is selected, you see only the foreground pull matte. This menu is found on All of the property pages in this property editor, except for Shapes, Mask and Output. |
Mode |
Sets the extraction method for the matte. SSee the following sections for more information:: The menu displays the currently selected option. |
Matte |
Specifies which matte is defined by the Setup Matte options. Select one of the following: Matte: Sets up the main matte. FG Pull: Sets up the foreground pull matte. This matte is set up in the same way as the main matte, but is independent from it. The foreground pull matte can be used, for example, where the main matte produces good edges, but has holes in it - in this case the foreground matte could be extracted using a method that does not produce holes but perhaps has poor edges. This could then be used to cover the holes in the main matte. You can specify how to combine the main matte with the FG Pull matte. See Matte Correct. |
Use the RGB matte setup options to define the main matte or the FG pull matte, based on a key color. The key color is the main background color that is added to the matte. Once you select main key color, you can add a range of adjacent colors to the matte, and control the transition between the foreground and background.
To define a matte, you adjust the following values:
Use the controls described below to adjust the values described above.
Matte (expression) |
Sets the initial foreground and background levels according to a mathematical expression. For example, if keying off blue, you might use an expression such as: if (b>max(r, g)) then 1-b else 1 Enter the required expression and press Enter. See Using Parser Expressions for details on valid variables and arguments. |
Foreground Level |
Sets the density of the foreground area in the matte. Use the slider to set any floating-point value between 0 and 1. Alternatively click the FG button and pick a value from the foreground of the image in an FX Viewer. |
FG Button |
Select this button then, in an FX Viewer, click or drag on the area of matte you want to become foreground. Click the button again to deactivate the picking function. |
Background Level (Key) |
Sets the background level relative to the full value as defined by the Key Color. Use the slider to set any floating-point value between 0 and 1. Alternatively click the BG button and pick a value from the backing area of the image in and FX Viewer, or set a color value using the Key Color sliders. |
BG Button |
Select this button then, in an FX Viewer, click or drag on the area of matte you want to become background. Click the button again to deactivate the picking function. |
Key Color (R,G,B) |
Sets the Background Level (Key) color defined above. Use the Sliders, or click the K button and click or drag on the area of matte you want to become background in an FX Viewer. |
These options control the size and edge softness of the main matte.
These options control the size and edge softness of the FG Pull matte. This matte is set up in the same way as the main matte, but is independent from it. The foreground pull matte can be used, for example, where the main matte produces good edges, but has holes in it - in this case the foreground matte could be extracted using a method that does not produce holes but perhaps has poor edges. This could then be used to cover the holes in the main matte.
Creates outlines in the main matte to be filled in with matte white (foreground). Create, animate and blur shapes the same way as you would from the Mask Options.
Once the outline has been created, select Matte from the Output menu to see it (see Setup Matte). If you only see an outline rather than a filled shape, you are probably displaying the foreground pull matte.
Selectively applies color correction to the composite image. The correction is controlled by a further matte type image which is comprised of edge information derived from the main matte.
Adjusts component mapping by controlling Gamma, Gain, and Offset for RGB components, as well as Luma. Changes apply to the entire image.
Used to remap component values by adjusting contrast for the image's RGB components, as well as the Luma. Changes apply to the entire image.
Firstly, the Hue Center slider controls the hue corresponding to the midpoint on the hue graph - if you have not changed the graph, this is the point of strongest effect, but if, or example, you shift the graph, it may not be.
Secondly, if you consider the bottom of the hue graph as mid-gray, and the top of the hue graph as the original matte, the graph level for each hue shows how much the matte will be blended towards mid-gray. This gray value will then be shifted to white by the default edge profile. If, however, you have changed the edge profile, then mid-gray may not go to white, and the hue filter will not work as desired.