Chroma Blur and Chroma Keying in
Sony Vegas
® Software
Keith Kolbo/VASST Instructor ©2005 Sundance Media Group

HDV:What You NEED to Know

 

 

 

 

 

 

Instant ACID

As budgets have become tighter and tighter, and the technology has improved, chroma keying in video has become commonplace. It is said that chroma keying in DV is unacceptable. New specialized tools have greatly improved the chroma keys in DV, but with a little understanding of DV and the right process, you can get good results with your NLE. We are going to step through the process of producing a quality chroma key with Sony's Vegas® NLE. You may find that many of the tools used in Vegas are available in your NLE. If so, the process should be very similar.

We are going to start with raw footage that could be a serious challenge to work with. The talent has light blond flyaway hair that is fine and thin, so there is a lot of detail that we potentially could lose if we're not careful. She is standing in front of a wavy curtain with plenty of shadows. Notice the hot spot behind her and how the picture darkens at the top and bottom. The one thing we have going for us is that the subject is backlit very well.

Chromakeying in DV usually has a number of problems, but the most annoying is the blockiness of the key.(see the purple arrow below) The jaggies are caused by the nature of the color sampling in DV, coupled with the often not-so-hot glass or electronics of lower cost DV camcorders. Not every pixel has full color information. This means that where one color begins and another ends can be in big blocks. The color sampling in DV is 4:1:1. Don't worry if that does not mean a lot to you, we are going to go through the steps to deal with it. If you want more information on color sampling in DV, click here. Of course, the quality of your DV camcorder will vary in how it perceives and stores the image information.

The first step increating your chroma key is to place your source clip on the Vegas timeline. Now drag the Chroma Blur video effect onto the event. When the dialog opens, select a medium blur to start. When Vegas modifies video, it decompresses the video into a 4:4:4 color space. The best way to think of it is that this gives color information to each pixel. The Chroma Blur smoothes the colors in that space. Now instead of cutting out the object in big blocks, you can cut it out in smooth almost one pixel lines. You can see the difference in the pictures.

No Chroma Blur Applied With Chroma Blur applied

Next drag the Chroma Key video effect onto your clip. Trust me on this one, but to start, turn off the effect by un-checking the box in the effect chain. (see yellow arrow below) Now click on the eyedropper (red arrow below). You are now going to select the color to key on, but you are not going to select just one color. You are going to select a range. Draw a large box by clicking and dragging with the eyedropper in the video preview window.

   

Now click on the Show mask only box. (see blue arrow above) Our eyes see more detail in black and white than color, so this will help us define the key by showing it to us in black and white. Now go ahead and turn the Chroma Key effect back on. (yellow arrow above) At first the preview just looks like a black and white picture. Start by sliding the High threshold to the left until the object appears solid white.

Before the high threshold is adjusted After the high threshold is adjusted

Now slide the Low threshold to the right until the background is all black. The best results tend to come from adjusting the high threshold first and then the low threshold second. You will have to adjust the two to get the right balance. Turn the Show mask only off and on to check your settings. With a little practice you will not have to use any blur on the mask at all. If you have to use any more mask blur than about .050 to look good, you might need to go back and increase the Chroma Blur or reset your thresholds. Notice the nice clean edges and detail, even around the hair.

After adjusting the low threshhold See how clean the cutout can be?

Turn off the Show mask only box. Create a video track below your clip and drag your background on to that track below your keyed source clip.

After you have done everything that you can in front of the camera, such as proper lighting and positioning, a good chromakey in DV boils down to these tips:

  • Take advantage of the Chroma Blur to smooth out the edges
  • Select a range of color, not just one spot/pixel
  • Use the black and white mask to help you see the trouble areas. Enable/disable to help you see what you affecting.
  • Set the high threshold first, then set the low threshold
  • Use the mask blur sparingly. Rarely more than .010 should be used.
  • Place the background footage on the video track below the keyed source

That's how it works. Now go be creative!

Keith

 

 
 
  Search the VASST site for other project files, tutorials, and reviews!
 View other VASST training tools, FREE! Click the link below to be transported to the VASST resources pages.
VegFiles
Plugins
Scripts
Hardware

 

Tutorials
Themes
Forums/Groups
HDVPortal

 

Books/DVDs
Reviews
FreeStuff
VegasFAQ's