
Key_chroma
Key_chroma Editor
By default, the Key_chroma Editor consists of an Image Canvas, compositing options, map options, and HLS range options.
When you deselect the Show Ranges option, the HLS range options located at the bottom section of the editor will disappear. When you select the Show Keyin option, the display area is divided into two canvases. The top canvas displays the composited image (foreground and background) and the bottom canvas displays the key image. This will either be the foreground image or, if the ExternalKey target is connected, the ExternalKey image.
Range Options
Using the key image, you create a matte based on ranges of values for Hue, Lightness, and Saturation. To ignore a channel when creating a matte, deselect the corresponding Active option. To lock a channel's values while you fine-tune the other channels, select the corresponding Freeze option.
For each channel, you set the minimum and maximum Clip and Roll values for the key. The Clip values affect the tolerance of the key, or its black and white level. The Roll values affect the softness of the key, or its blending factor. Pixels whose HLS values are within the Clip ranges will be fully inside the key. Pixels whose HLS values are outside the Roll ranges will be out of the key. Pixels between these extremes are considered in the "roll-off" region and form the transition area of the key.
Hue, Lightness, and Saturation
The Key_chroma tool lets you define a key colour using the Hue, Lightness, and Saturation scale bars. These options allow you to select a range of values from the foreground image. The following describes each channel and the associated Clip and Roll values.
- Hue: The Hue option lets you select the hue or key colour from the input image. The associated scale bar displays the colours in the same order as the spectrum: red, orange, yellow, green, cyan, blue, and violet. To select the hue, define the range (see Selecting a Key Colour). The values in the Hue text boxes range from 0 to 360 degrees.
- Lightness: The Lightness option refers to the amount of light of the selected key colour. To specify the Lightness, define the range (see Selecting a Key Colour). The values in the Lightness text boxes range from 0 to 1.
- Saturation: The Saturation option refers to the strength of the selected key colour. To specify the Saturation, define the range (see Selecting a Key Colour). The values in the Saturation text boxes range from 0 to 1.
Clip and Roll Range
You can set Clip and Roll range values for each of the HLS channels. Use the MinClip and MaxClip options to specify the minimum and maximum value of the black and white level for the key colour. Use the MinRoll and MaxRoll options to specify the minimum and maximum softness level for the key colour.
Selecting a Key Colour
To select a key colour range, click and drag in the Image Canvas. Once you have done this, you can adjust the range in any of the following ways:
- Use the mouse as described in the following table:
| Mouse Action | To do this |
| Click, or click and drag | Add Clip and Roll values of the selected pixels to the key. This sets the basic key. |
| Middle click, or middle click and drag | Add Roll values of the selected pixels to the key. This applies a grey scale to the edges of the key. |
| Right-click or Shift-right-click | Revert back to the last key setting (multiple-level undo). |
| Shift-click | Subtract Clip and Roll values of the selected pixels from the key. |
| Shift-middle-click | Subtract Roll values of the selected pixels from the key. |
- Adjust the Clip and Roll sliders in the three scale bars. These sliders are located at the top and the bottom of each scale bar. The top sliders control the Clip, and the bottom sliders control the Range. The red sliders set the minimum values and the yellow sliders set the maximum values. To zoom into a specific area of the scale bar, use the pan and zoom options (see Panning and Zooming).
- Use the Clip and Roll "+" and "-" buttons. Change the values by small, medium, and large increments or decrements by clicking the + and - buttons with the left, middle, and right mouse buttons, respectively.
- Enter numerical values in the associated HLS Clip and Roll text boxes using the keyboard.
- Note:
- You can zoom in to select individual pixels or pan to a specific image area using the pan and zoom options (see Pan and Zoom Actions in Eddie Windows).
Undo
The right mouse button performs multiple undo actions. Simply right-click and the limits of the key and roll will revert back to their last setting. Repeat this action to revert back to each preceding setting.
You can set a limit to the number of successive undo actions you can perform by entering a value in the Undo Limit option in the Preferences dialogue box. For more information, see Memory.
Reset Range
Select the Reset Range button to reset the HLS values back to the default value settings. Note that this action cannot be undone.
Matte Options
The MatteOptions menu lists three commands: BlendMethod, BlendMatte, and OutputMatte.
BlendMethod
The BlendMethod command allows you to select three types of predefined blending options (Merge, Over, and Ghost). By default, the Merge option is selected. Each of the predefined blending options can be adjusted by selecting the Edit Maps button (see Map Options).
| Use this option | To do this |
| Merge | Use the currently created matte to merge the foreground image with the background image. |
| Over | Perform an additive mix outside the matte. This allows you to remove black edges from 3D rendered material when compositing. |
| Ghost | Perform an additive mix inside the matte. |
BlendMatte
The BlendMatte options specify how to create the working matte used to composite within the Key_chroma tool. You can combine the alpha channel of the Foreground or Background image with the matte created in the tool using roll and clip values. The various options provide a way of combining mattes using standard Boolean operations such as union and intersect.
| Use this option | To do this |
| Replace | Use the matte created with the values of the key colour to create the composite. This is the default setting. |
| Foreground | Use the matte from the Foreground image. This works like an alpha compose. |
| Background | Use the matte from the Background image. This works like an alpha compose. |
| FG Intersect | Use the area common to the key result and the Foreground matte to specify the compositing matte over the Background image. Typically, you would first paint dirty areas of blue-screen images with the alpha, reverse the matte, and then select this command from the tool. |
| FG Union | Composite the area common to the key and the alpha channel of the Foreground over the Background. Typically, you would "paint in" blue-screen objects that do not move and are difficult to key or you could protect parts of the Foreground image that could "leak" into unwanted regions of the image. |
| BG Intersect | Composite the area common to the key and the alpha channel of the Background image over the Background. |
| BG Union | Composite the areas covered by the key and areas covered by the Alpha channel of the Background over the Background. |
OutputMatte
The OutputMatte commands allow you to specify the type of blend for the output matte. These commands provide the same operations as the BlendMatte commands, but affect only the alpha channel of the output image. These commands do not affect the way the keyer overlays the foreground over the background within the tool. This allows you to output a different matte that becomes available to another tool in the hierarchy. This output matte produces a resulting image that is a combination of the matte created with the key and the alpha channel from the Foreground or Background image.
- Note:
- A garbage matte is a temporary matte used to isolate a part of an image or sequence. You do not necessarily want to keep this matte as part of the tool's output result. The Replace command allows you to use a garbage matte within the tool, while carrying forward the matte that is generated by the keyer.
| Use this option | To do this |
| Replace | Output the matte created with the key values.This is the default setting. |
| Foreground | Use the matte present in the alpha of the Foreground image to create the composite. |
| Background | Use the matte from the Background image. |
| FG Intersect | Use the matte common to the key and the alpha channel of the Foreground image to create the alpha for the output. Typically, this command would be useful when you are passing the output to a Paint tool or another Key tool and you want to protect a part of the Foreground image. |
| FG Union | Use the areas common to the key and the Foreground alpha channel to create the alpha for the output. Typically, this command is used when you are passing the output to a Paint tool or another Key tool and you want to protect the Foreground image and difficult key areas that could 'leak'. |
| BG Intersect | Include the areas common to the key and the alpha channel of the Background image for the output alpha channel. Typically, this command is used when the combined mattes of any tool requires protection of what appears to be in the Foreground (or, when the Invert Key option is selected, what appears in the Background). |
| BG Union | Include the areas common to the key and the alpha channel of the Background image for the output alpha channel. Typically, this command is used when you want to use the combined mattes in any tool that requires protection of the Foreground and part of the Background image. |
Spill Correction
Spill can be defined as colour leakage from the key colour onto the edges of the keyed object. You can correct the colour spill by using one of the following two options: Desaturate and Suppress.
Desaturate
The Desaturate option removes the chroma in the roll areas of the key while preserving the luminance values in the spill area.
Suppress
The Suppress option allows you to remove the prevalent chroma values in the spill area from the foreground image. This value can vary depending on the general brightness values of the background image. You can select a colour from the foreground or the Key colour as defined by the key settings.
Suppress - Specified Colour
When the Suppress option is selected, you can specify the chroma colour to suppress. When a low value is set with the Level slider, little or no colour is suppressed, whereas a high value suppresses the colour found in the hue area defined by the key.
The Specified Colour option allows you to select a new colour (chroma) to remove by using the Set button.
- Note:
- This option is useful when a combination of the spill and the foreground image creates a colour outside the range of the roll and clip values.
When the Set button is selected, a colour selection display appears and allows you to define a colour. For more information, see Colour.
Suppress - Key Colour
Select the Key Colour option when you want to remove the chroma defined by the clip and roll values.
Level
The Level slider allows you to set the amount of chroma to remove when either the Desaturate or Suppress options are selected.
KeyBlur
The KeyBlur option allows you to soften the edges of the key matte. This value is specified in integers only. You cannot animate the values you assign to the KeyBlur text box. You can further control the direction of the blur by using the Matte Map option.
Keyscale
You can set and animate the Keyscale option to specify the opacity of the matte. A value of 1.00 is completely opaque and a value of 0.00 is completely transparent.
Invert Key Option
The Invert Key option lets you reverse the matte area you define and displays the reverse result. Transparent areas become opaque, and vice-versa.
Map Options
There are two options that allow you to remap values: Matte-Map and Lum-Map.
| Use this option | To do this |
| Matte-Map | Apply a map to the processing matte. |
| Lum-Map | Apply a map to the luminance values in the roll area (fall-off regions) of the matte. |
When you select one of these options, you must then select the Edit Maps button. When selected, a Function Curve Editor and several options appear in a dialogue box. The Function Curve Editor allows you to apply a new map to either the matte or luminance values of the matte.
Using the Function Curve Editor
You can edit each map by using two types of editing curves: Spline or Linear. To modify the Linear function curve, enter new values for the Offset and Scale settings. To modify the Spline function curve, see Editing Spline Function Curves.
- Tip:
- To see the results of your edit, view the alpha channel only in the Image Canvas. To switch between viewing the RGB channels and the alpha channel, middle-click on any of the RGBA toggles next to the View menu.
When you want to reset the function curve to its default map setting, use the resetPB button. To revert to the initial graph settings when you're using the pan and zoom options, use the Reset View button.
The Snap option causes the mapping curves to snap to the visible grid when you edit a mapping curve. When the Snap button is activated, the keypoint you are dragging snaps to the grid.
Click Close to close the Edit Map dialogue box and return to the main Key_chroma editor window.
There are two types of mapping options available in the Function Curve Editor: Luminance Map and Matte Map.
- The Luminance Map option is used to apply a mapping curve to modify the luminance levels in the "roll-off" areas.
- The Matte Map option is used to modify the matte generated by the current clip and roll values. It applies a post-process mapping to the matte generated by the current colour clip and roll values.
- Range Options
-
- Hue, Lightness, and Saturation
-
- Clip and Roll Range
-
- Selecting a Key Colour
-
- Undo
-
- Reset Range
-
- Matte Options
-
- BlendMethod
-
- BlendMatte
-
- OutputMatte
-
- Spill Correction
-
- Desaturate
-
- Suppress
-
- Suppress - Specified Colour
-
- Suppress - Key Colour
-
- Level
-
- KeyBlur
-
- Keyscale
-
- Map Options
-
- Using the Function Curve Editor
-
SOFTIMAGE Eddie 3.5 - 10 JAN 1997
