Working with Keying Filters


In the previous exercises, you worked with filters to add color and stylize objects in the Canvas. Other filters are used for more practical purposes.

The Keying filters are used to change an image area that is of uniform color or brightness into a transparent alpha channel based on the same shape as the selected area. For example, the TV weathercaster stands in front of a large green or blue screen to do a weather report. The green or blue background can be removed using Keying filters and replaced with the image of a computerized map.

Motion includes five Keying filters: Blue Green Screen, Color Key, Lumakey, Primatte RT, and Spill Suppressor.

Your goal in the next series of exercises is to add moving clouds to a still image with a solid blue sky. To accomplish this, you'll use the Primatte RT filter to remove the blue sky from the image and then add clouds to the background from the Motion Library Content folder.

Opening the Clouds Project

First, you'll need to open the Greece Clouds start project located in the Lesson_05 folder in the File Browser. The project already contains two layers. The first layer contains a photograph of the Parthenon. The second layer is an empty background layer where you'll add the moving clouds.

1.

In the lower pane of the File Browser, click the disclosure triangle on the Oakley folder to hide the contents.

2.

Click the disclosure triangle on the Clouds folder to reveal the contents.

3.

Ctrl-click the Greece Clouds start project and select Reveal in Finder from the contextual menu.

4.

Double-click the Greece Clouds start project in the Finder to open the project.

An image of Greek ruins appears in the Canvas.

Notice that the sky is a fairly uniform blue color without any clouds.

Applying the Primatte RT Filter

The Library tab in the Utility window is a great place to look for filters when you're not sure exactly what you want to use. Not only can you browse through the filter categories, but you can also see the filters in the Preview area, which helps you choose the right one.

The Primatte RT filter is a high-quality Keying filter that renders the blue or green areas of an image transparent, allowing the background images to show through.

If you already know what filter you want to apply, you can choose it from the Add Filter pop-up menu in the Canvas. The Add Filter pop-up menu applies filters to selected objects or layers.

Let's use the Add Filter pop-up menu to apply the Primatte RT filter to the Greece image in the Canvas.

1.

Click the Greece image in the Canvas to select it.

2.

At the top of the Canvas, open the Add Filter pop-up menu and choose Keying > Primatte RT.

The Primatte RT filter works instantly, removing all of the blue background from the image. The black (empty) background shows through the transparent areas that the Primatte RT filter creates.

Let's save the project before you modify it further.

3.

Choose File > Save As and save the Greece Clouds start project in the My Motion Projects folder on the Desktop.

Evaluating the Primatte RT Filter in the Dashboard

Before you add a background image to the project, let's look at the Primatte RT Dashboard to see what just happened.

The top portion of the Primatte RT Dashboard includes a pop-up menu for changing the type of output in the Canvas and a color well to show you the color that the filter rendered transparent.

Let's look at the Output Type pop-up in the Primatte RT Dashboard to see the various elements that make the finished view: Foreground, Background, Processed Foreground, and Matte.

1.

In the Primatte RT Dashboard, open the Output Type pop-up menu and choose Foreground from the menu.

The output (image in the Canvas) changes to reveal the original image.

2.

Open the Output Type pop-up menu again and choose Background.

The entire Canvas turns black, indicating there is no background content.

3.

Open the Output Type pop-up menu again; this time choose Processed Foreground.

The processed foreground is the finished image that combines the foreground and background images.

4.

Open the Output Type pop-up menu and choose Matte.

The Matte view reveals the image transparency in black and white. The black areas of the matte indicate 100 percent transparency; the white areas of the matte indicate 0 percent transparency; the gray areas in the matte indicate partial transparency. A clean matte has only black and white, with no gray areas of partial transparency.

5.

Change the output type back to Processed Foreground.

Let's add a background to see how the Parthenon looks with clouds behind it.



    Apple Pro Training Series Getting Started with Motion
    Apple Pro Training Series: Getting Started With Motion
    ISBN: 0321305337
    EAN: 2147483647
    Year: 2005
    Pages: 283
    Authors: Mary Plummer

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net