Chapter 8. Performing Color Correction

Performing Color Correction

Not every shot you receive will be a pristine masterpiece. Most shots will require some degree of color correction. With After Effects, you can transform a dull, lifeless shot into a bright, sharp clip in no time.

Lesson overview

<feature><title></title>

In this lesson, you’ll learn how to do the following:

<objective>

Use masks to isolate areas of an image for color correction.

</objective>
<objective>

Use the Color Balance effect to enhance areas of a shot.

</objective>
<objective>

Use the Auto Levels effect to introduce a color shift.

</objective>
<objective>

Use a track matte to isolate an area of an image.

</objective>
<objective>

Apply the Hue/Saturation and Brightness & Contrast effects to convert a color image to a high-contrast, black-and-white image.

</objective>
<objective>

Correct a range of colors using Synthetic Aperture Color Finesse.

</objective>
<objective>

Apply the Photo Filter effect to warm portions of an image.

</objective>
<objective>

Remove unwanted elements of a scene with the Clone Stamp tool.

</objective>

As the name implies, color correction is a way of altering or adapting the color of the captured image. Color correction is performed to optimize source material, to focus attention on a key element in a shot, to correct errors in white balance and exposure, to ensure color consistency from one shot to another, or to create a color palette for a specific visual look desired by a director.

In this lesson, you will improve the color and saturation of a video clip that was shot on a partly cloudy day. You will begin by using masks to isolate sections of the shot. Then, you’ll apply a variety of color-correction effects to clean up and enhance the image. Finally, you will remove an unwanted portion of the shot with the Clone Stamp tool.

This lesson will take approximately 1 hour to complete.

</feature>

Getting started

Make sure the following files are in the AE7_CIB > Lessons > Lesson08 folder on your hard disk, or copy them from the Adobe After Effects 7.0 Classroom in a Book DVD now.

  • In the Assets folder: campus_before.mov, storm_clouds.jpg

  • In the Sample_Movie folder: Lesson08.mov

  • Open and play the Lesson08.mov file to see what you will create in this lesson. When you’re done, quit the QuickTime player. You may delete the sample movie from your hard disk if you have limited storage space.

Setting up the project

When you begin this lesson, restore the default application settings for After Effects. See “Restoring default preferences,” page 5.

  1. Press Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS) while starting After Effects. When asked whether you want to delete your preferences file, click OK.

    After Effects opens to display an empty, untitled project.

  2. Choose File > Save As.

  3. In the Save Project As dialog box, navigate to the AE7_CIB > Lessons > Lesson08 > Finished_Project folder.

  4. Name the project Lesson08_Finished.aep, and then click Save.

Importing the footage

You need to import two footage items for this lesson.

  1. Choose File > Import > File.

  2. Navigate to the AE7_CIB > Lessons > Lesson08 > Assets folder, Shift-click to select the campus_before.mov and storm_clouds.jpg files, and then click Open. Organize the footage items before continuing.

  3. Choose File > New > New Folder to create a new folder in the Project panel, or click the Create A New Folder button (importing filescolor correctionimporting footageImporting the footage) at the bottom of the panel.

  4. Type Movies to name the folder, press Enter (Windows) or Return (Mac OS) to accept the name, and then drag the Campus_before.mov file into the Movies folder.

  5. Create another new folder and name it Images. Then, drag the Storm_clouds.jpg file into the Images folder.

  6. Click the triangles to open the folders so that you can see their contents.

    importing filescolor correctionimporting footageImporting the footage

Creating the composition

Now, you will create a new composition based on the Campus_before.mov movie.

  1. Drag the Campus_before.mov file onto the Create A New Composition button (Creating the composition) at the bottom of the Project panel. After Effects creates a new composition named for the source file and displays it in the Composition and Timeline panels.

    Creating the composition
  2. (Optional) Check the composition’s aspect ratio and duration by choosing Composition > Composition Settings. This is a NTSC DV composition that is 5 seconds long. Click Cancel to close the Composition Settings dialog box.

    Creating the composition
  3. Drag the Campus_before composition to an empty area of the Project panel to move it out of the Movies folder.

    Creating the composition
  4. Choose File > Save to save your work.

Adjusting color balance

Now, you’re ready to get down to business. Start by previewing the source footage to see what you need to do.

  • Drag current-time indicator across the time ruler to manually preview the shot. Notice that the grass, shrubs, and trees are dark and underexposed. They look almost dead. You can bring these elements back to life back by increasing their saturation and brightness. You’ll start with the grass.

Masking the grass

First, isolate the grass so that you don’t brighten the whole image and blow out other, well-exposed areas, such as the sky.

  1. Press the Home key to make sure the current-time indicator is at the beginning of the time ruler.

  2. Select the Campus_before layer in the Timeline panel.

  3. Rename the layer by pressing the Enter (Windows) or Return (Mac OS), typing Grass, and pressing Enter or Return again.

    Masking the grass

    As you learned in Lesson 6, “Working with Masks,” it helps to change the background color of the layer when you’re creating or editing masks.

  4. Choose Composition > Background Color and select a color of your choice. For this exercise, we selected red (RGB=255, 0, 0). Click OK to close the Background Color dialog box.

    Masking the grass

    Note

    Masking the grass

    Now, you will isolate the grass on this layer by creating a mask with the Pen tool.

  5. Using the Pen tool (Masking the grass), isolate the triangular area of grass between the sidewalk and the building: Set the three vertices, and then click the first vertex again to close the mask.

    Note

    Masking the grass
    Masking the grass

    When you close the mask, the rest of the image disappears—that’s not good. You want the rest of the image to be part of the scene. You could reveal it by changing the mask mode from Add to None, but then you’d have to do this for every mask you create on this layer—and you’re going to create additional masks to isolate other areas of grass. A better alternative is to add a reference layer.

  6. Drag another instance of the Campus_before.mov movie from the Project panel to the Timeline panel, placing it below the Grass layer.

  7. Rename this layer Background.

    Masking the grass
  8. Select the Grass layer again in the Timeline panel and continue to use the Pen tool to mask all of the grassy areas of the shot.

    Masking the grass

    You may use as many masks as you like to isolate the grass, but you should be able to get everything with three masks. You can click the Pen tool on the pasteboard of the Composition panel to be sure you include all the grass at the bottom of the image, right up to the edge.

  9. With the Grass layer selected in the Timeline panel, press the F key to reveal the Mask Feather property for each mask in the layer.

    Masking the grass
  10. Increase the Mask Feather amount to 10.0, 10.0 pixels for all three masks in the Grass layer. This will soften the edges of the masks and prevent noticeable artifacts when you apply the Color Balance effect in the next exercise.

    Masking the grass

Brightening the dark grass

As discussed earlier, the highlights, or bright areas, of the grass need to be pumped up. You’ll do that now using the Color Balance effect. The Color Balance effect allows you to increase or decrease the saturation of one of the red, green, or blue channels over the three different intensity ranges (shadows, midtones, and highlights). Instead of affecting all colors in the shot, you will focus on just the greens.

  1. With the Grass layer selected in the Timeline panel, choose Effect > Color Correction > Color Balance.

  2. In the Effect Controls panel, increase the Hilight Green Balance value to 50.0. The masked green areas of the image brighten considerably.

    brightnesslighting effects brightness.Brightening the dark grass
  3. Unless you want the grass to look like mature bluegrass, decrease the Hilight Blue Balance to –30.0. This reduces the overall blue cast of the grass.

  4. Check the Preserve Luminosity box. This preserves the average brightness of the image, which helps maintains the overall tonal balance and keeps the colors from getting too out of control. In other words, it keeps the colors from becoming unnaturally green while keeping shading consistent.

    brightnesslighting effects brightness.Brightening the dark grass
  5. Select the Grass layer in the Timeline panel and press U to hide its properties and keep the Timeline panel neat.

  6. Choose File > Save to save your work.

Replacing an element of the shot

You’re going to change gears now and add some dramatic clouds to the sky.

  1. Press the Home key to make sure the current-time indicator is at the beginning of the time ruler.

  2. Bring the Project panel forward. Then, drag another instance of the Campus_before.mov movie from the Project panel to the Timeline panel, placing it at the top of the layer stack.

  3. Rename the Campus_before layer Sky.

    Replacing an element of the shot

Adding the clouds

Now, add the clouds to the scene.

  1. Drag the Storm_clouds.jpg file from the Project panel to the Timeline panel, placing it between the Sky and the Grass layers.

  2. Turn off the visibility for the Sky layer by clicking the Video switch (color correctionadding cloudsAdding the clouds). Now, you can fully see the storm clouds layer. You need to scale and reposition the clouds to fit the sky area of the image.

    color correctionadding cloudsAdding the clouds
  3. With the Storm_clouds layer selected in the Timeline panel, press the S key to display its Scale property.

  4. Decrease the Scale values to 60.0, 60.0%.

    color correctionadding cloudsAdding the clouds

    Note

    color correctionadding cloudsAdding the clouds
  5. Make sure the Storm_clouds layer is selected in the Timeline panel and press the P key to display its Position property.

  6. Change the Position values to 425.0, 150.0.

    color correctionadding cloudsAdding the clouds
  7. Make sure the Storm_clouds layer is selected in the Timeline panel and press U to hide its properties.

Color-correcting the clouds

Although the storm clouds are dramatic, the contrast of the image is limited. You don’t want the clouds to look so dark and flat.

  • With the Storm_clouds layer selected in the Timeline panel, choose Effect > Color Correction > Auto Levels.

    effectscolor, Auto-LevelsColor-correcting the clouds

    The Auto Levels effect automatically sets highlights and shadows by defining the lightest and darkest pixels in each color channel as white and black, and then it redistributes intermediate pixel values proportionately. Because Auto Levels adjusts each color channel individually, it may remove or introduce a color cast. In this case, with the default settings applied, Auto Levels introduces a blue color cast that makes the clouds more intense.

Masking the sky

Next, you need to remove the original sky from the image so that the storm clouds are visible. There are different ways to accomplish this, including drawing a detailed mask or using a track matte. You’ll do the latter.

  1. Choose Columns > Modes from the Timeline panel menu.

  2. Change the TrkMat pop-up menu for the Storm_clouds layer to Luma Matte “Sky.” This removes the bright part of the sky and creates a hole for the underlying storm clouds to show through.

    color correctionmasking skyMasking the sky

Cleaning up the mask

The Luma track matte did a good job, but there are some holes in the brighter portions of the layer, such as the windows of the building. The best way to fix these holes is to convert the Sky layer into a high-contrast, black-and-white image. But what effect or effects should you use to accomplish that? First you will use the Hue/Saturation effect, and then the Brightness & Contrast effect.

  1. Temporarily turn on the Sky layer by clicking the Video switch (masksperforming color correction withCleaning up the mask) for the layer in the Timeline panel.

  2. Select the Sky layer in the Timeline panel and choose Effect > Color Correction > Hue/Saturation.

    masksperforming color correction withCleaning up the mask
  3. In the Effect Controls panel, decrease the Master Saturation to –100 and decrease the Master Lightness to –10.

    masksperforming color correction withCleaning up the mask
  4. Choose Effect > Color Correction > Brightness & Contrast.

  5. Close the properties for the Hue/Saturation effect in the Effect Controls panel so that you can more easily see the Brightness & Contrast effect properties.

  6. Reduce the Brightness to –52.0 and increase the Contrast to 100.0.

    masksperforming color correction withCleaning up the mask

    Much better. However, there are a few stray pixels around the white light fixture by the door of the building. You can correct this with a simple mask.

  7. With the Sky layer still selected in the Timeline panel, use the Rectangular Mask tool (masksperforming color correction withCleaning up the mask) to draw a selection around the two most pronounced white pixels on the building near the middle of the Composition panel.

    masksperforming color correction withCleaning up the mask

    As you drag with the Rectangle Mask tool, the full-color image appears outside of the selected area. This is because the default mask mode is Add, which keeps the information inside the mask intact and removes (or masks) the area outside the region. Because you still have the Background layer visible, you see that layer. In order to keep everything visible outside of the mask but remove the content inside the mask, you need to invert it.

  8. Select the Sky layer in the Timeline panel and press the M key to reveal its Mask property. Then, check the Inverted box to invert the mask.

    masksperforming color correction withCleaning up the mask
  9. Now, turn off the visibility for the Sky layer by clicking on the Video switch (masksperforming color correction withCleaning up the mask). Then, switch to the Selection tool (masksperforming color correction withCleaning up the mask) and click the pasteboard of the Composition panel.

    masksperforming color correction withCleaning up the mask

    Ta da. That was certainly much easier than manually drawing a mask around the building and the trees.

  10. Select the Sky layer in the Timeline panel and press U to close its properties click an empty area of the Timeline panel to deselect all layers; and then choose File > Save to save your work.

Lightening other dark areas

The image is looking better, and while the neighbors would certainly compliment you on the quality of the lawn, the foreground shrub and the large evergreen tree are still dark and underexposed. You’ll fix that next.

Masking the shrub and tree

As you did for the grass, you will first isolate the shrub and tree, and then you will correct the color.

  1. Press the Home key to make sure the current-time indicator is at the beginning of the time ruler.

  2. Bring the Project panel forward and then drag another instance of the Campus_before.mov movie from the Project panel to the Timeline panel, placing it at the top of the layer stack.

  3. Rename the Campus_before layer Tree and Shrub.

    Masking the shrub and tree
  4. Using the Pen tool (Masking the shrub and tree), isolate the foreground shrub on the left side of the image and the evergreen tree on the right side of the image.

    Masking the shrub and tree
  5. With the Tree and Shrub layer selected in the Timeline panel, press the F key to display the Mask Feather property for the two masks on the layer.

  6. Increase the Mask Feather value for each mask to 10.0, 10.0 pixels.

    Masking the shrub and tree
  7. Select the Tree and Shrub layer in the Timeline panel and press U to hide its properties.

Removing stray sky elements and copying effects

Once again, the sky is your nemesis when trying to correct the color in this shot. In order to completely remove the original sky, you need to mask it from behind the tree. You also need to lighten the tree and shrub. But instead of doing the work all over again, you can speed the process by copying effects, and then apply the track matte.

  1. Select the Tree and Shrub layer in the Timeline panel, press Ctrl+D (Windows) or Command+D (Mac OS) to duplicate it, and then rename the duplicated layer (Tree and Shrub 2) Tree Matte.

    removing elementsRemoving stray sky elements and copying effectscopying effects

    The Hue/Saturation and Brightness & Contrast effects that you applied to the Sky layer would be a good first step to lightening the shrub and the tree.

  2. Select the Sky layer in the Timeline panel and press the E key to display the layer’s Effects properties: Hue/Saturation and Brightness & Contrast.

  3. Shift-click to select both the Hue/Saturation and Brightness & Contrast effect names in the Sky layer and then choose Edit > Copy or press Ctrl+C (Windows) or Command+C (Mac OS).

  4. Select the Tree Matte layer in the Timeline panel and then choose Edit > Paste or press Ctrl+V (Windows) or Command+V (Mac OS).

    removing elementsRemoving stray sky elements and copying effectscopying effects

    Now that you’ve copied the effects, create the matte.

  5. Select the Tree and Shrub layer in the Timeline and choose TrkMat > Luma Inverted Matte “Tree Matte.”

    removing elementsRemoving stray sky elements and copying effectscopying effects

    Excellent. You can now correct the color in the Tree and Shrub layer.

  6. Close the properties for the Sky layer in the Timeline panel and then choose File > Save to save your work.

Correcting a range of colors

Even though you isolated the tree and shrub from the shot, simply applying a levels effect would quickly reveal the edges of the mask. What you need is a way to select a specific color range, and correct just that area as a type of secondary color correction. For this, you will use the Synthetic Aperture Color Finesse effect, a third-party effect that comes bundled with After Effects and offers the capability to isolate a color range and adjust only those colors.

Note

The following exercise requires Synthetic Aperture’s Color Finesse plug-in to be installed on your system. The installation files can be found on your After Effects disc.

  1. With the Tree and Shrub layer selected in the Timeline panel, choose Effect > Synthetic Aperture > SA Color Finesse.

  2. In the SA Color Finesse area of the Effect Controls panel, click the Setup button.

    Note

    SA Color Finesse opens in a floating window.

    Note
  3. Check the box in the Secondary tab to activate secondary color correction, and then click the tab to open the Secondary color-correction controls.

    Note

    SA Color Finesse allows you perform up to six different secondary color-correction operations. You’ll just perform one, however.

  4. Check the box in the A tab to perform your color-correction operation.

  5. Using the four Sample eyedroppers, make four color selections in the evergreen tree. Try to sample various shades of green from light to dark; zoom in if necessary to help you select a range of hues.

    Note

    Even though four samples don’t encompass the entire contrast range of the tree, SA Color Finesse has controls to refine the color selection.

  6. Still in the A tab, choose Preview > Mask. Now you can see the areas that are selected and those that are masked (shaded in red).

    Note
  7. Adjust the Chroma Tolerance, Luma Tolerance, and Softness sliders until everything but the tree and shrub and most of the grass is selected. There are no set values here, as the adjustments will depend on your sampled colors. However, our values are shown in the following image, and the selection should resemble the following image.

    Note
  8. Increase the Gain amount to 1.33.

  9. Choose Preview > Off, then click OK to apply the correction and to close the SA Color Finesse window.

    Note

    Thanks to the Gain adjustment you just performed, the tree and the shrub are much brighter in the image.

  10. Choose File > Save to save your work.

Note

To learn more about SA Color Finesse, read the manual that is included on the After Effects installation disc.

Warming colors with the Photo Filter effect

Finally, warm up the building and make it more inviting with the Photo Filter effect.

The Photo Filter effect mimics the technique of using a colored filter on a camera lens to adjust the color balance and color temperature of the light transmitted through the lens and exposing the film. You can choose a color preset to apply a hue adjustment to an image, or you can specify a custom color using the Color Picker or the eyedropper.

  1. With the Background layer selected in the Timeline panel, choose Effect > Color Correction > Photo Filter.

  2. In the Effect Controls panel, choose Filter > Warming Filter (81).

    Warming colors with the Photo Filter effectPhoto Filter effect

    There, that’s better.

  3. Choose File > Save.

Removing unwanted elements

The color is looking great, but you’re not quite done. The director wants you to remove the student in the red shirt walking in the background, because he is visually distracting. You’ll use the Clone Stamp tool to paint out this unwanted element of the scene on a frame-by-frame basis. This type of hand painting is not a glamorous job, but sometimes it has to be done.

Note

The following exercise is good practice, but it is quite time-consuming. Therefore, it is optional.

  • Select the Clone Stamp tool (Note) in the Tools panel.

The Clone Stamp tool samples the pixels on a source layer and applies the sampled pixels to a target layer; the target layer can be the same layer or a different layer in the same composition.

Preparing the workspace

Now, configure the workspace with the panels you need for painting.

  1. Choose Window > Workspace > Paint. After Effects opens the Layer panel, which is where you’ll do the painting, and also displays the Paint and Brush Tips panels.

  2. Double-click the Background layer in the Timeline panel to open it in the Layer panel. This is the layer on which you’ll paint.

    Preparing the workspace
  3. In the Brush Tips panel, choose a soft, round 17-pixel brush.

    Preparing the workspace

Note

As you work, you may need to increase or decrease the size of the brush, but 17 pixels is a good starting point.

Painting across time

If you’ve done any work in Photoshop, the concept of cloning is probably familiar to you. However, in After Effects you can clone across time, not just clone a static location in a 2D image.

  1. Press the Home key to make sure the current-time indicator is at the beginning of the time ruler.

  2. Zoom in to the student walking in the background on the left side of the image, and then choose the Clone Stamp tool again if necessary.

    Painting across time

    By default, any paint or clone procedure remains constant for the entire length of the composition. However, this will cause problems later in this scene when the student moves into the painted space, so you need to change the duration of the clone operation.

  3. In the Paint panel, choose Duration > Single Frame. This will only keep the cloned area on-screen for a single frame.

    Painting across time

    Now, you need to instruct the Clone Stamp tool to take information from a future point in time—a point when the two subjects in the foreground are off-screen.

  4. Slowly drag the Source Time Shift value in the Paint panel to 30 frames. As you drag the Source Time Shift value, you will see a ghost overlay of the frames being shifted. The Source Shift Time setting allows you to sample the layer from a different point in time.

    Painting across time
  5. In the Layer panel, paint out the student in the background using the Clone Stamp tool. The key here is to use small, essential strokes. Make sure your clone area is not too big, or you may pick up traces of the subject from the shifted time frame.

    Painting across time

    Note

    Painting across time

    Now that you’ve painted out the student in the first frame, you need to advance to the next frame and repeat the procedure.

  6. Press the Page Down key to advance one frame.

    Note

    Painting across time
  7. Repeat steps 5 and 6 for each frame of the shot until the end. As the student gets closer to the two men in the foreground—around 2:15—you will need to reduce the size of your brush. You will also need to change the Source Time Shift value either forward or backward as you progress. For example, at 2:00, change the Time Shift to –54 for a clear area to continue cloning. At other points in time ruler you will need to make your own determination as to the Time Shift value. The key is to find a frame where the foreground subjects do not interfere with the area you are cloning.

Checking your work

When you are finished, make a RAM preview and make sure the student doesn’t “ghost” in and out of the shot.

  1. Click the RAM Preview button (Checking your work) in the Time Controls panel.

  2. If you notice an arm or a leg appearing in the shot, go to the offending frame and touch up the area. If you have removed the subject completely, there should be no trace of him in any frame.

    Checking your work
  3. When you’re done, choose File > Save to save the finished project.

If you’d like to render the composition, see Lesson 12, “Rendering and Outputting,” for details.

Congratulations. You’ve done an excellent job of color-correcting this fine composition. And as you learned, painting out an unwanted subject from a shot is tedious work, but it’s an important skill, and now you know how to do it.

Review

Review questions

1

Why do you need to color correct a shot?

2

What does the Color Balance effect do, and what is the Preserve Luminosity option?

3

What effect can you use to warm up the colors in an image?

4

In order to paint out an object in a scene yet preserve the background behind the object, what setting should you adjust in the Paint panel?

Review answers

1

Color correction is performed to optimize the source material, to focus attention on a key element in the shot, to correct errors in white balance and exposure, ensure color consistency from one shot to another, or to create a color palette to match the visual look of the director.

2

The Color Balance effect allows you to increase or decrease the saturation of one of the red, green, or blue channels over the three different intensity ranges (shadows, midtones, and highlights). Checking the Preserve Luminosity option preserves the average brightness of the image, which helps to maintain the overall tonal balance.

3

You can use the Photo Filter color-correction effect to warm up the color of an image. The Photo Filter effect mimics the technique of using a colored filter over the lens of a camera to adjust the color balance and color temperature of light transmitted through the lens and exposing the film. Choose the Warming Filter in the Photo Filter Effect Controls panel to warm up the color of an image.

4

You use the Source Time Shift setting, which specifies the number of seconds between the sample and the clone stroke, when painting out an object in a scene.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.20.52