Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this movie, I'll show you how to use the Content-Aware Patch tool. And this movie is really intended as a demo, as you'll see. In the next movie, I'll show you a practical application of the tool. Now the Content-Aware Patch tool is ultimately a combination of the Standard Patch tool that we saw in a previous movie, along with Content-Aware Fill. And it's best understood in the context of those functions. So I'm going to create a couple of duplicates of this layer. By pressing Ctrl+Alt+J, or Cmd+Opt+J on the Mac, to jump a new layer and name it as well.
And I'll go ahead and call this guy, standard patch. And then I'll press the Enter key or the Return key on the Mac, and press Ctrl+Alt+J or Cmd+Opt+J again, and change the name to CA patch, and then click OK. All right, now I'll go ahead and turn off all the layers but the background, and I'll zoom out a little bit as well. And armed with my Rectangular Marquee tool, I'm going to select a pretty large portion of the image, from midway into the shadows here all the way to the bottom of the image. You can see I'm selecting the entire width as well.
And then I'll go up to the Edit menu and choose the Fill command, or you could take advantage of that keyboard shortcut Shift+Backspace on the PC or Shift+Del on the Mac. Make sure Use is set to Content-Aware. You don't need to worry about color adaptation this time around. Just go ahead and click the OK button in order to apply that change. Now as you may know, Content-Aware fill uses the area outside of the selection to fill the area inside of the selection. And so because there's not much more than trees outside the selection, Photoshop ends up sampling the trees like crazy.
And it repeats the trees as well, which also happens with Content-Aware. And we get a little bit of edge transition inside of the selection outline. Now let's compare that to what happens with both the Patch tool and Content-Aware Patch. I'll press Ctrl+D or Cmd+D on the Mac to deselect the image. Then I'll turn on the Standard Patch layer, and I'll select it as well. And now I'm going to draw a tighter rectangular marquee around the trash can and its shadow. And then I'll go ahead and select the Patch tool, which at this point, you can probably select by pressing the J key.
Now if you've been working along with me, you want to reset the functions up here in the Options bar, by right clicking on this little Patch tool icon on the far left side of the Option bar, and then choose Reset Tool. And that'll go ahead and reselect Source and turn off Transparent. And now, I'll go ahead and drag this selection outline up into the trees, which makes for a pretty absurd modification, but it illustrates how the feature works. And after the progress bar disappears, which may take a moment or two, you can see that Photoshop has gone ahead and duplicated the trees into the selection outline and it's made an attempt to, reconcile the edges around the selection outline as well.
Now your results may look a little different, if you're working along with me. But you should see something like this, where we have a little bit of grass action, then we've got these very obvious trees, but the colors are kind of muted. In other words, Photoshop is kind of splitting the difference between the colors of the trees and the colors of the grass. And as we'll see in just a moment, things get even better. You get all kinds of control over that equation when you switch to Content-Aware Patch. So to see what that looks like, I'll go ahead and turn on the CA Patch layer, and I'll select it as well.
And I'll go and zoom out a little bit. And now you want to go up to the Options bar, and switch this Patch Setting from Normal to Content-Aware. And we're going to lose all those other options, but we'll keep adaptation. And now what I'm going to do, is drag the selection outline, again up into the trees, so we want to perform pretty much the same modification, like so. And then go ahead and release, in order to duplicate the trees into the selection. And I want you to notice a couple of things that are different. Do not deselect the image at this point, it's very important.
What we have now is better edges, as you can see here. So, there's a lot more action going on inside the edges, and I'll explain why that is in a moment. And also, the trees are pretty much their original colors. So, the sky is blue and the sea is bluish as well, the trees and the path are brown. But we do have a lot of edge stuff going on, that is where Content-Aware comes in. So, in other words, the idea is in addition to sampling that portion of the trees to which you dragged the selection, Photoshop is also bringing in right around the edges its Content-Aware Fill technology.
And so it's sampling different areas outside of both this selection and outside of your source area as well. And, you could now modify the appearance of this area inside the selection on the fly, by clicking on this little gear icon. And I'm going to go ahead scroll down just a little bit, then click on the gear icon, and notice we have two options, Structure and Color. If you hover over structure, you'll see that it chooses how strictly the source structure is preserved. So in other words, are we sampling just the trees or are we bringing in a bunch of Content-Aware as well.
If you cranked that value up to its absolute maximum, and you can get to it by scrubbing that structure value as well. And then press the Tab key if need be, in order to invoke that modification. Notice you're applying your changes dynamically. So you don't have to undo this modification, and then change the settings up here in the Options bar and try again, the way we did in the previous movie. Instead, you can actually make modifications on the fly. So, notice with a high structure value of five, we're getting a lot of tree and not that much Content-Aware around the edges.
Whereas, if I reduce the structure value to its minimum, which by the way is one. You can scrub that value down as well, once again by dragging on the word structure. You'll get a lot less of the trees, and the trees are kind of bending as well, and we get a lot more Content-Aware around the edges. We also have this Color Setting right here, which is the same as the Color Adaptation check box inside the Fill dialog box. But it's a little more obvious in its implementation when you're working with a Patch tool. Now right now at zero, we don't have any color adaptation.
But, if I crank this value up to its maximum of ten, notice what happens to the color of the trees, and all the other stuff inside the selection. It becomes much greener than it was before, and that's because Photoshop is integrating the color of what was formerly inside of the selection outline, which of course is grass. And then, of course, you can set that value to anything in between that you like, and just by way of demonstration. Here's what happens when we change the color value to five.
Notice that we do get some detail modifications, so the tree kind of unwarped there a little bit. Although we've made a mess of the sea at this point, at least I have, but we also have brought back some of the colors of the sky and the sea and the trees as well. And so that's how you use the Content-Aware Patch tool here inside Photoshop. In the next movie, I'll show you a much more practical application.
Get unlimited access to all courses for just $25/month.Become a member
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.