6
The Color Correction Effects

The Color Correction effect category contains more effects than any other single category in all of After Effects—29 now, to be exact. While that isn’t really an indicator of importance, it just so happens that these effects might be the most important in After Effects. I say that because all workflows use color, and therefore can utilize color tools. The compositor might never need The Fractal Noise effect. The text animator may never find a use for the Color Difference Key effect. But they both still use color, and will more than likely need to use tools for adjusting color often. The effects in this category change colors, remove colors, isolate colors, colorize footage, bring colors into compliance with a video standard, and almost any other color-related task you can think of.

You might be wondering—why are there so many color adjustment effects? Are there really 29 different things you can do with color? That’s a valid question. And actually, many of these color correction effects perform very similar functions, with different ways to do things. If you had footage of a fire that looked red, and you wanted to make it more orange, you could use Hue/Saturation, or Color Balance, Colorama, or even Levels or Curves. All of these effects are very powerful and would do a comparable job. The difference is mostly in the way that they are used. The task is to find color correction tools that allow you to adjust colors in ways that make sense to you.

One of the great benefits of this category of effects, is that you’ll see many familiar friends here, if you’re familiar with Photoshop. Color and luminance adjustment tools like Color Balance, Channel Mixer, Levels, Curves, Shadow/Highlight, Hue/Saturation, and several more, are in both Photoshop and After Effects. For the most part, these are powerful, intuitive tools, and they are one of the big reasons that Photoshop users find it so easy to learn After Effects.

What’s in This Chapter

Before we jump into these effects, I want to give you an idea of what’s coming up. Many of you might not want to read such a large chapter straight through. You may be somewhat new to After Effects or color adjusting, and may want to know which color effects perform simple tasks quickly. Or you may be more experienced with After Effects, and you might want to know the most powerful tools to use here. In this little intro section, we’ll also look at which effects are mostly worthless in my opinion.

The Simple and the Complex

The first effects in this category all begin with the term “auto,” which means that they make corrections for you. For high end projects, these effects might not cut it. But if you’re facing intense deadlines, or if you’re just looking for something quick and easy, the auto color correction effects are a lifesaver. If you’re looking for a quick way to edit shadows and highlights, the Shadow/Highlight effect is simple and works well and also has some auto settings. If you’re looking for the utmost power when it comes to correcting brightness issues, Levels and Curves are the most common, fairly easy to use, and produce some great results.

What about colorizing? The Tint effect is the simplest tool for the job, and the Tritone effect is a little more powerful and very similar. The Colorama effect is the most complex and powerful tool in this chapter by far, and it is also the most advanced tool for colorizing footage in After Effects. I also frequently turn to Hue/Saturation and Color Balance to add or shift colors.

The (Nearly) Worthless Effects

When it comes to the effects in After Effects, I’m fully aware that beauty is in the eye of the beholder. I’ve heard After Effects instructors or authors say an effect is useless, when I couldn’t live without it. I’ve also been guilty of saying an effect was worthless, until a colleague pointed out an innovative way to use it that I had never thought of.

So, with that disclaimer, I’m going to share with you some of the effects in this chapter that I haven’t found innovative ways to use yet; effects that you might be able to live without.

The Color Balance effects is one of my all-time favorite effects. But in this section, there is also an effect called Color Balance (HLS), which I think is worthless when you have the 32 bit Hue/Saturation at your convenience. I’m also not a big fan of the Gamma/Pedestal/Gain effect, which is typically a great tool for colorists, but is almost completely useless here (in my opinion) without scopes of any kind. One of the effects that you should probably avoid at all costs is the Brightness & Contrast effect, which does terrible things to your footage. Don’t be tempted to use it because of its simplicity, unless using it for a specific purpose as we’ll discuss in a moment. Perhaps the most worthless effect here is the PS Arbitrary Map effect.

The purpose of this book is to cover all effects, and that’s precisely what we’ll do, for the sake of completeness. We’ll pass quickly through effects that I consider worthless. And who knows, you may find an innovative way to use them after all.

The Auto Color Effect

The Auto Color and Auto Contrast effects are quite similar. They both attempt to automatically fix color and contrast, respectively. They also work on all of the luminance values of an image, as opposed to individual channels like the Auto Levels effect. Because they don’t process each color channel individually, they don’t have the potential of introducing a color cast into the footage.

A color cast is when the entire layer has a slight tint towards a particular color. Open the Auto.aep project from the Chapter 6 folder of the exercise files. This is a little project that I created for use with the “auto effects”: Auto Color, Auto Contrast, and Auto Levels. This project contains a comp called beluga, which has an image of a beluga whale.

Figure 6.1 The beluga image from the Auto.aep project.

Figure 6.1 The beluga image from the Auto.aep project.

This comp contains the beluga image duplicated twice. The bottom layer is the untouched duplicate. The top copy has a transition effect applied so that when you apply color correction effects, you can more easily see the difference from the original. Sometimes subtle color changes are difficult to see in separate images in print.

Beluga whales are white, but you couldn’t really tell from this image. It is too dark, and has an aqua-colored tint from the water and glass. Apply the Auto Color effect to the top layer, beluga EFFECT. This will lighten the image, restore much of the true color of the beluga whale. Remember that there is also a transition effect here, which allows you to see the before (left) and after (right).

Figure 6.2 The Auto Color effect brightens the image and removes the color cast.

Figure 6.2 The Auto Color effect brightens the image and removes the color cast.

The Additional Auto Effect Properties

In the Photoshop versions of these auto effects, there are no settings to adjust. Note that in these auto effects in After Effects, you also have the ability to adjust a few properties. You can increase Temporal Smoothing if you need to smooth the results over time. The default value for Temporal Smoothing is 0, which means that each frame is processed independently. That means that the changing composition of the shot might cause the auto effects to produce wildly different results from frame to frame. The Temporal Smoothing setting determines how many seconds that the effect will use to smooth the results. So, if this value is at 1, the Auto Color effect will look at one second’s worth of frames and smooth the results over those frames so that there are not luminance jitters.

The auto effects also allow you to manually adjust the Black Clip and White Clip for a layer. These properties control how much of the shadows are forced to pure black, and how much of the highlights are forced to pure white, respectively.

The Auto Contrast Effect

The Auto Contrast effect is similar to the Auto Color effect, except that it doesn’t do much in the way of shifting colors. Its primary purpose is to adjust brightness values, which it does fairly well. If you’re continuing along with the Auto.aep project, choose File>Revert to reset the project to its default status. Or you can open this project from the Chapter 6 folder of the exercise files. Apply the Auto Contrast effect to the beluga EFFECT layer. Notice how the image on the right (the adjusted part of the image) is lighter, but the colors are still similar. Our beluga whale still doesn’t appear white.

Figure 6.3 The results of the Auto Contrast effect, right, with the original on the left.

Figure 6.3 The results of the Auto Contrast effect, right, with the original on the left.

The Auto Levels Effect

The Auto Levels effect is unique from the other auto effects we’ve already looked at in this chapter. The other auto effects process the entire image, while the Auto Levels effect processes each color channel independently. Because of how this effect works, there is a possibility of it introducing a color cast into the image. Imagine if you had an image that didn’t have a full range of highlights in the Red Channel. The Auto Levels effect would increase the red highlights, which could create a reddish tint (cast) in the image.

Open the Auto.aep project from the Chapter 6 folder and apply the Auto Levels effect to the beluga EFFECT layer. Notice how the results are similar to what we saw with the Auto Color effect—the image is brightened, and the color cast is neutralized.

Figure 6.4 The original (left) and the layer with Auto Levels applied (right).

Figure 6.4 The original (left) and the layer with Auto Levels applied (right).

Although these results look similar to what we saw with Auto Color, there is a difference worth mentioning. The Auto Levels effect actually did a better job at removing the color cast than Auto Color did.

To compare all three results, duplicate the beluga EFFECT layer. On the new duplicate (beluga EFFECT 2), delete the Auto Levels effect, and apply the Auto Color effect in its stead. Finally, take the Transition Completion value of the Linear Wipe effect on the beluga EFFECT 2 layer to 75%.

Hopefully, you can see the subtle different in print, but if not, try this on your own. There is a subtle but real difference between the Auto Levels and Auto Color effects. The center portion of Figure 6.5 has the most neutral beluga whale tones, because of the Auto Levels effect.

The Black & White Effect

Seen also in Photoshop, the Black & White effect is perhaps the best way to convert footage to black and white, and even to footage tinted with one color such as sepia tinted footage for that vintage look.

Figure 6.5 The final results, with the original image on the left, the Auto Levels result in the center, and the Auto Color results on the right. It’s nearly impossible to see in this screenshot, so try the results on your own with the provided exercise file, or another file of your own.

Figure 6.5 The final results, with the original image on the left, the Auto Levels result in the center, and the Auto Color results on the right. It’s nearly impossible to see in this screenshot, so try the results on your own with the provided exercise file, or another file of your own.

The Black & White effect converts footage to black and white as soon as it’s applied. But then it gives you control over how bright or dark you want specific areas of color. Let’s look at an example. Open up the Black and White.aep project from the Chapter 6 folder of the exercise files. I like this clip, and I love how the turquoise hat of the actress just pops. It was designed to make her stand out from the rest of the scene, which has mostly warm tones.

Figure 6.6 The original image. Note the color of her hat.

Figure 6.6 The original image. Note the color of her hat.

Now apply the Black & White effect to this layer (called Footage). It instantly makes our image black and white, which is convenient. But now that this is converted to black and white, I don’t like the way her hat looks anymore. I loved the color contrast of the cool hat against a warm environment. It made her appear as both the most innocent thing in the scene, but also the focus of the scene. But without the color contrast, the hat is just distracting.

Figure 6.7 After applying the Black & White effect, everything is black and white, but certain objects didn’t convert well, like her hat.

Figure 6.7 After applying the Black & White effect, everything is black and white, but certain objects didn’t convert well, like her hat.

In the Black & White effect controls, you’ll see that we have controls over various color families. A positive value will brighten that color family, and a negative value will darken it. So not only does this effect just desaturate an image, it gives us control over the transformation from black to white.

Figure 6.8 The Black & White parameters in the Effects Control panel.

Figure 6.8 The Black & White parameters in the Effects Control panel.

The hat was originally in the cyan family, more or less. So I’m going to take the Cyans value to negative 10 (–10.0), which darkens color values that were originally cyan, hence the hat darkens considerably. Now it blends much better into the rest of the scene.

Another benefit of this effect is that you can also use it to add a single color tint. This isn’t that much different from the Tint effect or similar functionality in the Hue/Saturation effect. However, those other effects don’t give you control over the black and white conversion like the Black & White effect does. So,

Figure 6.9 With the Cyans value reduced, the hat is darker, while the rest of the scene is unchanged.

Figure 6.9 With the Cyans value reduced, the hat is darker, while the rest of the scene is unchanged.

to give something a vintage sepia tone, simply enable the Tint option in the Black & White effect controls. The default Tint Color is a little strong, so I clicked the swatch to lighten a bit. Note that you can change this to any color—it doesn’t have to be that vintage yellowish tint.

Figure 6.10 After enabling the Tint option, we have a vintage style black and white image.

Figure 6.10 After enabling the Tint option, we have a vintage style black and white image.

For this particular scene, I actually don’t want to go all the way gray. But there’s not a Blend with Original function in this effect, as you might find in a lot of other color correction effects in After Effects. So instead, I cut this effect using Edit>Cut, and then created an adjustment layer placed above the Footage layer. Then chose Edit>Paste to paste the Black & White effect to the adjustment layer. This gives me a lot more control and flexibility. So, I reduced the opacity of the adjustment layer (and, since the Black & White effect is the only thing on the adjustment layer, this is essentially just reducing the opacity of the Black & White effect) to 60%. This gives me the best of both worlds: I have a strong vintage color tint going on, but I also retain some of the original coloring. Note that if I’m blending these two together like this, that I might want to go back and adjust what we just did to the cyans. But for now, I’m happy.

Figure 6.11 After applying Black & White to an adjustment layer and then dialing back the opacity, we have a nice blend between the two.

Figure 6.11 After applying Black & White to an adjustment layer and then dialing back the opacity, we have a nice blend between the two.

The Brightness & Contrast Effect

The Brightness & Contrast effect is another effect that is also seen in Photoshop. The difference is that Adobe revamped the Brightness/Contrast adjustment for Photoshop CS3. Unfortunately, the After Effects version of Brightness & Contrast is still the old, terrible version, at least when it comes to lightening images. Even though I recommend eschewing this effect when it comes to lightening footage, it can still have some other useful purposes. And knowing why this effect can be destructive can help you understand why effects like Levels and Curves are so powerful.

The Brightness & Contrast effect only has two properties: Brightness and Contrast. Many users of Photoshop and After Effects turn to a Brightness & Contrast adjustment to quickly brighten an image without the steep learning curve of, say, Levels or Curves. But there is a great problem here. The Brightness & Contrast effect universally lightens or darkens every pixel on a layer. Let’s see this in action.

Import the KS103.mov clip from the Artbeats folder in the Media folder of the exercise files. This stock footage clip from Artbeats contains some children playing. Notice the depth of the shadows in the trees behind the kids on the right side of the image.

Figure 6.12 The KS103.mov clip from Artbeats.

Figure 6.12 The KS103.mov clip from Artbeats.

In the Project panel, drag this piece of footage down to the Create a new Composition button at the bottom of the Project panel. This will create a new composition with the same specs (e.g., size, pixel aspect ratio, duration, frame rate) as the footage. Then apply the Brightness & Contrast effect to the KS103.mov layer in the newly created comp. Take the Brightness value to 50.

Figure 6.13 The footage after applying Brightness & Contrast and taking the Brightness value to 50. Every pixel is lightened.

Figure 6.13 The footage after applying Brightness & Contrast and taking the Brightness value to 50. Every pixel is lightened.

Now look in the shadow areas by the trees. They’ve been lightened, too! That’s bad news, folks. When you brighten an image, you want to keep shadow areas dark. So, this is not the way to go.

You could use the Contrast part of Brightness & Contrast, but there are many other ways to increase image contrast that are much better. Another valid use for the Brightness & Contrast effect is to use it on grayscale patterns or maps to control effects. Because it operates at 32 bits per channel, you could also use this effect on HDR footage.

Personally, I just hate the Brightness & Contrast effect. Does that make me a bad person? You may disagree, but there so many other ways to adjust brightness and/or contrast, that you really shouldn’t need to use this effect.

The Broadcast Colors Effect

The Broadcast Colors effect probably belongs in the Utility category, and is unique among effects in this category. The Broadcast Colors effect forces colors into compliance with video standards, such as NTSC and PAL. One of the purposes of these video standards is to specify the limits of allowable color and brightness. Sometimes, if you stay up late enough, you’ll see badly produced infomercials and local TV programs that have colors that are beyond the limits of what is allowed. The results are that those pixels look too intense; almost glowing, as if only those pixels had just come out of a nuclear experience. The Broadcast Colors effect makes sure that all colors and brightness levels are broadcast safe so that this never happens.

Open the Broadcast Colors.aep project in the Chapter 6 folder of the exercise files. This project contains an image of one of the cutest kids you’ve probably ever seen in your life. She must have an extremely attractive father, whoever that lucky fellow might be. But with all the beauty of this image, it’s far too saturated and intense for video. Apply the Broadcast Colors effect to the hanging out layer in the hanging out comp.

As soon as you apply the effect, you’ll notice it springing into action, ridding your layer of any renegade colors that will look bad on video. You’ll first want to select a Broadcast Locale, which will be either NTSC or PAL, depending on the country your video will be watched in. I’m in North America, so I’m going to leave this value set to NTSC. Unfortunately in this example image, the results of applying Broadcast Colors look terrible.

The results don’t quite look up to par here because the default method of making the colors comply with video standards is to reduce the luminance of the offending pixels. That doesn’t work out well in this case because of the textures in her jacket and in the background (which is actually a Lego replica of the Titanic). So, we need to adjust the How to Make Color

Figure 6.14 The hanging out image.

Figure 6.14 The hanging out image.

Figure 6.15 The results of applying the Broadcast Colors effect with the default settings.

Figure 6.15 The results of applying the Broadcast Colors effect with the default settings.

Safe drop down. Change the value of this drop down to Reduce Saturation to make After Effects reduce the saturation (instead of the luminance) of offending pixels. In this case, the results look a little better.

Also in the How to Make Color Safe drop down, you’ll find a couple of settings that don’t really make too much sense. But they allow you view the problem areas in your footage. You can completely remove all pixels that are out of compliance by choosing Key Out Unsafe. Or, you can view only unsafe pixels by choosing

Figure 6.16 The results of Broadcast Colors with the How to Make Color Safe value changed to Reduce Saturation.

Figure 6.16 The results of Broadcast Colors with the How to Make Color Safe value changed to Reduce Saturation.

Figure 6.17 Selecting Key Out Safe from the How to Make Color Safe drop down will show you all pixels that are out of compliance with video standards.

Figure 6.17 Selecting Key Out Safe from the How to Make Color Safe drop down will show you all pixels that are out of compliance with video standards.

Key Out Safe. After seeing which pixels are out of compliance, you may choose to use another color adjustment effect to adjust those values so that you have more control over how their color is corrected.

The last value at the bottom of the effect in the Effect Controls panel is Maximum Signal Amplitude (IRE), which monitors the brightness of footage. IRE is a unit of measurement, used to measure brightness in a video signal. This value sets the maximum allowable value of brightness in your footage. You can create a higher maximum brightness by increasing this value, but that also increases the chances of creating unsafe colors when viewed on some monitors.

Usually, when using this effect, I don’t apply it to individual layers. In my final composition, I will create an adjustment layer and put it at the top of the layer stack in the Timeline panel. Then I will apply the Broadcast Colors effect to the adjustment layer so that all of the layers in the composition have broadcast safe color.

The Change Color Effect

The Change Color effect and the Change to Color effect (that we’ll look at next) have annoyingly similar names, and identical purposes—to change a color in your footage from its original color to another color. This is helpful for a wide variety of circumstances. Let’s say that you had a shot of a large crowd, and an extra in the shot was wearing a shirt of a color that was distracting. You could use these color changing effects to choose a more suitable color.

From my experience, the Change to Color effect works a little better on average, but again here, it ends up as a matter of personal preference. For the sake of comparison, let’s look at the Change Color effect.

Open the project Color Change.aep project from the Chapter 6 folder of the exercise files. We’ll be using this simple project to compare the Change Color and Change to Color effects. With both effects, we’ll be trying to change the color of the dot on the bird’s face. Apply the Change Color effect to the bird layer in the bird comp.

Figure 6.18 The bird comp in the Color Change.aep project.

Figure 6.18 The bird comp in the Color Change.aep project.

First off, we need to tell the Change Color effect the color we’d like to change. Click the eyedropper next to the Color To Change property, then click the orangish-red spot on the bird’s face in the Composition panel. If you did it correctly, there should not be any visible change in the Composition panel, but the color swatch next to the Color To Change property should be should be the rust color of the spot on the bird’s face.

Now that we’ve told the Change Color effect what color to change, we need to tell it how to change it. Use the Hue Transform, Lightness Transform, and Saturation Transform properties to adjust the hue, lightness, and saturation to choose a new color that the rust color in the bird’s face will be changed to. Keep in mind that all of these properties can go to negative values to give you a wider range of choices.

In Figure 6.19, I used a Hue Transform value of 39, a Lightness Transform value of 10, and a Saturation Transform value of –50. This makes the red circle change color to blend in more with the rest of the bird’s face.

Figure 6.19 The color of the spot on the bird’s face changed with the Change Color effect.

Figure 6.19 The color of the spot on the bird’s face changed with the Change Color effect.

In Figure 6.19, you can still see a little orange edge around the part of the bird’s face that we tried to adjust. If you find that the Change Color effect isn’t affecting as many pixels as you’d like (or if it is affecting too many pixels), then you can adjust the Matching Tolerance and Matching Softness values. Increasing them will select more pixels, decreasing them will limit the number of affected pixels. I found that the default values of 15% for Matching Tolerance and 0% for Matching Softness worked well in this example.

If you’re not getting the results you’re looking for, you can also change the Match Colors value to use the hue or the chroma of colors to match them. You can also select the option Invert Color Correction Mask to preserve the Color To Change color and adjust all other colors.

Figure 6.20 Selecting Invert Color Correction Mask protects the color we chose for the Color To Change value, and affects the other colors in the image.

Figure 6.20 Selecting Invert Color Correction Mask protects the color we chose for the Color To Change value, and affects the other colors in the image.

The Change to Color Effect

The Change to Color effect is very similar to the Change Color effect. The difference is that the Change to Color effect allows you to select the specific color you’d like to change the other color to. This can be great for compositing two elements together in a scene. Maybe one clip has a different white balance, or some other color that is prominent. You can use the Change to Color effect to match the colors (almost) exactly.

Open up (or Revert) the Color Change.aep project from the Chapter 6 folder. Apply the Change to Color effect to the bird layer in the bird comp. In the Effect Controls panel, there are two color swatches here. The From swatch is the original color (what we are changing the color from), and the To color swatch is the color we want the From color swatch to become (what we are changing the color to). Click the eyedropper next to the From swatch, then click on the rust colored spot on the bird’s face. To make sure you’re getting the color you want, you can check the Info panel as move your cursor around. The Info panel displays the color of the pixel that your mouse happens to be over.

Figure 6.21 The Info panel displays the color of the pixel under your cursor, and can be used as a guide when selecting colors with eyedroppers.

Figure 6.21 The Info panel displays the color of the pixel under your cursor, and can be used as a guide when selecting colors with eyedroppers.

Now that we’ve selected a From color, click the eyedropper next to the To color swatch, and then click on the yellow of the bird’s face, next to the red spot. The results do need a little more work before they look decent.

Making Yourself Sick

fig00211.jpg Note that there is a stopwatch next to the To property. That means that you can animate a certain color changing to another color. If you wanted to animate yourself (or someone else) getting sick, you could select your skin tone in the From swatch, and then select the same color in the To swatch. Then animate that to change over time to a sickly pale green color. Disgusting.

One of the advantages of the Change to Color effect over the Change Color effect, is that we have three separate Tolerance controls for Hue, Lightness, Saturation. In the Change Color effect, there is only one Tolerance parameter. Having three values to help you select the exact color range to adjust is very helpful. The Change drop down allows you to select which of the properties you want to change with the effect, which determines which Tolerance controls get used to select color. Be aware that by default, only Hue is selected, which means that only the

Figure 6.22 After changing the From and To colors, the results aren’t that great (yet).

Figure 6.22 After changing the From and To colors, the results aren’t that great (yet).

Tolerance>Hue property will do much of anything until the Change drop down is altered.

In this case, all we really need to do is to increase the Tolerance>Hue value in the Effect Controls panel to about 17% to get a fairly believable result. We have a much smoother transition from the spot of new color to the rest of the bird’s face.

Figure 6.23 After increasing the Hue value, we have a pretty decent removal of the rust-colored spot on the bird’s face.

Figure 6.23 After increasing the Hue value, we have a pretty decent removal of the rust-colored spot on the bird’s face.

You might notice in Figure 6.23 (or in the project you’re working on) that we have some colored noise in this image caused by the high ISO value I used when taking this photo. The problem is that some of that noise is a rusty red color—the same color we’re trying to remove here. Because of this, the noisy red pixels are also turned yellow, which doesn’t look all that great. And, realistically, if it’s not noise, there will probably be something else in your footage that has a similar color to the color you’re trying to change.

If you find that, like in this case, there are pixels of the From color that you don’t want to change, you can duplicate the layer and create a mask on the duplicate (top) layer. You don’t have to create a mask that is tight around the object that you want to change the color of. I used a simple elliptical mask around the bird’s head, loosely and quickly created. That gives us a lot more flexibility, and a much improved result. Particularly, notice how much cleaner the black bar is in the background, as well as the bird’s body.

Figure 6.24 The result of duplicating the layer, creating a sloppy mask around the bird’s head, and changing the color of the spot on the bird’s face with the Change to Color effect.

Figure 6.24 The result of duplicating the layer, creating a sloppy mask around the bird’s head, and changing the color of the spot on the bird’s face with the Change to Color effect.

The Channel Mixer Effect

The Channel Mixer is great if you really know a lot about how colors work, and very challenging and unintuitive if you don’t. The Channel Mixer effect allows you to blend channels together, which alters the colors of footage. This is great for making precise color adjustments, or for color grading.

Before we get into a practical application of this effect, we’re going to take a step back and see exactly what this effect is doing. That way, we’ll know what we’re doing when using the Channel Mixer effect to adjust the colors of real footage.

Open the Channel Mixer.aep project from the Chapter 6 folder of the exercise files. In the Channel Mixer comp, you’ll find two layers—a simple shape layer, and an Artbeats video clip. We’ll first look at the shape layer, which already has the Channel Mixer effect applied for you. This shape layer contains three stars—one pure red, one pure green, and one that is pure blue.

The options for the Channel Mixer effect are a challenge to figure out without some help. With parameters like Red-Red, Red-Blue, and Green-Const, the Channel Mixer can certainly be a brain teaser. Even if you know this effect from the similar Photoshop adjustment, the interface is initially less user-friendly here.

Here’s the way this works. The name of the color on the left refers to the input color (before applying the effect), and the name of the color on the right refers to the output color (after applying the effect).

Figure 6.25 The shape layer in the Channel Mixer comp in the Channel Mixer.aep project.

Figure 6.25 The shape layer in the Channel Mixer comp in the Channel Mixer.aep project.

Figure 6.26 The esoteric Channel Mixer settings in the Effect Controls panel.

Figure 6.26 The esoteric Channel Mixer settings in the Effect Controls panel.

Let’s take for example the Red-Green property. By default, it’s set to 0, which means that there is no red (input) in the green channel (output). But if we took this value to 100, then it would add red to the green channel. When we add red to pure green (as seen in the green star in this comp), it becomes yellow.

You’ll notice in the Effect Controls panel that the properties that are duplicates (e.g., Red-Red, Green-Green, Blue-Blue) are set at 100 by default. This just means that there is a full amount

Figure 6.27 After taking the Red-Green value to 100, red is mixed into the green channel, which turns the green star yellow.

Figure 6.27 After taking the Red-Green value to 100, red is mixed into the green channel, which turns the green star yellow.

of red in the red channel, green in the green channel, and so on. If we took the Red-Red value to 50, it would mean that there is half of the amount of red in the red channel. Because the red star only consists of pure red, when we take the Red-Red value down halfway, in effect we reduce the intensity of the red in the red star by half. Notice that the yellow (formerly green) star isn’t affected, even though it has red in it. The Red-Red adjustment does not affect the red in the green star because it didn’t start out having red, it was added by the effect.

Figure 6.28 With the Red-Red value at 50, the intensity of pure red is reduced.

Figure 6.28 With the Red-Red value at 50, the intensity of pure red is reduced.

You can also use this effect to create a great black and white result by selecting the Monochrome option at the bottom of the Effect Controls panel. With Monochrome selected, you can still control how colors are converted to black and white (i.e., their brightness) by using the color sliders in the Channel Mixer’s effect options in the Effect Controls panel.

Each channel also has a Const value, which is short for constant. This property basically decides how much a particular color channel is in all color channels. So, if I increase the Blue-Const value to 50, you will notice blue mixed in to every other color.

Figure 6.29 Increasing the Blue-Const value makes all pixels more blue.

Figure 6.29 Increasing the Blue-Const value makes all pixels more blue.

Now that we understand what’s going on with the Channel Mixer effect, let’s turn off the visibility of the shape layer, and turn on the visibility of the Artbeats clip to see how this effect can help you in the real world. The Channel Mixer effect has already been applied to this clip for you.

This Artbeats clip has a slight bluish tint to it. Blue tones— such as those seen in this clip—often suggest a relaxed feel, or a professional tone. But I want to color correct this clip so that it looks like the Los Angeles inner city—hot, rough, dead, and abrasive. To get this look, I want add a yellowish tint, but with a little orange as well. How are we to do this, seeing that there aren’t any yellow controls? This is where it pays to know a little color theory. The opposite of blue is yellow, so we can actually add yellow by subtracting blue. Add just a touch of red to create orange.

Figure 6.30 The CED113.mov Artbeats video clip.

Figure 6.30 The CED113.mov Artbeats video clip.

To achieve the desired results, I took Red-Green to 45, Red-Blue to 10, Blue-Green to –30, and Blue-Blue down to 85. Basically, we added a little bit of red, and even more yellow by subtracting blue. The results look fantastic.

Figure 6.31 The Artbeats clip after color grading with the Channel Mixer effect.

Figure 6.31 The Artbeats clip after color grading with the Channel Mixer effect.

I’m satisfied with the results as they are, but we can also take this a step further. I added Hue/Saturation to desaturate the cityscape a little, then added a Curves effect with a typical S curve adjustment (both effects discussed later in this chapter). I also applied a mask and the Fast Blur effect to create a slight depth of field effect.

Figure 6.32 We get a slightly more cinematic feel by adding a few finishing touches.

Figure 6.32 We get a slightly more cinematic feel by adding a few finishing touches.

The Color Balance Effect

The Color Balance effect is one of the effects that I use most often. It is very similar to the Channel Mixer effect, but it gives you control over the color in each channel in the shadows, midtones, and highlights. Note that this effect is far superior to the Color Balance (HLS) effect, which actually has nothing whatsoever in common with this effect. And, as with the Channel Mixer effect, it really pays to know about color relationships when working with the Color Balance effect.

Import the UW225.mov clip from the Artbeats folder in the Media folder in the exercise files. This is some beautiful footage of water splashing around. Make a new composition that is the size of this clip, and add it to the comp. Apply the Color Balance effect to this clip.

As seen in the Effect Controls panel, you can adjust the color balance for each color channel in the shadows, midtones, and highlights.

What we we’re going to do is to add some more blue to this water. Increase the Shadow Blue Balance, the Midtone Blue Balance, and the Hilight Blue Balance to get blue water. Just a little adjustment will work here, especially if you’re increasing shadows, midtones, and highlights. I used a value of about 50 for each.

But let’s say now that we wanted to add a slight cyan tint here. We can accomplish that in a couple different ways. We could add cyan by reducing the amount of red. We can also add cyan by increasing green (because there is extra blue here). I’m going to take

Figure 6.33 The Artbeats video clip we’ll be using for this section on the Color Balance effect.

Figure 6.33 The Artbeats video clip we’ll be using for this section on the Color Balance effect.

Figure 6.34 The options for the Color Balance effect in the Effect Controls panel.

Figure 6.34 The options for the Color Balance effect in the Effect Controls panel.

the Hilight Blue Balance value down to about 25, and then increase the Hilight Green Balance to 50. We could add more green in the shadows and midtones, but the results here look pretty good as is.

When using the Color Balance effect in this example, you might have noticed how the luminance changed in addition to the colors. As we add more light (by increasing the amount of red, green, or blue in the image), things naturally get brighter. The opposite is also true. If we were to subtract blue to add a yellow tint, the image would become darker because we are removing light. If you’re worried about that shift in brightness, you can click the Preserve Luminosity checkbox at the bottom of this effect in the Effect Controls panel. In this case, the results become much more intense with added contrast.

Figure 6.35 After increasing the blues in the shadows, midtones, and highlights.

Figure 6.35 After increasing the blues in the shadows, midtones, and highlights.

Figure 6.36 The image with an added cyan tint, created by adding a lot of blue and a little green.

Figure 6.36 The image with an added cyan tint, created by adding a lot of blue and a little green.

Colorizing with Color Balance

The Color Balance effect is not really intended to be used to colorize black and white footage. As a matter of fact, if your layer is pure black and/or pure white, Color Balance will have no effect whatsoever. But if your layer has shades of gray, such as in patterns created by the Fractal Noise effect, then the Color Balance effect can be used to subtly introduce color. Again, it might not be the best tool for the job. I love the Color Balance effect and its results, so I often use it wherever I can. But that’s just me.

Figure 6.37 The results of selecting Preserve Luminosity.

Figure 6.37 The results of selecting Preserve Luminosity.

Figure 6.38 The Color Balance effect used to colorize a grayscale pattern made with Fractal Noise. To get this amount of color, I had to use extreme values (e.g., over 70 for positive red values and less than –50 for negative green and blue values).

Figure 6.38 The Color Balance effect used to colorize a grayscale pattern made with Fractal Noise. To get this amount of color, I had to use extreme values (e.g., over 70 for positive red values and less than –50 for negative green and blue values).

The Color Balance (HLS) Effect

Contrary to what the name might suggest, the Color Balance (HLS) effect is nothing like the Color Balance effect we just looked at. Instead, it gives you but three parameters: Hue, Lightness, and Saturation. For the life of me, I can’t think of any reason to use this effect when you have the Hue/Saturation effect available, and even the After Effects help documentation says that this effect is included only for compatibility with older projects. The Hue/Saturation effect has the exact same controls (but with visual aids), and many others as well. Hue/Saturation also operates at 32 bits per channel, while Color Balance (HLS) operates at only 16 bits per channel.

The only real benefit to this effect is that the Color Balance (HLS) effect is keyframable. Whereas the only way to keyframe Hue/Saturation is to colorize the source layer.

The Color Link Effect

Like Broadcast Colors, the Color Link effect is one that I think would fit better in the Utility category of effects. Its main purpose is to convert an entire layer to the color of another layer. You can have Color Link discover and use the average pixel value of any layer in the current comp, or the brightest or darkest pixel, or the median pixel color, or it can perform such analysis on the alpha channel. This is helpful for quickly creating a layer that is the color of the background color of another layer. One of the best potential uses for the Color Link effect is for color correction with other effects. That’s what I thought this effect could be used for. Unfortunately, the Color Link effect is unaffected by other applied effects unless first precomposing the layer, so it’s not as helpful as it could be as a reference for color correction.

Figure 6.39 The Sample drop down in the Color Link effect. These options allow you to choose how the Color Link effect will analyze the source layer.

Figure 6.39 The Sample drop down in the Color Link effect. These options allow you to choose how the Color Link effect will analyze the source layer.

When you apply the Color Link effect, you first specify which layer will be analyzed by the effect in the Source Layer drop down. Then, in the Sample drop down, determine how the Color Link will find the color it returns. Selecting Average, for example, will cause the Color Link effect to examine the layer chosen in the Source Layer drop down, and fill the layer with the color that represents the average pixel value. You can also then blend this color into the source layer using opacity or blend modes.

So, all in all, Color Link is a valuable effect for analyzing the makeup of a layer, color-wise. This information can then be used for other purposes. But the effect itself is not really a color correction effect.

The Color Stabilizer Effect

The Color Stabilizer effect attempts to stabilize the luminance of video that varies from frame to frame. This is especially helpful for those doing stop motion video, or time lapse photography. Both types of shooting are often plagued by wild variations in luminance from frame to frame because of the difference in time between the capture of each frame. Luminance randomization might also happen because of the inability of a video camera’s white point correction to establish a consistent white point. If you’d like to practice stabilizing color, import the shaky luminance.mp4 file from the Video folder in the Media folder of the exercise files.

While it is next to impossible to demonstrate luminance variation over time in a book, it’s not difficult to describe the steps to fix this problem with the Color Stabilizer effect. First, let’s take a look at the options in the Color Stabilizer effect.

Figure 6.40 The options in the Color Stabilizer effect in the Effect Controls panel.

Figure 6.40 The options in the Color Stabilizer effect in the Effect Controls panel.

This effect stabilizes color by analyzing colors from a sample frame to determine how to conform the luminance across all frames. Move the current time indicator to a frame that has the appropriate luminance levels. The click the Set Frame text (button) at the very top of the effect in the Effect Controls panel, next to the Reset and About buttons. If your colors completely freaked out when you first applied Color Stabilizer, clicking Set Frame should also return the look of the layer back to normal.

Before we set Black and White Point locations, we need to adjust the Stabilize drop down. There are three options here: Brightness, Levels, and Curves. If you choose Brightness, the White Point value will be grayed out and you will only be able to specify a Black Point value for luminance stability. Selecting the default value of Levels gives you both a Black Point and a White Point. Selecting Curves allows you to use the Black Point, White Point, and Mid Point values. The default value of Levels is usually what I prefer to use.

Next, put the Black Point effect control point in a dark area of the image, and the White Point effect control point in a light area of the image. Note that it doesn’t need to be in pure black or pure white. As a matter of fact, I put my Black Point in the water, and the White Point in the sky, and both of these spots are distinctly blue. The most important aspect of the Black and White Point locations is that the areas must have areas of colors that are easy to track. They must also be in areas where it will be easy to spot changes in brightness. The Black Point and White Point areas also need to be in areas that should have consistent luminance (so, don’t put them on a strobe light). Finally, the Black Point area and the White Point area must contrast significantly from each other.

Figure 6.41 The Black Point is in the water on the left, and the White Point is in the sky at the top center.

Figure 6.41 The Black Point is in the water on the left, and the White Point is in the sky at the top center.

In our case, particularly with the Black Point in the water, we want to make sure that our stabilization isn’t thrown off by white-caps and shadows. We just want it to take an average of the surrounding pixels. You can increase (or decrease) the size of the area used by the Black Point and White Point by increasing (or decreasing) the Sample Size value.

Be sure that as you use this effect, your effect control points never come into contact with any object that has a different luminance value than its initial spot. Remember that you can animate these points, if needed, to avoid obstacles that might interfere with their ability to consistently track and correct the luminance of the layer. The results here are not perfect, but they are an impressive improvement over the original.

The Colorama Effect

The Colorama effect is one of the most powerful and complicated effects in all of After Effects. It is an effect used to recolor layers, and it’s probably the most powerful tool for this purpose that I have ever seen. Even though this effect is so complex and powerful, it also has some quick and easy presets to use if you don’t feel like tackling the steep learning curve here. Colorama was created by After Effects genius and legend Brian Maffitt, who also created such great effects as Shatter and Radio Waves, so you know it’s good.

Because of the complexities involved with the Colorama effect and the sheer volume of properties here, I strongly recommend following along with this section by opening up the Colorama. aep project you’ll find in the Chapter 6 folder of the exercise files. We’ll start in the Colorama START comp. Apply the Colorama effect to the Rad Rockets layer in this comp.

Many people are initially scared away from the Colorama effect because the default settings create a garish rainbow effect. To make matters worse, the parameters for the Colorama effect are quite numerous and not always intuitive.

Figure 6.42 The default results of applying the Colorama effect to the Rad Rockets layer in the Colorama START composition.

Figure 6.42 The default results of applying the Colorama effect to the Rad Rockets layer in the Colorama START composition.

Figure 6.43 The properties of the Colorama effect with the categories expanded.

Figure 6.43 The properties of the Colorama effect with the categories expanded.

Colorama Overview

Before we make any changes to Colorama, we need to understand what it is doing. First, Colorama converts the image to gray-scale. Unless otherwise specified, this only happens behind the scenes. Colorama then takes those grayscale values and remaps them to a different color scheme. In the case of Figure 6.42, for example, we’re not seeing the grayscale values, we’re only seeing the result of the color remapping.

Using the controls in the Input Phase area, you can specify which pixels are affected. In the Output Cycle controls, you choose what the colors will be remapped to. The Output Cycle area gives you very precise manual control using a color wheel, or fast and easy control using a host of presets in the Use Preset Palette drop down.

Using the controls in the Modify, Pixel Selection, and Masking areas, you can further customize exactly which pixels are altered with the Colorama effect.

Using the Output Cycle

Let’s now get a little more familiar with the Output Cycle properties. No matter how deep or shallow you wish to go in your knowledge of Colorama, you’ll want to know at least the basic features of this area. The Output Cycle controls specify the color being output from Colorama. This is also the area that I referenced earlier that contains a wealth of pre-made presets to use.

Go to the Mt. Rainer comp. This comp contains a nested composition of a solid with the Ramp effect applied. I had to precompose it so that Colorama would recognize the gradient. Apply Colorama to this linear gradient.

Figure 6.44 The Ramp precomp in the Mt Rainier layer.

Figure 6.44 The Ramp precomp in the Mt Rainier layer.

After applying Colorama, you’ll see the now familiar over-the-top rainbow colors applied to it. In the Effect Controls panel, open the Output Cycle controls area to see the actual Output Cycle. If you’re just reading this book and don’t have After Effects in front of you, you can refer back to Figure 6.43 to see the colorful Output Cycle.

The triangles on the Output Cycle are like color stops on a gradient. This gradient is then mapped to the values in the layer. The top of the Output Cycle (red in this case) is currently mapped to red. And then, following the cycle around clockwise, shadow areas are remapped to orange, and 50% gray (the shade of gray exactly between pure white and pure black) is at the bottom of the Output Cycle (cyan in this case). Highlights are remapped to magenta, until you get back to the top of the gradient, which is also where white is remapped to. That is why the black to white gradient seen in Figure 6.44 was remapped to red at both the top (black) and the bottom (white) of the layer in Figure 6.45.

Figure 6.45 The Ramp precomp with Colorama applied at its default settings.

Figure 6.45 The Ramp precomp with Colorama applied at its default settings.

The triangles on this Output Cycle wheel can be moved around to remap colors to different parts of an image. You can click in a blank spot around the outer edge of the wheel to launch a floating window with your operating system’s color picker to create a new color stop. Also, if you Ctrl(Win)/Cmd(Mac)+click and drag on an existing color triangle, it will create a copy of it. To remove color triangles, simply click and drag it away from the wheel. You can have up to 64 different colors on an Output Cycle color wheel.

I moved around some of these triangles to create a different look with this simple gradient. I moved the magenta triangle closer to the blue one, and the yellow triangle closer to the green one, and completely removed the cyan triangle. Can you see why the results turned out the way they did? Notice that, just like in regular

Figure 6.46 The changes I made to the Output Cycle.

Figure 6.46 The changes I made to the Output Cycle.

Figure 6.47 The results of my Output Cycle changes on my gradient.

Figure 6.47 The results of my Output Cycle changes on my gradient.

gradients, when you pull two colors close together, the transition between them becomes much sharper and less gradual.

You also might have noticed that when a color triangle is selected, it has a line that goes down to another gradient bar below the Output Cycle. This is for determining the transparency of a particular color. Select a color triangle on the color wheel, then drag the corresponding triangle on the transparency gradient to the left to reduce its transparency. Note that this only reduces the transparency of this color in the Colorama effect. The transparency of the layer itself is unaffected.

Figure 6.48 The transparency of a color stop is adjusted.

Figure 6.48 The transparency of a color stop is adjusted.

The colors on the color wheel blend smoothly together, or interpolate. If you wanted hard edges between colors instead of a soft transition, you could deselect the Interpolate Palette option in the Output Cycle area. Notice how this also removes the smooth gradations in the Output Cycle color wheel.

Figure 6.49 The results of deselecting the Interpolate Palette option.

Figure 6.49 The results of deselecting the Interpolate Palette option.

Before we cover the presets that ship with Colorama, be aware that you can also repeat the entire gradient by increasing the Cycle Repetitions value. Let’s say you were using Colorama to create a cloudy background. You can manually make a color wheel that has blue and white alternating all around it. That would take a while to create. Instead, you could simply make a color wheel that had one instance of blue and white (or, one cloud), and then increase the Cycle Repetitions value to taste.

Figure 6.50 Increasing the Cycle Repetitions value causes the same pattern to repeat. In this example, I used the same gradient from Figure 6.47 with the Cycle Repetitions value increased to 9.

Figure 6.50 Increasing the Cycle Repetitions value causes the same pattern to repeat. In this example, I used the same gradient from Figure 6.47 with the Cycle Repetitions value increased to 9.

Using Output Cycle Presets

Now we come to the easy part of the Colorama effect—the presets. At the top of the Output Cycle area in the Effect Controls panel, you’ll see the Use Preset Palette drop down. These contain a wide array of useful presets that you can use as is, or as a starting point for your own color cycles. The top half of the list is for utilitarian purposes, and the presets on the bottom are for creative, colorful uses.

Figure 6.51 The list of Output Cycle presets.

Figure 6.51 The list of Output Cycle presets.

I’m going to hop on over to the Turbulent Noise composition. This contains a grayscale pattern created with the Turbulent Noise effect. Many effects, such as Fractal Noise, Cell Pattern, and Wave World, only create grayscale patterns like Turbulent Noise does. Using these Colorama presets is the fastest way (and often the best way) to add color to them.

Figure 6.52 The fiery grayscale pattern, created with the Turbulent Noise effect.

Figure 6.52 The fiery grayscale pattern, created with the Turbulent Noise effect.

This pattern looks a little like fire, but without color, probably no one would make the connection. So, I’m going to select the Fire preset from the Use Preset Palette drop down. This preset contains a rather detailed fiery gradient that adds just the right touch to make my fire more believable.

Figure 6.53 The gradient created from the Fire preset and its results when applied to the Turbulent Noise pattern.

Figure 6.53 The gradient created from the Fire preset and its results when applied to the Turbulent Noise pattern.

Using the Input Phase Controls

We’re now going to back up a step and look at some of the Input Phase controls. The Input Phase controls allow you to determine which color attribute (e.g., intensity, saturation, and so on) will be included in the Colorama calculations. You can, of course, choose color attributes from the current layer, but you can also choose color attributes from another layer.

I’m going to go back to the Ramp precomp layer in the Mt. Rainier comp, and I’ll apply the Deep Ocean preset from the Use Preset Palette drop down in the Output Cycle area.

Figure 6.54 The Ramp layer with the Deep Ocean Colorama preset applied.

Figure 6.54 The Ramp layer with the Deep Ocean Colorama preset applied.

The layer underneath this Ramp layer is a video clip of Mt. Rainier. The Mt. Rainier layer is currently off, but you can see what this clip looks like in Figure 6.55.

We’ll come back to this Mt. Rainier clip in just a moment. First, let’s look at the top of the Input Phase controls. The first option is the Get Phase From drop down, which determines what attributes of the current layer are used in Colorama. The next option, Add Phase, allows you to add the phase (or set of color attributes) to the results on this layer. From the Add Phase drop down, I’m going to choose the Mt. Rainier layer. Instantly, the results update, and we see the image of Mt. Rainier in the current result. From the Add Phase From drop down, you can specify the color attributes to use from the Add Phase layer. Think of Add Phase From as being exactly like Get Phase From, but for the other layer.

To use only the phase from the Mt. Rainier layer, change the Get Phase From value to Zero. This will completely ignore the gradient ramp on this layer.

Figure 6.55 The Mt. Rainier layer.

Figure 6.55 The Mt. Rainier layer.

Figure 6.56 The results of using the phase from the Mt Rainier layer.

Figure 6.56 The results of using the phase from the Mt Rainier layer.

You can also use the Phase Shift property to cycle the Output Cycle colors through your image.

Fine Tuning Selections

As mentioned, the Modify, Pixel Selection, and Masking properties can be used to fine tune the areas or components of your footage you want adjusted.

The Modify area allows you to control what attribute of your layer you want changed. You can actually use Colorama to

Figure 6.57 The same results as Figure 6.51, with the Get Phase From drop down set to zero.

Figure 6.57 The same results as Figure 6.51, with the Get Phase From drop down set to zero.

perform subtle color adjustments by setting the Modify drop down to the same color attribute that you selected in the Get Phase From drop down in the Input Phase controls.

Pixel Selection allows you to choose a specific color to adjust. In order for the other Pixel Selection properties to work, you’ll first need to change the Matching Mode drop down to anything but None. Then, select a color using the Matching Color eyedropper (or color swatch) and refine it using Matching Tolerance and Matching Softness.

The Masking section allows you to use another layer as a matte, to control which areas of your layer are affected. The Masking Mode value determines how the matte from the other layer affects the current layer.

Colorama and Luma Mattes

I find these days that I’m using Colorama a lot to help with creating luma mattes, especially for sky replacement, which is what we’re going to take a look at now. I own a Canon 7D DSLR camera, and that poor little guy has such a hard time with highlights. Sometimes it feels like it has a two stop dynamic range. So I’m always needing to replace blown out skies, and Colorama is a great help with that. Let’s look at an example. For this, I’ve created a separate project. Open Luma Matte.aep from the Chapter 6 folder of the exercise files. This contains a shot that was intended to go at the end of a movie that features a bunch of children in it. This gloomy, blown out sky just doesn’t fit.

Figure 6.58 The original footage.

Figure 6.58 The original footage.

So, what we need to do is to apply Colorama to the footage layer (an image sequence called jib). Open the Output Cycle area and from the Use Preset Palette drop down, choose Ramp Gray. This basically maps all colors to a black and white gradient. Nothing special here … YET. The Output Cycle color wheel shows us the gradient that the image is being mapped to. What we need to do is fiddle with this until the sky is white and the foreground is black, with gray edges. That is the ideal because it will make the best luma matte. However, that might be a challenge in some cases, and might need to be supplemented with additional masks, especially if there are highlights in the foreground. That might be a bit of a challenge in this case because the footage is DSLR footage and is highly compressed, and the tress in the background are not sharp.

To try and accomplish this, we’re going to try to crush the shadows and dark midtones to black, and blast the highlights and bright midtones to white. So, I’m going to click at a couple places on the Output Cycle to add extra white and black color stops, as shown in Figure 6.59.

With this as my setting, I get a good edge (which is really the key to getting a good luma matte—pun intended). The sky is mostly white, the edges have gray (which will create semi-transparency), and the foreground is mostly black. Of course the highlights in the foreground (such as those found in the window sills) just won’t go away, so we will probably need to mask those out.

Now select the jib layer (NOT the Colorama effect—you may need to press F2 or click in a blank spot in the Timeline panel to deselect the effect and the layer, and then click the layer to

Figure 6.59 My Output Cycle. I manually created the extra white and black color triangles by simply clicking on the Output Cycle in those places and choosing white/black from the color picker.

Figure 6.59 My Output Cycle. I manually created the extra white and black color triangles by simply clicking on the Output Cycle in those places and choosing white/black from the color picker.

Figure 6.60 The final luma matte created by adjusting the Colorama Output Cycle.

Figure 6.60 The final luma matte created by adjusting the Colorama Output Cycle.

ensure that the entire layer is selected), and then press Ctrl+D(Win)/Cmd+D(Mac) to duplicate the layer. Then, on the bottom layer (the original layer) go to the Modes column in the Timeline panel, and from the TrkMat drop down, choose Luma Inverted Matte. This uses our grayscale image from Colorama (on the top layer) to create transparency on the bottom layer, which pretty much removes the sky. I’ve created a simple sky gradient layer beneath this, so you get a feel for what we’re going for here. Although on your own, you may want to get an actual footage element with noise and clouds and so forth. Be aware that if you were to do that, at least in this case, you’d also need to track the shot so that the sky would fit. With this simple gradient, that’s not really necessary.

Figure 6.61 The initial results of using our Colorama luma matte.

Figure 6.61 The initial results of using our Colorama luma matte.

With a sky replacement job, the results most likely aren’t going to be perfect. In this case for example, the scene is much more bright and happy, but now the shadows don’t match. In a scene with bright sunlight, the shadows would be strong—dark with sharp edges. Here, they are clearly soft and diffuse, and it would be a ridiculous amount of work to try to fix that. But we can do a few things to improve other aspects of this image. We can balance the sky by adjusting the Opacity value of the Gradient Overlay on the sky layer to blend it more into the white solid it’s applied to in order to brighten the sky.

This image will also benefit from some color correction so that the foreground matches the new sky. I’ve already created a couple adjustments for you as a starting point, so just enable the visibility of the Curves and Levels effects on the jib layer. With these adjustments, I increased the contrast (because the shadows would be darker on a brighter day), and I also added some blue to the original layer.

Again, as mentioned, there are things that we can do to improve this further, and it’s not perfect, but it’s a fairly decent (and quick) sky replacement, especially considering the source material.

Figure 6.62 The final sky replacement composite after adjusting some colors.

Figure 6.62 The final sky replacement composite after adjusting some colors.

Colorama Mini-Project

Simply as food for thought, I’ve created a small project using Colorama that is included in the Colorama.aep project from the Chapter 6 folder. I’ve created this using techniques and concepts that we’ve already covered, so I won’t go into detail here. I was going for an edgy look (as the soundtrack layer will attest). I used the footage of Mt. Rainier as the start layer. Then I used some green screen footage of my friend and master unicyclist, Paavo, for the Add Phase layer. I then got rid of most of the background and composited them together. And all of this with one instance of the Colorama effect and with only one layer visible. I then added Color Balance to add color to the end result.

Figure 6.63 My Colorama project from the Finished Project comp.

Figure 6.63 My Colorama project from the Finished Project comp.

The Curves Effect

The Curves effect, also found in Photoshop, is another one of my go to effects, and is generally one of the more common effects out there. The most popular use for Curves is to adjust luminance, but you can also adjust the values of each color channel independently if you wanted to use Curves as a color adjustment tool.

Curves is often compared to another luminance correcting Photoshop favorite—the Levels effect. We’ll talk in detail about Levels a little later in this chapter. For now, all you need to know is the difference between Levels and Curves. Basically, Levels allows you to adjust three components—shadows, midtones, and highlights. Curves, on the other hand, gives you individual control of up to 256 different tones. As you can imagine, with all of that extra control also comes an extra degree of challenge when learning this effect. But once you understand what’s going on, you’ll find yourself turning to Curves all the time.

I’ve created a project that we’ll use for both Levels and Curves so that you can use them both on the same files to get a better idea of how to create the same results with both effects. Open the Levels and Curves.aep project from the Chapter 6 folder of the exercise files. First, we’ll start with the fireworks comp, which is in desperate need of some Curves love.

Figure 6.64 The fireworks comp in the Levels and Curves project. This image appears courtesy of Angela McInroe.

Figure 6.64 The fireworks comp in the Levels and Curves project. This image appears courtesy of Angela McInroe.

In this otherwise cool photo, the fireworks aren’t quite bright enough as this shot was taken when it wasn’t late enough at night. Additionally, as a result of the time of the shot, the night sky isn’t quite dark enough. Apply the Curves effect to this layer. In the Effect Controls panel, you’ll see the baffling Curves interface.

Figure 6.65 The Curves effect in the Effect Controls panel.

Figure 6.65 The Curves effect in the Effect Controls panel.

This diagonal line represents how the luminance values of this image are mapped. The bottom edge of this graph represents the current luminance values, from black (left) to white (right). The left edge represents how the colors will be remapped, from black (bottom) to white (top). That is why this line is a diagonal line, because by default, black is mapped to black, white is mapped to white, 50% gray is mapped to 50% gray, and so on. But if we were to click 50% gray (the point in the center of the graph), and drag it upwards slightly, it would make the midtones lighter.

Remember that the left edge represents the new (output) luminance, from the dark tones at the bottom to the bright tones at the top. So, when we move a point up, we brighten those values, and when we drag a point down, we darken those values.

I’m going to click the Reset button at the top of the effect to get our curve back to the way it was. What I really want to do to this image is to darken the shadow areas and brighten the highlights. In doing so, we will use such a common method that it has its own name—the S curve. The name comes from the way the curve looks when we’re done editing it. To create the S curve, click on the line over the input shadow area (on the left hand side of the curve), and drag downwards. This will darken the shadows. Next, click on

Figure 6.66 Dragging the point that represents 50% gray upwards lightens the midtones.

Figure 6.66 Dragging the point that represents 50% gray upwards lightens the midtones.

the line over the input highlights area (on the right hand side of the curve) and drag upwards. This will brighten the highlights. The results in the Effect Controls panel now look like an S curve, and the contrast has been increased dramatically in our image.

Figure 6.67 The result of applying an S curve adjustment.

Figure 6.67 The result of applying an S curve adjustment.

The real benefit of Curves is that we have this entire curve to adjust, not just three points. If there was a precise shade of gray that you wanted to adjust, you could make it brighter or darker without adjusting other shades. This is much more control than you could get with the Levels effect. On the other hand, this may be too much control in some instances.

Another feature that you’ll find in both Levels and Curves is the ability to adjust individual color channels. This is almost like having a built in Color Balance effect. I like the result we achieved with the fireworks image. But it’s a little too red for my taste. Let’s fix that by going to the Channel drop down, and changing this value from the default RGB, to Red. This gives you a brand new Curves adjustment (a fresh diagonal line), just for the red color channel. To reduce the amount of red in this image, I’m going to click in the center of the curve and drag down slightly. Now our image looks a little more balanced. Taking away red light, also made the image a little darker, which actually works in our favor here. If you take the Channel drop down back to RGB, you’ll see that our curve is still here, and was left untouched by what we did to the red channel.

Watch Out for Curves!

fig00258.jpg One of the things that you should probably avoid for realistic color adjustment is having a point on the left higher on the graph than a point on the right. That would make shadow areas brighter than areas of the image that were originally brighter than the shadows. This usually creates weird, posterized effects. Great for aliens and special effects, but not the best thing for realistic color correction.

Figure 6.68 The results of reducing the amount of red light in this image.

Figure 6.68 The results of reducing the amount of red light in this image.

Now open up the sea lions comp in this project. This contains a layer with a photo I took of some sea lions. The photo was taken from a large distance with a budget quality lens, while these sea lions were being covered in the mist from crashing ocean waves. All of these things combined do not a well balanced image make. Apply the Curves effect this image in the sea lions comp.

Figure 6.69 The sea lions layer in the sea lions comp.

Figure 6.69 The sea lions layer in the sea lions comp.

Obviously, we need to darken this layer quite a bit. But, if you try the previous method of darkening (i.e., grabbing the curve and pulling downwards), you’ll notice that you can’t quite get it as dark as it needs to be.

Figure 6.70 The result of darkening the curve by dragging the center of the curve downwards.

Figure 6.70 The result of darkening the curve by dragging the center of the curve downwards.

The solution here is to do something we haven’t yet attempted. We need to darken the black point. In other words, we need to darken the darkest part of the image. So far, we’ve adjusted the curve itself, but the lower left and upper right corners of the curve represent the darkest and brightest parts of the image, respectively. To darken the black point, drag the lower left corner point of the curve to the right, along the bottom edge of the graph. I stopped at about 40% of the way. If you’re wondering how I knew to take it to that particular spot, I used the Info panel as a guide. Thankfully, the Info panel gives you the live update of the color value of the pixel that your mouse is currently over, after all applied effects. After darkening the darkest point, I then made a slight S curve in the small, remaining part of the curve to boost the contrast. The results look much better.

Figure 6.71 The final curve and result.

Figure 6.71 The final curve and result.

Curves’ Two Export File Types

A little known secret about Curves is that it can actually export curve files for reuse later. If you click the little disk icon on the side of the Curves effect in the Effect Controls panel, you’ll be prompted to save an ACV file. However, you can also create curves by clicking the pencil icon, and then drawing the curve by hand. Then, when you save the file with the pencil tool selected, you’ll save an AMP file. This AMP file can be used with the PS Arbitrary Map effect, discussed later in this chapter. Both ACV and AMP files can be loaded back into the Curves effect (in either Photoshop or After Effects) by clicking the open file icon that looks like an open folder on the right side of the Curves effect in the Effect Controls panel.

The Equalize Effect

If there were a luminance-based communist movement, the Equalize effect would be its leader. The purpose of the Equalize effect is to redistribute luminance values across an image, so that there is a greater balance among all pixels.

Open the Equalize.aep project from the Chapter 6 folder if you’d like to follow along. This project contains a shot of the Space Needle in Seattle, Washington.

Figure 6.72 The space needle comp in the Equalize.aep project.

Figure 6.72 The space needle comp in the Equalize.aep project.

This image is out of balance, as it was taken as part of an HDR sequence. Because of this, it has a lowered aperture value (f-stop), which eliminates the highlights. However, we need to call in a favor from another tool to really see what’s going on with the luminance in this image. Apply the Levels effect to see a histogram, which gives us a readout of the luminance values in our image.

We’ll obviously talk much more about this when we cover the Levels effect, coming up later in this chapter. For now, just know that the left side of this chart shows us shadows and the right side shows us the highlights. The height of the graph indicates the amount of that particular luminance value. This histogram is telling us that there are no highlights, loads of middle range values, and a little bit of the darkest shadow areas.

Figure 6.73 The histogram in the Levels effect tells us about the luminance values in our footage.

Figure 6.73 The histogram in the Levels effect tells us about the luminance values in our footage.

Now, delete the Levels effect and instead apply the Equalize effect. You can instantly see a significant difference in the tonal balance.

The results look much better as the luminance values are redistributed, or equalized, across the entire spectrum. But in all fairness, you should be aware that the Equalize effect is not always the instant improvement that it was here. What we really wanted to do was to create more tonal balance. If you apply another instance of the Levels effect after Equalize (below it in the Effect Controls panel), you’ll see that the luminance values are now more balanced, and there is a little bit of each brightness value.

There are only two options here—the Equalize drop down and the Amount to Equalize value. Amount to Equalize is basically like the Blend with Original property we see in other effects. Really, it’s reducing the amount of equalization, but it acts similar to an opacity property for this effect. The Equalize drop down allows you to choose from three different equalizing methods. Photoshop Style and RGB are very similar, as they

Figure 6.74 The result of applying the Equalize effect to this image.

Figure 6.74 The result of applying the Equalize effect to this image.

Figure 6.75 The histogram in the Levels effect after applying Equalize.

Figure 6.75 The histogram in the Levels effect after applying Equalize.

both attempt to equalize your layer, while still keeping the basic shape of your histogram intact. The other setting, Brightness, tries to make a literal equalization, making most luminance values exactly equal.

Figure 6.76 The histogram and results of changing the Equalize drop down to Brightness.

Figure 6.76 The histogram and results of changing the Equalize drop down to Brightness.

The Exposure Effect

The Exposure effect is another luminance correcting effect, like Curves or Levels. And although you can use the Exposure effect in projects that are 8 or 16 bits per channel, it was created for the purpose of adjusting the exposure of footage that is 32 bits per channel.

If you’d like to follow along, I’ve created the Exposure.aep project in the Chapter 6 folder of the exercise files. This contains a camera raw image that is 16 bits per channel (you can tell this from selecting the image in the Project panel and seeing Trillions of Colors at the top), in a project that is 16 bits per channel. That might seem like useless information now, but it will be important soon, so just remember this.

Apply the Exposure effect to this image. There are two ways to adjust an image with this effect—by adjusting the luminance of the entire image, or by adjusting the luminance of each color channel individually. You choose what type of adjustments you’d like to make by choosing either Master or Individual Channels from the Channels drop down at the top of the Exposure effect in the Effect Controls panel. When Master is selected, you can adjust the properties in the Master area, but the individual color channel controls are not adjustable. Selecting Individual Channels

Figure 6.77 The Camera Raw Image comp in the Exposure aep project.

Figure 6.77 The Camera Raw Image comp in the Exposure aep project.

as the Channels value will allow you to adjust the Red, Green, and Blue values, but it will gray out the controls in the Master area.

I usually leave the Channels value set to its default of Master. This is because the Exposure effect attempts to use camera terminology and behavior to adjust luminance, and the Master controls are more fitting for this.

The After Effects help documentation suggests viewing the Exposure property as f-stops on a camera. Accordingly, increasing the Exposure value will brighten an image, and decreasing it will darken an image. The results are pretty good, and we can get these results by just adjusting one property.

The Gamma Correction property can make images lighter or darker by respectively increasing or decreasing its value. The Gamma Correction default value of 1 has no effect. We can use the Offset property to adjust (darken or brighten) shadows and midtones while leaving highlights largely unaffected. However, if I decide to reduce the Offset value (by even –0.06!), you can see that things fall apart very fast.

The reason why this looks terrible is because we’re editing in 16 bits per channel. Technically, this effect also works at 8 and 16 bits. Realistically, however, it doesn’t work all that great unless you’re in 32 bits per channel. So, let’s fix this. We

Figure 6.78 The result of increasing the Exposure value to 1 (the equivalent of one full f-stop). The results are quite natural.

Figure 6.78 The result of increasing the Exposure value to 1 (the equivalent of one full f-stop). The results are quite natural.

Figure 6.79 Taking the Offset value to even –0.06 produces terrible results.

Figure 6.79 Taking the Offset value to even –0.06 produces terrible results.

can’t put this layer or even this comp into 32 bits per channel mode. Bit depth is a function of the entire After Effects project. So, go back to the Project panel, and Alt(Win)/Opt(Mac)+click the project color depth display at the bottom of the panel until it displays 32 bpc.

Figure 6.80 The project bit depth display at the bottom of the Project panel. Alt/Opt+click this display to change the bit depth of the project to 32 bpc.

Figure 6.80 The project bit depth display at the bottom of the Project panel. Alt/Opt+click this display to change the bit depth of the project to 32 bpc.

As soon as the bit depth of the project is changed to 32 bits per channel, the results are instantly corrected. This is because there are more colors available in 32 bits per channel mode, so there is more editing room.

Figure 6.81 After the bit depth of the project is expanded, the ugly colors fix themselves.

Figure 6.81 After the bit depth of the project is expanded, the ugly colors fix themselves.

The Gamma/Pedestal/Gain Effect

The Gamma/Pedestal/Gain effect is an effect that I rarely use. It’s yet another luminance correcting effect, like Levels or Curves, but without a graphic interface. The downside of this is that it’s a little more challenging to learn and use. One benefit of this effect, is that you can use these controls to power expressions. Of course, if that was your reason for choosing this effect, you’d probably be better off going with the Levels (Individual Controls) effect. Regardless, I think you should still go through this section. It always helps to know as many ways to color correct a layer as possible. This way, if your pet color correction effect doesn’t work, you’ve got some alternatives.

If you’d like some practice with this effect, you can open up the GPG.aep project from the Chapter 6 folder of the exercise files.

Figure 6.82 The GPG.aep project.

Figure 6.82 The GPG.aep project.

The Gamma/Pedestal/Gain effect actually works much like the Curves effect does, except that you don’t have any control over the master luminance values, only individual color channels. The Gamma/Pedestal/Gain (GPG) effect gives you a gamma, pedestal, and gain control for each channel. The Gamma settings would be like adjusting the center (midtones) of the luminance curve in Curves.

The Pedestal values control the darkest point of the channel, which is the equivalent of the lower left corner point in Curves.

The Gain values control the highlights in the channel, which is the equivalent of the upper right hand corner point in Curves.

The value at the top of the GPG effect in the Effect Controls panel is Black Stretch. This property might as well be called shadow brightness or some such. Increasing the Black Stretch value will increase lighting and details in shadow areas, although from my experience, it seems to leave pure black alone.

Figure 6.83 The image with the Blue Gamma value set to 2.

Figure 6.83 The image with the Blue Gamma value set to 2.

Figure 6.84 The image with the Blue Pedestal set to 1. Notice how the shadows are primarily affected.

Figure 6.84 The image with the Blue Pedestal set to 1. Notice how the shadows are primarily affected.

Figure 6.85 The image with the Blue Gain set to 2. Notice how the highlights are affected, and the shadow areas are largely untouched.

Figure 6.85 The image with the Blue Gain set to 2. Notice how the highlights are affected, and the shadow areas are largely untouched.

Figure 6.86 The image with the Black Stretch value at 3, which brings out more detail in the shadow areas, while still leaving pure black in the image.

Figure 6.86 The image with the Black Stretch value at 3, which brings out more detail in the shadow areas, while still leaving pure black in the image.

The Hue/Saturation Effect

The Hue/Saturation effect is one of the most useful and intuitive effects in this chapter. The Hue/Saturation effect is a favorite in After Effects like it is in Photoshop. And, unlike other Photoshop transports (such as Channel Mixer and Color Balance), Hue/Saturation in After Effects works very much like it does in Photoshop. It’s a great effect for universally shifting all colors, or for globally changing the saturation of an entire image. You can also use it to colorize an image, which turns the image grayscale and then adds a color tint. Finally, you can also use it to selectively choose which color groups to adjust independently. So, if you wanted to desaturate only yellow tones, you could with the Hue/Saturation effect.

For demonstrating this effect, I’m going to use the colorful Artbeats video clip, KS103.mov that you’ll find in the Artbeats folder in the Media folder of the exercise files. Import it and add it to a composition. Add the Hue/Saturation effect to this clip.

Figure 6.87 The KS103.mov clip before any adjustments.

Figure 6.87 The KS103.mov clip before any adjustments.

First, let’s look at how Hue/Saturation deals with global changes, or in other words, changes that affect the entire image. If we adjust the Master Hue property, it will cycle all colors in the image around the color wheel. This usually creates a psychedelic effect that I still haven’t found a practical use for. This hue parameter will prove to be very useful a little later, though, so don’t judge this book by its proverbial cover.

Figure 6.88 Adjusting the Hue property for the entire image will shift the colors through the color spectrum, creating weird results. Here, the Master Hue value was taken to about 200 degrees.

Figure 6.88 Adjusting the Hue property for the entire image will shift the colors through the color spectrum, creating weird results. Here, the Master Hue value was taken to about 200 degrees.

We can also adjust the Master Saturation property to manipulate the saturation for the entire image. This is much more helpful than Master Hue, in my experience. In Figure 6.89, I reduced the Master Saturation amount by about half (50), which creates a nostalgic feel.

Figure 6.89 The result of reducing the Master Saturation value.

Figure 6.89 The result of reducing the Master Saturation value.

Going down the list in the Effect Controls panel, the next property we come to is Master Lightness. Don’t ever ever use this on images. This property is the equivalent of the Brightness slider in the Brightness & Contrast effect. It universally lightens or darkens every pixel, which results in bad images. See the Brightness & Contrast effect earlier in this chapter for an example of the kind of havoc wreaked by this kind of image edit. Only use this property if you are adjusting unrealistic subjects (such as with vector art), or if you have changed the Channel Control value and you’re adjusting a specific color set. For most images and video, you want to keep darks dark and brights bright.

If you want to colorize an image, simply select the Colorize checkbox at the bottom of the Hue/Saturation effect in the Effect Controls panel. This will convert the image to grayscale, and then tint it with a color you select with the colorize properties. After selecting the Colorize checkbox, the colorize properties at the bottom of the effect become available to use. Adjust Colorize Hue and Colorize Saturation to tint this image in the exact color you’re looking for. Note that Colorize Lightness is a bad idea to use, just like Master Lightness is a bad idea to use.

Figure 6.90 After selecting the Colorize checkbox, you can adjust the colorize properties to created an image tinted with a single color.

Figure 6.90 After selecting the Colorize checkbox, you can adjust the colorize properties to created an image tinted with a single color.

I’m going to hit the Reset button at the top of the Hue/Saturation effect in the Effect Controls panel to start over with the Hue/Saturation effect. The real power in this effect in my opinion, is in the Channel Control drop down. By default, this is set to Master, which means that the hue, saturation, and lightness properties that we’ve been adjusting apply to all colors universally.

Let’s take the Channel Control drop down to Blues. This will restrict our changes to only the blues. Note that this is not specifically referring to the blue channel, but instead just to blues in general. You can tweak the lines in the Channel Range area to hone in on the exact color that you’re looking to adjust. I took the Blue Hue value to about +100. Because the only blue objects in this shot are the sky and the shorts of the girl on the right, only those colors were adjusted.

Figure 6.91 By selecting Blues in the Channel Control drop down, only the blue colors in this footage are altered when we adjust the hue.

Figure 6.91 By selecting Blues in the Channel Control drop down, only the blue colors in this footage are altered when we adjust the hue.

We can also perform more practical adjustments. I’m going to change the Channel Control value to Yellows, which will allow me to adjust the field that the girls are running on. It looks like it should be green, but it’s kinda dying, yellow, and dry. Remember the opposite of yellow? It’s blue. So here’s a little trick—if you want to make grass and other greenery seem more alive and rich, add a little blue. With the Channel Control value at Yellows, take the Yellow Hue value to 40 degrees to add some life to this dying grass.

Figure 6.92 The grass looks much more alive once we selectively adjust the yellows and shift their hues a little.

Figure 6.92 The grass looks much more alive once we selectively adjust the yellows and shift their hues a little.

For what it’s worth, I use the Hue/Saturation effect frequently. It’s very simple to use, and you can do a lot with the few parameters here. It also does a pretty good job of selecting colors to isolate for editing.

The Leave Color Effect

The Leave Color effect allows you to select a color to leave behind, while you desaturate other colors. This can create a really cool effect, like that seen in the movie Schindler’s List. And I’m not sure exactly why, but this effect seems to do a much better job at selecting color than other color-selecting effects, like the Change to Color effect. It also seems to do a better job of ignoring the large amount of noise in images.

For this example, I’m going to import the bird.tif image from the Images folder in the Media folder of the exercise files. Add this image to a comp and apply the Leave Color effect. This is the same image we looked at earlier in this chapter with the Change Color and Change to Color effects.

Figure 6.93 The bird.tif image.

Figure 6.93 The bird.tif image.

The first thing we want to do here is to select the Color to Leave. This is the color that will remain when all other colors are desaturated. I’m going to click the eyedropper next to the Color to Leave property, and then click in the blue background in the bird layer in the Composition panel. Then increase the Amount to Decolor property to determine how much other colors (besides the Color to Leave color) will be desaturated. A value of 100% will completely desaturate the other colors in the image. The other properties, which are similar to what we saw with the Change Color and Change to Color effect, can help you to tweak the results if needed.

Figure 6.94 The final results with the Leave Color effect.

Figure 6.94 The final results with the Leave Color effect.

The Levels Effect

And now we come to what is perhaps the most commonly used luminance adjusting effect. The Levels effect is quick and easy, and it also has a histogram, which gives us information about the luminance values in our footage. Although the Curves effect gives us more control when color correcting, the ease of use and histogram that the Levels effect offers makes it one of the standard go to effects in After Effects.

To follow along, open the Levels and Curves.aep project from the Chapter 6 folder. This is the same project that we used earlier in this chapter when we looked at the Curves effect. We’ll be using the same project for both effects so that you can more clearly see which tasks are easier to do with which effect. We’ll start in the sea lions comp. This is a perfect candidate for the Levels effect because it’s lacking pure white and pure black, as well as any shadow data. Apply the Levels effect to the sea lions layer.

After applying the Levels effect to the sea lions layer, look at the chart, called a histogram, in the Effect Controls panel. From left to right, this chart represents the dark to light colors in the image. As a reference, you can use the gradient bar immediately beneath the histogram. Note that you might need to expand the Effect Controls panel to see all of the histogram

Figure 6.95 The sea lions comp without applied effects.

Figure 6.95 The sea lions comp without applied effects.

and gradient, as they’re rather wide. The height of the graph represents the amount of that particular tone in the image. As you can see in Figure 6.96, the left side of the histogram is completely flat, which means that there are no black (or even dark gray) pixels at all.

The key to fixing this image is in the three little triangles at the bottom of the histogram. These represent (from left to right)

Figure 6.96 The histogram and gradient in the Levels effect.

Figure 6.96 The histogram and gradient in the Levels effect.

the black point, midtone, and white point. If there are no black pixels, we need to click and drag the black point triangle slider to the right until it is under the darkest pixel in the image. This will force that pixel to black, and reshuffle the other luminance values accordingly. Be sure that you stop dragging the black point slider to the right once you’ve gotten to the first pixel. If you go any farther, you’ll lose details in the shadow areas. You can also fix the highlights in your image by dragging the white point to the left to the first pixel (bump on the graph) that you come to.

Figure 6.97 Drag the black point slider to the right to the first pixel to get perfect shadow areas, and drag the white point slider to the left to the first pixel to get perfect highlight areas.

Figure 6.97 Drag the black point slider to the right to the first pixel to get perfect shadow areas, and drag the white point slider to the left to the first pixel to get perfect highlight areas.

Our sea lion image is now starting to look much better. The contrast particularly has had a major improvement. The highlights are a little brighter, and there are now dark portions of our image as well. But even though the highlights and shadows look good, overall the image is too light for my taste.

We can adjust the midtones of this image by using the middle triangle slider underneath the histogram. Remember that dragging to the left increases brightness, and dragging to the right reduces brightness. Drag the center triangle to the right to darken the midtones to taste. This is like clicking in the center of the curve and dragging downwards in the Curve effect. The results are a big improvement over the initial image.

Another trick when using the Levels effect (or any other color correction effect for that matter) is to apply another

Figure 6.98 The image looks much better, but the midtones are still too bright.

Figure 6.98 The image looks much better, but the midtones are still too bright.

Figure 6.99 The final results with Levels applied to the sea lions layer.

Figure 6.99 The final results with Levels applied to the sea lions layer.

instance of the Levels effect on top of all of the other effects that you’ve added. This extra copy of the effect is not to make adjustments, but to use its histogram to get a readout of the new luminance values.

Next, let’s switch gears and go over to the fireworks comp. This comp contains an image of fireworks, taken while it was still dusk. So, the fireworks aren’t quite so bright, and the sky isn’t quite dark enough.

Apply the Levels effect to these fireworks. As before, check the histogram to see the exact problem with this image. Notice that

Figure 6.100 Use another instance of the Levels effect to see a histogram that displays the luminance values of your corrected footage. In this case, we see that have far more shadow areas than highlight areas.

Figure 6.100 Use another instance of the Levels effect to see a histogram that displays the luminance values of your corrected footage. In this case, we see that have far more shadow areas than highlight areas.

Figure 6.101 The fireworks comp.

Figure 6.101 The fireworks comp.

even though we want this image to be darker, there is still pure black already here. And we’re also missing pure white and almost all highlights.

Figure 6.102 The histogram for the fireworks image.

Figure 6.102 The histogram for the fireworks image.

So, as before, drag the white point slider in to the first pixel, and drag the midtone slider to the right to darken the midtones to taste.

As with this example in Curves, the results are too red for my taste. We can fix this by going to the Channel drop down at the top of the effect in the Effect Controls panel, and changing the value from RGB to Red. When looking at the histogram for the red channel, drag the midtones slider to the right to remove red light from this result. The final is a little more balanced.

Note that you can also change the Channel drop down to work on the alpha channel of a layer. While it’s not super common to use Levels like this (that I know of), I find that it helps often to fix holes or remove specks in an alpha channel. Because of this functionality in the Levels effect, the Alpha Levels effect has been removed from After Effects. They basically did the same thing.

Finally, you may be wondering about the sliders underneath the gradient below the histogram. The three sliders below the histogram—from left to right—correspond to the Input Black, Gamma, and Input White properties. The two sliders below the gradient bar—from left to right—correspond to the Output Black and Output White values. These properties determine

Figure 6.103 The adjusted histogram and result.

Figure 6.103 The adjusted histogram and result.

Figure 6.104 The final result, after dragging the midtones slider of the red channel to the right a little.

Figure 6.104 The final result, after dragging the midtones slider of the red channel to the right a little.

the final output intensity of black and white. If you wanted to reduce the amount of white in an image (say from 255 to 240), then you would reduce the Output White value, or drag the slider underneath white in the gradient bar to the left. Or, perhaps, the black values in your image are too dark, you could drag that to the right to lighten them up. I use these often when compositing to get layers to have the same levels of luminance.

The Levels effect is so quick, easy, and ubiquitous, that we’ll be using it all over the place throughout this book.

The Levels (Individual Controls) Effect

The Levels (Individual Controls) effect is exactly like the regular old Levels effect we just looked at. The problem with the standard Levels effect is that it’s not really meant to be animated, or used with expressions. And in an animation powerhouse like After Effects, you kinda need that functionality. So, they created the Levels (Individual Controls) effect, which allows you to adjust all color channels and the composite at the same time. The real advantage to this is that you can connect these properties with expressions.

Figure 6.105 The controls for the Levels (Individual Controls) effect.

Figure 6.105 The controls for the Levels (Individual Controls) effect.

The Photo Filter Effect

The Photo Filter effect is another effect that has its roots in Photoshop. The effect mimics the physical filters that are put on the end of camera lenses to give a tint to photos. Typically these tints come in the form of warm tints (orange) or cool tints (blue), but they can be in any color. For all intents and purposes, the Photo Filter effect simply applies a color tint to an image.

Open the Photo Filter.aep project from the Chapter 6 folder of the exercise files if you’d like to follow along with me. This project contains a photo I took of a lioness, and it’s a little on the warm side, meaning that it is tinted in warm colors like yellow, orange, or red.

Figure 6.106 The image in the Photo Filter.aep project.

Figure 6.106 The image in the Photo Filter.aep project.

Apply the Photo Filter effect to this image. The default results are so subtle that they’re almost imperceptible. I think this is Adobe’s way of hinting that we should use this effect to create subtle changes. I couldn’t agree more. But just so we can see the difference in the screenshots here in this book, let’s increase the Density value, which is somewhat like the opacity value for this effect. Increasing the value to a relatively high 75%, the results make this footage look like a photo taken in the 70’s.

I’m going to take the Density back down to its default value of 25%. One of the advantages of this effect is that it offers a quick way to remove color casts. We already had a warm tint going into this, so we can apply a cooling filter to counter act the warm tint. In the Filter drop down list, select the Cooling Filter (80). In case you were wondering, the numbers in parentheses can be thought of as the intensity of the filter. Thus, the Cooling Filter (80) creates a more subtle cooling effect than the Cooling Filter (82). This is just the right amount of coolness to balance out the warm cast that was on this image.

Remember that there are also other colors of filters to use. Typically, these photo filters are used to give an emotional tone to an image. If you wanted to create a formal, professional tone, you might use a cooling filter. If you were taking photos of a wedding or some other sentimental occasion, you might try shooting with a warm filter.

Figure 6.107 The Photo Filter effect with the Density value at 75%.

Figure 6.107 The Photo Filter effect with the Density value at 75%.

Figure 6.108 With the Cooling Filter (80) selected, the image is brought back into balance as the warm tones are neutralized by the cool tones of the filter.

Figure 6.108 With the Cooling Filter (80) selected, the image is brought back into balance as the warm tones are neutralized by the cool tones of the filter.

The PS Arbitrary Map Effect

The PS Arbitrary Map effect is essentially worthless, although it is a really interesting effect. It is an old effect that is mostly kept around just to provide compatibility with older After Effects projects. It’s basically like the Curves effect, but the only way to get it to work is to click the Options button at the top of the effect in the Effect Controls panel. This action will open the Open dialog box, at which point you will need to navigate to an AMP (arbitrary map) file. This is a file created by the Curves effect (in After Effects or in Photoshop), and saved from the Curves effect while the pencil tool is selected. For more information on how to create these files, refer back to the section on the Curves effect from earlier in this chapter. Note that this effect can’t even use the ACV files from the default style of Curves.

Once these AMP files are imported, that exact luminance adjustment curve will be applied to the current layer. The Phase property allows you to shift the curve through the layer. While it is a fascinating intellectual curiosity, the PS Arbitrary Map effect is better fodder for nerdy museums and history books than for practical application in the modern age.

The Selective Color Effect

Another Photoshop transplant, the Selective Color effect allows you to really play with the mixing of colors. To be honest, I used this all the time when I worked in the print industry, as it really helped to get all of the color out of the blacks. I don’t use it as much in After Effects. But I can see how it would be helpful. It’s almost like a more specific version of the color range selection tools in Hue/Saturation, except that you have less control over the range selection, but more control over what you do with the colors in that range.

We have some footage here to play with. This is a 16-bit raw clip, so we’ve got a lot of room to play with colors (which room might not be available with all formats). Right now, the forest is darker than the sky, and the whole thing is kinda washed in cyan. It’s a little over the top, but I like it.

Figure 6.109 The original image.

Figure 6.109 The original image.

As mentioned, the Selective Color effect allows us to work on specific color ranges. So, we’re going to create more separation between sky and trees. First, take the Colors drop down to Greens. As you can see here, we can add more cyan (with positive

Subtractive Color and You

Note that Selective Color deals with CMYK, which is a subtractive color model. Subtractive color models are typically reserved for ink and printing applications, so it might throw you off a bit.

Subtractive color means that as you subtract cyan (for example), the image will get brighter (as if you removed cyan “ink”). This is the opposite of what happens with light, where an image gets brighter as you add color to it. So when you add color using Selective Color, you’re actually darkening your image a bit. Just be aware that your luminance will be indirectly affected by Selective Color, and in a way opposite of what you might expect.

values) to the greens or take out cyan (with negative values). You can also do the same for magenta, yellow, or black.

In this case, we want to make the greens more green. There’s no “green” slider here, but we know that green is the opposite of magenta. So, take the Magenta value down to –100%. We’ve now essentially added green to only our forest, leaving the sky the way it was. Note that because this selection is color-based, we can just set this up once, and barring any major lighting changes, no tracking, rotoscoping, or keyframing is necessary to maintain this adjustment throughout a shot.

Figure 6.110 Removing magenta from the greens adds more green to only green areas (the forest, in this case).

Figure 6.110 Removing magenta from the greens adds more green to only green areas (the forest, in this case).

Next, let’s work on the sky. There is a “Cyan” option from the Colors drop down, and that’s probably the closest color to the sky. However, this is too close in color to the forest, and any adjustment would affect the entire image. And again, we don’t have the flexibility to alter what “cyan” is, so we need to choose another color family to work on. I’m going to choose Blues from the Colors drop down.

I want to make this more blue, and like with green, there’s no blue value to adjust. But since blue is the opposite of yellow, we can add more blue by subtracting yellow. So take the Yellow value to –100%. This is looking good, but to provide a more equal balance between sky and forest, increase the Black value to 100% to darken the blues. And there you go.

Figure 6.111 The final image after adding more blue to the sky, more green to the forest, and balancing their luminance a little bit.

Figure 6.111 The final image after adding more blue to the sky, more green to the forest, and balancing their luminance a little bit.

The Shadow/Highlight Effect

The Shadow/Highlight effect is akin to the auto effects that we looked at in the beginning of this chapter. It attempts to restore details from shadow areas that are too dark, or highlight areas that are too bright. If you are new to image correction, this is a great effect. If you know your way around Levels or Curves, I recommend sticking to those effects as they will usually produce far better results.

For this effect, open the Shadow Highlight.aep project from the Chapter 6 folder. This contains a photo that I took that has some cliffs that are a little dark.

Figure 6.112 The Shadow Highlight.aep project.

Figure 6.112 The Shadow Highlight.aep project.

Apply the Shadow/Highlight effect to this layer. The effects are instant, but not necessarily fantastic. The results are overblown and noisy, even though this photo was shot with an ISO setting of 100, which typically creates an image with relatively low noise.

Figure 6.113 The result of applying the Shadow/Highlight effect.

Figure 6.113 The result of applying the Shadow/Highlight effect.

To fine tune this effect, you can open the More Options section, and adjust those settings. You can also uncheck the Auto Amounts checkbox to get access to the Shadow Amount and Highlight Amount properties. This allows you to customize (read:reduce) the effect of the insanely intense defaults.

Figure 6.114 The results of customizing and lowering the Shadow Amount.

Figure 6.114 The results of customizing and lowering the Shadow Amount.

I got some pretty good results by deselecting the Auto Amounts option, and then taking the Shadow Amount value down to 20 (from its ridiculously high default of 50). But I would still prefer to be using Levels or Curves.

The Tint Effect

The Tint effect (and the Tritone effect coming up next) is used to recolor footage by remapping all of the color values. In the case of the Tint effect, all color values are remapped to two values— one that specifies what black is remapped to, and one that specifies what white is remapped to. This effect can be used to remap the colors in already-colored footage, or it can be used to add color where there is only grayscale values, such as with patterns created with the Fractal Noise effect.

For practicing with the Tint and Tritone effects, I’ve created a project called Tinting.aep that you’ll find in the Chapter 6 folder of the exercise files. This project has two compositions. The gray-scale pattern comp contains a watery pattern created with the Fractal Noise effect that is in desperate need of color.

Figure 6.115 The Fractal Noise pattern in the grayscale pattern comp.

Figure 6.115 The Fractal Noise pattern in the grayscale pattern comp.

The other comp contains a cool Artbeats video of some CG elements spinning around.

Let’s start with the grayscale pattern comp. Apply the Tint effect to the layer here. When the Tint effect is first applied, it remaps the darkest tones to black and the brightest tones to white, turning it grayscale. When applied to grayscale footage, there is no visible change.

Figure 6.116 The Artbeats video clip in the Tinting.aep project.

Figure 6.116 The Artbeats video clip in the Tinting.aep project.

The task now is to click the color swatches for the Map Black To and Map White To values to reassign these tones to other colors. For the Map Black To value, I’m going to click the color swatch and select a dark blue color. For the Map White To value, I’m going to click the color swatch and select a really bright blue. Although you can fade the tinting by using the Amount to Tint property, I’m going to leave this at the default 100% to get the tint in its full strength. The end results look much more like water.

Figure 6.117 The result of remapping the black and white points with the Tint effect.

Figure 6.117 The result of remapping the black and white points with the Tint effect.

Remember that effects often work better when used in conjunction with other effects. Sometimes when using colors other than black and white with the Tint effect, you can lose contrast. In this case, I added contrast with the Levels effect.

Figure 6.118 After adjusting the black and white points and midtone contrast in the Levels effect.

Figure 6.118 After adjusting the black and white points and midtone contrast in the Levels effect.

Now let’s see what the Tint effect looks like applied to video. Switch over to the other comp with the Artbeats video footage in it. Apply the Tint effect. As previously mentioned, when you first apply this effect to footage, it is completely stripped of color.

Figure 6.119 When applying the Tint effect, the colors in the footage are turned to grayscale.

Figure 6.119 When applying the Tint effect, the colors in the footage are turned to grayscale.

In the case of this video clip, I want a totally different look. As seen in Figure 6.120, the whole footage is tinted in cool tones. So, I’m going to choose a deep dark red for the Map Black To value, and a pale orangish-yellow for the Map White To value. The results are very different, but not a “me in high school” kind of different. Good different.

Figure 6.120 The results of remapping shadows to dark red and highlights to bright yellow.

Figure 6.120 The results of remapping shadows to dark red and highlights to bright yellow.

If the grayscale pattern comp got to use extra effects to create a better result, then it’s only fair that we add some extra effects to this video clip as well. I added the Curves effect to deepen the shadows and brighten the highlights, and the Glow effect to make it look, well, glowy.

Figure 6.121 The final result of tinting this video clip with the Tint effect, and then adding finishing touches with the Curves and Glow effects.

Figure 6.121 The final result of tinting this video clip with the Tint effect, and then adding finishing touches with the Curves and Glow effects.

The Tritone Effect

The Tritone effect is exactly the same as the Tint effect, only that it has three adjustable color values, instead of the two you find in the Tint effect. The Tritone effect allows you to remap highlights, midtones, and shadows.

Open (or Revert) the Tinting.aep project from the Chapter 6 folder if it’s not open already. First, apply the Tritone effect to the fractal water pattern in the grayscale pattern comp. Because of the default brown tone of the Midtones value, the default settings turn layers brown.

Figure 6.122 The default settings of the Tritone effect turn this layer into a layer of fractal chocolatey goodness.

Figure 6.122 The default settings of the Tritone effect turn this layer into a layer of fractal chocolatey goodness.

I changed the Highlights color swatch to a light pale green, the Midtones value to light blue, and the Shadows to dark blue. Since there isn’t much pure white in this pattern, we don’t see as much of the highlight color. The obvious advantage of the Tritone effect over the Tint effect is that it has an additional color property that you can control. But one of the disadvantages of this is that it becomes more difficult to balance these three color values in your image. The Tritone effect doesn’t really give you a way to adjust the way colors are mapped, which would be a handy feature when you have more than two colors. If you need control over the mapping of colors, you can apply a luminance adjustment effect (such as Levels or Curves) before the Tritone effect in the Effect Controls panel.

Let’s go over to the comp with the video clip in it, and apply the Tritone effect to this footage. I changed the highlights color to a light pale yellow, the Midtones to a vibrant orange, and the Shadows to a dark rich purple. Remember that we can also enhance these results with additional effects.

Figure 6.123 After changing the Tritone colors to more watery colors.

Figure 6.123 After changing the Tritone colors to more watery colors.

Figure 6.124 The result of adjusting the Tritone colors applied to the Artbeats footage.

Figure 6.124 The result of adjusting the Tritone colors applied to the Artbeats footage.

The Vibrance Effect

Oh boy, do I love me some Vibrance effect! On the surface, Vibrance seems just like a regular old saturation effect. And in fact, it does indeed saturate stuff. However, Vibrance is significantly better.

To understand the magic of the Vibrance effect, let’s look at what regular saturation does. We have this image of my lovely wife. Although she looks pretty and is still very sexually attracted to me, this image is a little washed out and could benefit from some saturation.

Figure 6.125 The original image of my wife.

Figure 6.125 The original image of my wife.

So, I’m going to apply the Vibrance effect because it has a regular old saturation slider on it. But you can increase saturation in a number of ways (Hue/Saturation, etc.). I’m going to take the Saturation value to 70. Uh-oh. That’s not good. Although it does boost the color, it turns her a hideous, Jersey Shore orange.

Figure 6.126 My beautiful wife is an Oompa Loompa! Oh well. We had a good run.

Figure 6.126 My beautiful wife is an Oompa Loompa! Oh well. We had a good run.

Wouldn’t it be awesome if there was some tool that would allow me to increase saturation but take it easy on skin tones? And that, ladies and gentlemen is where Vibrance comes in. Vibrance does exactly that: it saturates an image with extra care towards skin tones so that they saturate much more slowly than other colors. This allows us to make really beautiful cinematic imagery. Take the Saturation value down to 0, and now take Vibrance all the way up to 100. It’s a very high value, but as you can see from Figure 6.127, it can handle it.

Figure 6.127 Ah yes. Thank you, Vibrance.

Figure 6.127 Ah yes. Thank you, Vibrance.

The background and her pink hair are an almost cartoony level of vibrance, but her skin tone still looks normal. We’d probably want to dial this back a little bit, but I wanted to show you just how far you can push Vibrance before skin tones start to suffer.

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

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