Accessing Secondary Grading Menus Previous Next Saving and Loading Key Presets

Chapter 15, Secondary Colour Grading
Creating a Secondary by Keying a Range of Colours



You can create secondaries by defining transparent regions in a shot, based on a specific range of colour. This process is known as keying.

When you generate a key, you can view it in the Player. Keys are based on the hue, value (luminance), and saturation of a selected colour from the original image. You define the softness range and the tolerance range by sampling the original image. When you set the tolerance range, you define which colours are fully keyed for the secondary. When you set the softness range, you define which colours are partially keyed. By softening the edge of the key, you can refine the results to integrate the secondary colour grade with the rest of the image.

Keys are, by default, based on original scans, bypassingany input primary colour grading. This allows you to modify an image upstream of any secondary without changing the key. For example, after you key a secondary, you can safely perform a hue shift from the Curves menu. The key, based on the original image colour, is unaffected. To base a key on colour corrected sources, use the SRC PRIM button.

Selecting Channels for a Key: Hue, Luminance, and Saturation Top

You can base a key on hue, luminance, and saturation channels. You can use one or more of these channels. To determine which channel produces the best key, save separate keys based on each channel to the key presets. You can then toggle between them to compare the keys. See Saving and Loading Presets Using the Presets Lists and Saving and Loading Key Presets.

To set keying parameters:
  1. In the Colour menu, click Secondaries.

    The Secondaries menu appears.

    Show full-size image

    1. Hue, luminance, and saturation buttons

  2. To select the basis of the key, do one of the following:

  3. To key based on processing that is happening prior to the secondary subsystem, enable Src: Prim (e.g.: Input LUT, CDL, and Input primary results).

    Show full-size image

Setting Initial Softness and Tolerance Top

To generate a key, you set the initial softness and tolerance values by sampling a pixel or an average colour in the image.

To set the initial softness and tolerance:
  1. Set the view to Output. You can click the O button or press F12.

    Show full-size image

  2. In the Secondaries menu, click a secondary button to enable a layer.

    Show full-size image

    You can also use one of the following hot keys.

    Press: To enable:
    1 to 9 Secondaries one to nine.
    0 Secondary ten.
    - (minus sign) Secondary eleven.
    = (equal sign) Secondary twelve.

    Hint: To toggle a secondary on or off, press \.

  3. Click the colour pot.

    The Keyer button is enabled and the colour pot is outlined in red, indicating that it is in use.

    Show full-size image

    Hint: You can finish a colour picking operation by clicking the colour pot a second time.

  4. Click Pixel to display the Pixel Analyser.

    Show full-size image

  5. Sample the image:

    The mouse cursor becomes a colour picker when you move it over the image in the Player. When you release the mouse, the centre tolerance, and the initial softness and tolerance ranges are set for the hue, luminance, and saturation channels. The colour pot displays the sampled colour.

    Show full-size image

Viewing Secondaries Top

Once you set the initial tolerance and softness of a key, you can view the resulting secondary in the Player. You can view the key in Secondary view or Matte view. Secondary view displays the range of colour you define through a greyscale image. The unselected colours remain grey. Matte view displays a black and white template indicating which parts of the image are transparent (black), and which are opaque and selected (white).

To view a secondary:
  1. To display the image in Secondary view, click M or press F11.

    Show full-size image

    In Secondary view, you see the colours that are included in, and excluded from, the current secondary. The colours in the image that are excluded from a secondary are desaturated--they appear in greyscale. Colours included in the secondary are visible through the greyscale image.

    Show full-size image

    Image courtesy of Hungarian Academy of Film & Theatre, 3rd year

  2. To toggle between Secondary view and Matte view, press F11.

    In Matte view, the white parts of the matte are fully keyed and can be selectively colour graded. The black parts are excluded from the secondary. Greys indicate the softness parameters.

    Show full-size image

    Image courtesy of Hungarian Academy of Film & Theatre, 3rd year

Setting the Softness Range Top

The softness at the edges of a key increases as you increase softness. Use softness to create a more natural look when applying secondary colour correction. To set the softness of a key, you can use the colour picker, the Master Softness slider, or the Softness Range indicators. With the colour picker and Master Softness slider, you set the softness range for hue, luminance, and saturation together. With the Softness Range indicators, you set the softness range for hue, luminance, and saturation individually.

Show full-size image

  1. Master Softness slider
  1. Minimum Softness indicators
  1. Maximum Softness indicators

To set the softness range using the colour picker:
  1. View the secondary in the Player. Press F11 to toggle between Matte view and Secondary view.

    In Matte view, you can clearly see the modifications you make to softness. You can toggle between Matte view and Secondary view while you develop the key.

  2. In the Secondaries menu, enable the + or - button beside the Master Softness slider to increase or decrease softness.

  3. Drag in an area of the image. Alt-drag in the image to select a larger area.

    The softness is modified.

To set the softness range using the Master Softness slider:
  1. View the secondary in the Player. Press F11 to toggle between Matte view and Secondary view.

    In Matte view, you can clearly see the modifications you make to softness. You can toggle between Matte view and Secondary view while you develop the key.

  2. Set the softness range:

    When you release the slider, the softness is modified and the slider returns to its original position.

To set the softness range for the Hue, Value (luminance), or Saturation channel:
  1. View the secondary in the Player. Press F11 to toggle between Matte view and Secondary view.

    In Matte view, you can clearly see the modifications you make to softness. You can toggle between Matte view and Secondary view while you develop the key.

  2. For the Hue, Value, or Saturation channel, set the minimum value for the softness range using the Minimum Softness Range indicator. Drag the indicator to the left to increase softness. Drag the indicator to the right to decrease softness.

  3. For the Hue, Value, or Saturation channel, set the maximum value for the softness range using the Maximum Softness Range indicator. Drag the indicator to the left to decrease softness. Drag the indicator to the right to increase softness.

Setting the Tolerance Range Top

Once you define the softness range, you can set the tolerance range to fully key colours and remove unwanted greys from the secondary. The maximum and minimum tolerance values define the range of colours included in the secondary. To set the tolerance, you can use the colour picker, the Master Tolerance slider, or the Tolerance Range indicators. With the Tolerance Range indicators, you set the tolerance range for hue, luminance, and saturation individually.

Show full-size image

  1. Master Tolerance slider
  1. Minimum Tolerance indicators
  1. Centre Tolerance indicators
  1. Maximum Tolerance Range indicators

To set the tolerance range using the colour picker:
  1. View the secondary in the Player. Press F11 to toggle between Matte view and Secondary view.

  2. In the Secondaries menu, enable the + or - button beside the Master Tolerance slider to increase or decrease tolerance.

  3. Drag in an area of the image to include it in the tolerance range. Alt-drag in the image to select a larger area.

    The tolerance is modified.

To set the tolerance range using the Master Tolerance slider:
  1. View the secondary in the Player. Press F11 to toggle between Matte view and Secondary view.

  2. Set the tolerance range:

    When you release the slider, the tolerance is modified and the slider returns to its original position.

To set the tolerance range for the Hue, Value (luminance), or Saturation channel:
  1. View the secondary in the Player. Press F11 to toggle between Matte view and Secondary view.

  2. For the Hue, Value, or Saturation channel, set the centre tolerance value using the Centre Tolerance indicator. Make sure you place your cursor directly over the indicator and then drag it to the left or right.

    When you move the Centre Tolerance indicator, the other indicators move as well--the softness and tolerance ranges are shifted.

  3. For the Hue, Value, or Saturation channel, set the minimum value for the tolerance range using the Minimum Tolerance Range indicator. Drag the indicator to the left to increase tolerance. Drag the indicator to the right to decrease tolerance.

  4. For the Hue, Value, or Saturation channel, set the maximum value for the tolerance range using the Maximum Tolerance Range indicator. Drag the indicator to the left to decrease tolerance. Drag the indicator to the right to increase tolerance.

Modifying the Edges of the Key Top

You can shrink, erode, or blur a key to modify the edges. Shrink a key to remove pixels from the edge of the key. Erode a key to blend the light and dark edges. Blur a key to apply a softening filter to its edge.

To shrink or erode the edge of the key:
  1. View the secondary in the Player. Press F11 to toggle between Matte view and Secondary view.

  2. Modify the edge of the key:

    Show full-size image

To blur the edge of the key:
  1. View the secondary in the Player. Press F11 to toggle between Matte view and Secondary view.

  2. Drag the Blur slider to the right.

    Show full-size image

    The edge of the key is softened.

    Show full-size image

    1. Before
    1. After

    Images courtesy of Hungarian Academy of Film & Theatre, 3rd year

Removing Stray Pixels from a Key Top

When you generate a key, pixels in other parts of the image may be included. You can remove these stray pixels from the key to clean it up for colour grading.

To remove stray pixels:
  1. View the secondary in the Player. Press F11 to toggle between Matte view and Secondary view.

  2. Drag the Cleanup slider to the right to apply a median filter to remove stray pixels.

    Show full-size image

Inverting Keys Top

When it is easier to key colours in the image you do not want to include in a secondary than those that you do, you can invert the key.

To invert a key:
Excluding Keys from Secondaries Top

You can exclude keys from secondaries. When you exclude a key from a secondary that includes a geometry, only the geometry is colour graded.

To exclude a key from a secondary:
  1. In the Secondaries menu, click the Secondary button that contains the key you want to exclude.

    If a key is included with the secondary, the Keyer button is enabled.

    Show full-size image

    Hint: You can click M in the View Mode buttons to view the range of colour defined by the key.

  2. Disable Keyer.

    Show full-size image

    The key is excluded from the colour grade. The whole image or the areas defined by a geometry will be colour graded by the secondary.

Previous Next