Keylight2.0v2 FCP
Keylight2.0v2 FCP
Keylight2.0v2 FCP
No part of this manual may be reproduced, stored in a retrieval system, or transmitted in any form without the prior
written permission of The Foundry.
The Foundry logo is a trademark of The Foundry Visionmongers Ltd. Final Cut Pro is a registered trademark of Adobe
Systems Incorporated. All other products or brands are trademarks or registered trademarks of their respective
companies or organisations.
Software engineering Ralph McEntagart, Andrew Whitmore, Benjamin Kent, and Bruno Nicoletti.
CONTENTS
Tutorial Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Example Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Tutorial 1: Simple Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Tutorial 2: Fine Tuning a Key. . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Tutorial 3: Extreme Blue Spill . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Tutorial 4: A Red Green Screen . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Index A-Z . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
INTRODUCTION
About this Manual Use the Quick Key chapter to see how a simple key is pulled
using Keylight. The Basic Keying Chapter goes over the most
common parameters you’ll need to pull a variety of keys. The
Advanced Keying Chapter explains how to tackle difficult
keys.
Example Images Example blue and green screen images for use with Keylight
can be downloaded from our web site http://
www.thefoundry.co.uk.
About The Foundry The Foundry specialises in developing plug-in visual effects
for compositing platforms in the film and video industry.
Based in London's Soho, the Foundry has tailored its image
About CFC and The Computer Film Company (CFC) pioneered the field of
Framestore digital film compositing and today operates a state of the
art film effects facility in London under the name
Framestore. The company has always invested in research,
and maintains the kind of edge that has twice been honoured
with Technical Achievement Awards from the Academy of
Motion Picture Arts and Sciences.
GETTING STARTED
Quick Key Keylight is available from the Effects > Video Filters >
Keylight in Final Cut Pro.
Figure 2. Background.
2. Open the blue screen clip (SaintFG.mov) in the Viewer and apply
Keylight from Effects > Video Filters > Keylight > Keylight. See
Figure 4.
and select Open in New Viewer. This opens the foreground clip
in a new Viewer, as shown in Figure 6.
BASIC KEYING
Basic Workflow The first step is always to pick the Screen Colour. Then view
the composite and the screen matte.
If there is blue spill on the composite, pick skin tones for the
Despill Bias from the foreground actor.
Screen Colour The Screen Colour is probably the most important parameter,
and you should always pick the screen colour before doing
anything else. It should be set to the colour of the green or
blue curtain behind the foreground object.
Tip
It’s worth picking several different blues, and for each one
viewing the matte and status to judge the key.
Status The Status is one of the options in the View menu and shows
an exaggerated view of the key so that you can make a more
informed decision when refining the composite.
Thus, using the Alpha Bias control colour dropper, pick the
predominant foreground colour. In the majority of cases, it’s
best to pick skin tones from the foreground actor, as viewers
tend to be most tuned to colour shifts in these areas.
ADVANCED KEYING
Screen Colour The Screen Colour represents the colour of the pure blue (or
green) screen. The first thing you should do when pulling a
key is pick the Screen Colour. This single colour has a
primary component, blue or green, and that has a saturation.
Once the screen colour has been picked, Keylight analyses all
the pixels in the image and compares the saturation of the
primary component in each of these pixels with the
corresponding saturation of the screen colour, setting the
alpha and modifying the colour accordingly.
Tip
Picking different shades of blue or green from the
background can give quite different results. It’s worth
experimenting with different screen colours if your initial
pick didn’t give a good key.
Background Pixel
Edge Pixel
If the saturation of the pixel is less than the screen colour,
then it’ll be the edge of the foreground object, and we
Foreground Pixel
If the primary component in the pixel is not the same as the
primary component of the screen colour, we have a
foreground pixel, and the alpha is set to completely opaque.
The pixel colour is not modified. See Figure 18.
Figure 19. Is this the worst green screen you’ve ever seen?
Not a great result, I’m sure you’ll agree, and much pressure
Figure 21. Colour corrected image that would give a better key.
Figure 22.
Figure 22. Final Key, with the Bias Colour Set to the Value of the
Pilot's Mask.
The Bias Colours in It also turns out that the bias colour is actually useful for
everyday use situations without strong casts, typically where there is
some colour spill around the edge of keys. By setting the
biases to the main colour that occurs near the edge of the
foreground (typically flesh tones or hair tones), you allow
Keylight to better discriminate between foreground and
background.
Picking a Bias Colour To pick a bias colour, activate the colour picker under Alpha
Bias and click on the image foreground to select a colour.
Why are there two Remember that Keylight does two things, calculates a
Bias Colours? transparency and removes the screen colour from the
foreground. By default, one bias colour, the 'Alpha Bias', is
used for both operations. This works fine in most situations,
for example, the Executive Decision shot above.
Figure 25. Poor despill. Figure 26. Final Key, Using Separate
Despill and Alpha Biases.
Screen Gain The screen gain controls how much of the screen colour is
removed to make the screen matte. Increasing this value will
Figure 27. Status after picking Figure 28. Status showing the
the Screen Colour. increase in Screen Gain.
key more. For the most part, a better way of improving the
matte is using the Clip Black and Clip White controls.
Figure 27 shows the Status after picking the screen colour.
You can clearly see that parts of the background are grey
where they should be black. When composited you may see
faint pixels from the foreground where you should be seeing
pure background. Increasing the screen gain will fix this, as
Figure 29. Screen Gain = 1 giving Figure 30. Screen Gain = 1.5
a good screen matte. giving background show through
and over eroded edges.
Clip Levels The clip levels are adjusted using two parameters - Clip
Black and Clip White. Any alpha value at or below Clip Black
will be set to zero and any alpha value at or above Clip White
will be set to 1. Figure 31 shows the original alpha of an
image and Figure 32 shows the result of clipping it.
View After picking the Screen Colour, it’s useful to be able to view
the key in different ways. You can do this using the View
Menu, shown here in Figure 33.
Status The Status view is one of the options in the View menu and
shows an exaggerated view of the key so that you can make
green pixels are a warning. They show you the parts of the
Screen Matte that have changed through processing the
matte (clipped, softened or eroded). These areas have had
the correct amount of spill removed, but the alpha has
subsequently changed and the composite may no longer look
right. This can be corrected using the Screen Replace Colour
to put back colour in these areas. Figure 37 on page 33 is an
extreme example to illustrate the point. The Replace Colour
has been set to pure red and you can see that this mirrors
the green pixels in the Status View.
Figure 38. Status showing how Figure 39. Final Result showing
the Inside Mask will affect the the Inside Replace Colour.
foreground.
You may also see dark red pixels which indicate areas where
an outside mask has been used to reduce the transparency
of the image.
Screen Matte The Screen Matte (Figure 41) is the result of pulling the blue
or the green from the image (Figure 40) and making those
regions transparent.
Once you have done this, you will want to firm up the
foreground (make it more white) and clean up the
background (make it more black). This can be done by
processing the Screen Matte.
Clip Rollback Pulling a Screen Matte (Figure 42) will typically produce lots
of transparency (grey) in the matte at the edges. This is good
since this is what you need to key hair well. You may also get
transparency in the foreground as shown in Figure 43. This
is bad as your subject will appear slightly see-through, and
this should be corrected. You can do this with an inside mask
Figure 44. Clip White has been Figure 45. Clip Rollback has been
used to remove the unwanted used to reduce the unwanted
grey pixels in the white matte. erosion of the edge.
Screen Dilate This control should not normally be used as eroding the
edges can produce a very poor key. However, the Screen
Dilate parameter allows you to grow (if greater than zero) or
shrink (if less than zero) the alpha in the Screen Matte.
These controls are sub-pixel accurate.
Screen Despot This controls how much to simplify the matte. It coagulates
similar regions so that, for example, black specks in the
white matte can be absorbed by the surrounding white areas.
Increasing the Screen Despot Black will remove isolated
spots of black in the white matte. Increasing Screen Despot
White will remove isolated spots of white in the background
up to that size.
Tuning Keylight creates the screen matte after the screen colour
has been picked. You can make fine adjustments to this
matte using the gain controls. Increasing the gain controls
makes the screen matte more transparent by increasing the
amount of screen colour showing through the matte. This
tends to tint the edges the opposite of the screen colour (for
blue screens, edges become yellow). Decreasing the gain
makes the main matte more opaque by reducing the amount
of screen colour showing through the matte.
Inside & Outside If you can’t adequately improve the Screen Matte using the
Masks Clip Levels, you can input a mask that defines the foreground
or background. The Inside mask makes the foreground less
transparent and the Outside mask is used to clean up the
background that might have bits of the foreground showing
through. The Outside mask is often used to clean up screens
Figure 51. Mask drawn round the Figure 52. Mask used as an
lighting rig. Outside Mask and Viewed.
Here, you can see the change in the matte that will result in
the lighting rig being keyed out in the final composite. If
more than one mask is required to remove garbage, then use
the masks to create an embedded alpha channel in the image
and set the Source Alpha to Normal. See “Source Alpha”
below.
Source Alpha This parameter determines how to deal with any embedded
alpha in the original image.
• Ignore - this will not use any embedded alpha in the key.
• Add To Inside Mask - the embedded alpha is added to the
inside mask.
• Normal - the embedded alpha is used to key the layer as
normal. It is added to Keylight’s screen matte and can be
useful if requiring complicated multi-shaped masks to
rotoscope out garbage.
Edge Colour The Edge Colour Correction parameters allow you to colour
Correction correct edges to seat the composite into the background. To
see the areas considered an edge that you will be affecting,
select the Colour Correction Edges from the View menu.
Source Crops The Source Crops enable you to quickly cut out lighting rigs
or other unwanted elements using vertical and horizontal
lines.
Keylight requires access to source pixels that lie off the edge
of the source image. The cropping controls provide access to
all the controls required for specifying how pixels are
treated at these edges and where they appear. The built-in
crop controls are also useful for removing unwanted black
pixels at the edge of video footage.
Note Horizontal and vertical crop boundaries can have different edge
methods. Cropping is often used to remove unwanted pixels at the
edge of an image. If a video clip is digitized badly, you may get
black edges left and right. These can be easily removed by moving
the vertical crops and setting the edge method to Reflect.
Edge Colour - sets the fill colour used when the edge method
is set to Colour.
Left, Right, Top, Bottom - use these controls to set the crop
positions. Lines will be overlaid in the display enabling you to
set the various positions by eye.
Note The position of the crop lines can be changed by clicking and
dragging them directly on the screen.
Inside and Outside The crops controls described above also exist for Inside and
Crops Outside masks.
TUTORIAL
Tutorial 1: Simple Using the blue screen clip from The Saint, you will composite
Key the actor over the background. You will learn how to:
• Apply Keylight to a clip.
• Pick the Screen Colour.
• View the Final Result.
The clips you will need for this task are called SaintFG.mov
and SaintBG.mov, pictures courtesy of CFC and Paramount
British Pictures Ltd. for the film The Saint. You should import
them into Final Cut Pro and create a new sequence
Figure 58. Apply Keylight from the Effects > Video Filters
menu.
Tutorial 2: Fine Using the images from the film The Saint, you will learn how
Tuning a Key to fine tune the key pulled in Tutorial 1. You will learn how
to:
• Use Status to judge the quality of the key.
• Use the Screen Gain to improve the background.
• Use the Despill Bias to remove more blue spill.
Tutorial 3: Extreme This is a really interesting clip from the film Merlin. The
Blue Spill results with Keylight are certainly not perfect, indeed it is
unlikely that you will ever end up with a truly realistic
looking shot. However, there are some interesting things to
observe. You will learn how to:
• Reduce the blue spill using Screen Balance and Despill
Bias.
• Improve the foreground opacity using Alpha Bias.
1. Load the MerlinBlueFG.mov (Figure 66) and Merlin-
BlueBG.mov clips and apply Keylight.
6. Look at the Final Result in the Canvas. You will notice that
Miranda Richardson’s face still has a number of blue
highlights that we should fix. The best way to do this is
using an Inside mask. We have provided one for you, so
import the Mask.mov clip shown in Figure 70 and drag it
to the Inside clip well.
Tutorial 4: A Red Using the images from the film Executive Decision, you will
Green Screen learn how to pull a key from a poor green screen using the
Despill Bias control. You will learn how to:
• Pick the Screen Colour.
• Use Despill Bias and Alpha Bias.
• Produce a final composite.
The images you will need for this tutorial are called ExecFG.
1. Load the pictures ExecFG.mov (Figure 74) and
ExecBG.mov. Apply Keylight.
Figure 79. Close up view. The left image has Screen Replace
set to Source. The right image has Screen Replace set to
None.
APPENDIX A
Requirements
Final Cut Pro 6.0.4 or above on Mac OS X.
New Features
There are no new features in this release.
Improvements
There are no improvements in this release.
Fixed Bugs
Fixed instability in plug-ins caused by OS incompatibility
with FLEXlm 10.8 licensing module. Upgraded FLEXlm to
10.8.6 for improved Leopard compatibility.
Keylight 2.0v1 This is the first release of Keylight on Final Cut Pro.
Requirements
Final Cut Pro 6.0 on Mac OS X.
New Features
This section will describe new features in later versions.
Improvements
This section will describe improvements to existing features
in later versions.
Fixed Bugs
This section will describe fixed bugs in later versions.
APPENDIX B
Authorized Project) to use or have access to the Software or Documentation; (f) copy or install the
Software or Documentation other than as expressly provided for herein; or (g) take any action, or
fail to take action, that could adversely affect the trademarks, service marks, patents, trade secrets,
copyrights or other intellectual property rights of The Foundry or any third party with intellectual
property rights in the Software (each, a "Third Party Licensor"). Furthermore, for purposes of this
Section 2, the term "Software" shall include any derivatives of the Software.
Licensee shall install and use only a single copy of the Software on one computer, unless the Soft-
ware is installed in a "floating license" environment, in which case Licensee may install the Software
on more than one computer; provided, however, Licensee shall not at any one time use more copies
of the Software than the total number of valid Software licenses purchased by Licensee.
Furthermore, the Software can be licensed on an "interactive" or "non-interactive" basis. Licensee
shall be authorized to use a non-interactive version of the Software for rendering purposes only
(i.e., on a CPU, without a user, in a non-interactive capacity) and shall not use such Software on
workstations or otherwise in a user-interactive capacity. Licensee shall be authorized to use an
interactive version of the Software for both interactive and non-interactive rendering purposes, if
available.
Finally, if the Software is an "Educational Version," Licensee may use it only for the purpose of train-
ing and instruction, and for no other purpose. Educational Versions of the Software may not be used
for commercial, professional or for-profit purposes.
SECTION 4. OWNERSHIP.
Licensee acknowledges that the Software and Documentation and all intellectual property rights
relating thereto are and shall remain the sole property of The Foundry and the Third Party Licensors.
Licensee shall not remove, or allow the removal of, any copyright or other proprietary rights notice
included in and on the Software or Documentation or take any other action that could adversely
affect the property rights of The Foundry or any Third Party Licensor. To the extent that Licensee is
authorized to make copies of the Software or Documentation under this Agreement, Licensee shall
reproduce in and on all such copies any copyright and/or other proprietary rights notices provided in
and on the materials supplied by The Foundry hereunder. Nothing in this Agreement shall be deemed
to give Licensee any rights in the trademarks, service marks, patents, trade secrets, copyrights or
other intellectual property rights of The Foundry or any Third Party Licensor, and Licensee shall be
strictly prohibited from using the name, trademarks or service marks of The Foundry or any Third
Party Licensor in Licensee's promotion or publicity without The Foundry's express written approval.
ties may not be disclaimed under applicable law, then ANY IMPLIED WARRANTIES ARE LIMITED IN
DURATION TO NINETY (90) DAYS AFTER DELIVERY OF THE SOFTWARE TO LICENSEE.
SECTION 9. INDEMNIFICATION.
Licensee agrees to indemnify, hold harmless and defend The Foundry and The Foundry's affiliates,
officers, directors, shareholders, employees, authorized resellers, agents and other representatives
(collectively, the "Released Parties") from all claims, defense costs (including, but not limited to,
attorneys' fees), judgments, settlements and other expenses arising from or connected with the
operation of Licensee's business or Licensee's possession or use of the Software or Documentation.
INDEX
V
View 17, 31
View Controls
Colour Correction Edges 32
Combined Matte 32
Corrected Source 31
Final Result 32
Inside Mask 32
Intermediate Result 32
Outside Mask 32
Screen Matte 32
Source 31
Source Alpha 31
Status 32
W
white pixels
See Status 18