Converting Channels into Masks

Sculptors often say that the figures are already in the stone; they just release them. The same is often true with alpha channels. Look at each channel independently until you find the ones with highest contrast. You can use one or more color channels as the basis for creating an alpha channel.

Converting a Single Channel into a Mask

Oftentimes you can use a single channel as the basis for an alpha channel or layer mask. This is especially true for scanned or flattened logos.

Step 1. Open the file Ch04_Channel_Extract.psd from the book's DVD-ROM.

Step 2. Switch to the Channels palette or choose Windows> Channel if it is not visible.

Step 3. Duplicate the Gray channel by right-clicking and choosing Duplicate Channel... Name the Channel Alpha, and click OK.

Step 4. The new channel needs to be cleaned up. The "white" paper has some discoloration. Turn the alpha channel's visibility icon on (the eyeball icon) and disable visibility for the gray channel. With the new channel selected, press jj-a+3 (L+O) to open the Levels dialog box. Drag the black point and white point sliders towards the center until you move beyond the histogram data. This makes the black and white in the channel perfectly "clean."

Step 5. The "holes" in the channel must be filled in to create clean transparency. Press © to select your Brush tool then press d to load the default colors of black and white and X to switch black to the Foreground color. Paint out the white letters in the center of the box. This will ensure that the white part of the logo is not interpreted as transparent.

Layers J Channels x | Paths ,

mmmm I


Delete Channel


Step 6. The alpha channel must be reversed to "cut the matte." With the alpha channel selected press iX +0 (^D+O) to Invert the channel.

Step 7. To load the alpha channel, la + Click (fL i Click) on its thumbnail in the Channels palette. Once you have an active selection, you can turn on the visibility icon for the Gray channel then turn off the visibility icon for the alpha channel.

Step 8. Switch to the Layers palette. The logo layer is locked as it is a flattened document. Double-click on the layer's name and call it Logo.

Step 9. Click the Add Layer Mask button at the bottom of the Layers palette to store the transparency selection with the layer. You can now save the file as a PSD document to store the transparency.

LayersJ Channels x £Paths










k »


Converting Multiple Channels into a Mask with Calculations

We will use an advanced procedure called Calculations to combine two channels into a new channel, which will function as the alpha. Depending on the source photo, you will generate anything from a perfect mask to a great start.

Step 1. Open the document Ch04_Calculations.tif from the chapter's folder.

Step 2. Call up the Channels palette and look for the highest contrasting channels. Because you want to remove the background, look for the highest contrast between foreground and background. The red channel should stand out the most.

We will now use an advanced command to merge channels together. Before Photoshop had layers, it had Calculations. The name scares most people off—math is not a favorite course at most journalism and art schools. Relax. The computer does the math. All you have to do is enable the Preview function and tweak a few drop-down menus. This feature is designed to combine channels from the same document or documents of an identical size.

Step 3. Call up the Calculations command from the Image menu. Make sure the Preview box is active.

Step 4. You can now combine the Red, Blue, Green, or Grayscale composite channels to form a new channel. With this image, use the Red channel as your first source.

Step 5. Combine it with the blue channel. Click the invert box for the blue channel and try the Color Dodge blending mode. The resulting image should show a high-contrast image, a white shape for the church tower, and a gray image for the sky.

Step 6. Click OK and generate the new alpha channel.

Step 7. Now make a Levels adjustment to clean up the matte. You want a high-contrast black-and-white matte. Adjust the midpoint and black point until a clean matte is generated.

The left image shows the matte generated by the Calculations command. The center image has been touched up with the Levels command. The right shows the effect of loading the selection and applying it as a layer mask.


Channel. Alpha 1 Tl

< ok

Input Levels:



L«d.. )




|l20 | fl.00 | 242 |


Output Levels;



M Preview

i° i im i

With a little bit of experimentation, a perfect matte can be generated. This alpha channel can be kept and used in a video application, or it can be loaded and turned into a layer mask. Calculations aren't a solution all the time, but they are worth a try when you have high-contrast channels.

Was this article helpful?

0 0
How To Create Your Own Video Product

How To Create Your Own Video Product

Now YOU Can Finally Learn All the ins and outs of Creating Your Own Video awhile about creating your own video products.

Get My Free Ebook

Post a comment