Watch videos with subtitles in your language, upload your videos, create your own subtitles! Click here to learn more on "how to Dotsub"

How Content-Aware Fill can help with Video

0 (0 Likes / 0 Dislikes)
[whirring sound] [ADOBE® TV PRESENTS] [SHORT AND SUITE] [mechanical clunking] [JASON LEVINE] [clunking continues] [KARL SOULE] [clunking continues] [whirring] [SHORT AND SUITE - ON THE ROAD WITH JASON AND KARL] Hi again. I'm Karl Soule for Short and Suite. Recently I ran into a problem when I was editing some footage together, and I actually found a solution for it over inside of Photoshop. I thought I would just explain some of the basics. This is kind of a basic concept of working with particular graphics. If you do a lot of graphics production, you've probably seen this technique. But if you're strictly an editor, you might not be familiar with this. It's the idea of creating a clean plate when you want to remove unwanted elements in a shot. So I'm basically going to go through and matte out part of this particular scene.t As you can see here, I've got this really nice shot of a flag blowing in the breeze here, and this was one of these impromptu shots. I didn't really plan on shooting it, it was just a piece of B roll that I grabbed, so I wasn't really concerned with the framing of the shot too much. And when I got in the edit bay, I decided I wanted to use this in a graphic. My first thought was since my master was going to be 720p master and this is 1080p footage, I tried taking this footage and throwing it into a 720p timeline and tried to crop it the way I wanted it to appear in the video here. Now, the problem with this is as I started coming in here and scaling the video to fit this the way I wanted it to fit, no matter what I did, whenever I got the framing just right, I was always left with this little chunk of the truck in the shot, and it's just really an unwanted element and I wanted to get rid of it. Because I shot this locked down on a tripod, I thought, "Hey, maybe I can use Photoshop and use the Content-Aware Fill feature "in Photoshop CS5 to remove this particular element." So let me go back to the original uncropped shot here. This is the full resolution timeline here. What I'm going to do is just find a frame--any frame of this shot will work-- and I'm going to go down here and click this Export Frame button and we'll go ahead and choose a TIFF file since a TIFF file is going to give me the highest quality for a still. And what I'm going to do is grab a still of this image, go ahead and copy it to my Desktop. Now let me jump over to Photoshop, and inside of Photoshop I'm going to go ahead and open up this TIFF file. So here we have a single frame of this image. Now, the Content-Aware Fill function is designed to go through and remove unwanted elements of a shot and automatically fill in the background based on the other patterns that are visible in the scene. So I need to make a selection of the truck, and instead of using a really tight selection, I'm actually going to use something called-- this is an older tool called the Magnetic Lasso tool, and I'm going to go ahead and just click on some points here. I'm sorry, not the Magnetic Lasso tool. This is the Polygonal--how do you say it? Who knows? The Polygonal Lasso tool. I'm going to go ahead and just start making my selection. We're just going to go ahead and get rid of the entire truck in the shot here. Again, this doesn't have to be a very tight selection. I just have to give Photoshop some idea of what I'm trying to remove. From here, if I go to Edit, I can choose Fill. That's one option of doing this. But since I'm working with a single layer here--I've just got my single image-- it's a handy thing to remember that Fill is actually tied to the Delete key on the keyboard. So I'm going to go ahead and tape the Delete key. It brings up the Fill panel here. I'll go ahead and make sure this is set to Content-Aware and hit OK. And what Photoshop is going to do is it's going to analyze the background patterns and it's going to automatically do all the copying for me. So you can see it's actually extended the length of the flag here but, more importantly, it's added in these sections of desert. It's done a pretty good job of adding in pixels to fill in the mountains. If I was being really, really precise, I might want to kind of correct for some of the way this mountain disappears, but oftentimes there's strange little artifacts like that that can actually exist in nature where the framing of the shot can affect this. This is not going to be a visible point in the shot. I'm just going to leave it as is. But I'm going to go ahead and save this back out to the original TIFF file. We'll just go ahead and hit Save on that. So I go ahead and import the TIFF back into my project here. I have it saved on the Desktop. We want to make sure and show all supported media. I should be able to see--there's my TIFF file. I'm going to go ahead and bring that in, and you can see by the thumbnail it's actually gone through and you can see that the truck has been removed from the shot. What I'm going to do with my original footage here is we're going to go ahead and take the TIFF file, and I'm going to put the TIFF file up on Video 2 in my timeline. The only element that I need to remove is the truck, so I'm going to add a mask to this. So we're going to go ahead and choose-- I'm just going to start typing here because I'm looking for what's called an Eight-Point Garbage Matte. I'm going to take this Garbage Matte and apply it to the TIFF. And when I do this, you'll see up in my Project bin this gives me my eight points. And we want to see the flag in the shot; we just don't want to see the truck, so I'm going to bring these points down so that the truck is effectively removed from the shot and replaced with just the still. And you can see I'm kind of playing with these points here. I don't have to get them exactly precise here. I just have to make sure that the truck is going to be completely covered by the TIFF file. And so now at this point we're going to go ahead and play this back and just make sure that there's no place where that Garbage Matte is affecting the flag. So we'll check right in here. You can see the tip of the flag might be getting cut off a little bit, so we're just going to bring that point down a little bit here, move this point up a little bit. And so now that I have this matted out here, you can see that that has effectively removed the truck from the shot. And so from here, I can continue to edit this further. If I want to bring this over into a 720p timeline, I can actually take and do a nested sequence where I can take, if I go back to my 720p timeline, I can take the sequence that I just created, drop it right in here, and you can see that there is the framing on my shot. I can continue to play with this. I can move it around, I can scale it, and I don't have to worry about the truck showing up at any point in the frame. So just a nice little technique there combining the use of a Garbage Matte and the Content-Aware Fill function from Photoshop to generate a clean plate and remove an unwanted element from a shot. Thanks again. My name is Karl Soule. [Executive Producer - Bob Donlon] [Producer - Karl Miller] [Director - Kush Amerasinghe] [Post Production - Erik Espera] [ADOBE® TV PRODUCTIONS -tv.adobe.com]

Video Details

Duration: 7 minutes and 56 seconds
Country:
Language: English
License: All rights reserved
Genre: None
Views: 101
Posted by: adobetv on Oct 7, 2010

Content-Aware fill in Photoshop is a powerful tool for generating clean plates in Premiere Pro. Karl Soule’ provides some examples.

Caption and Translate

    Sign In/Register for Dotsub to translate this video.