Combining Content Aware Fill and Healing Tool


Photoshop: Content-Aware & Cloning


Lesson Info

Combining Content Aware Fill and Healing Tool

So the next thing that we're going to look at is content aware phil, but before we do that do we have any questions on using the spot healing brush the healing brush as well as the clone stamp tool built on a question on sample layers? Is that sample? All visible layers are all theirs all visible air's great question that is a good question um fred photo md says when I do spot healing too close to the eye or the mouth or any edge, I get dark spots anyway to avoid that use another tool yeah, so the spy only brush you don't get any opportunity to tell folks shot where exactly to take those pixels from so if that happens, I would undo so command or control z to back up and then re size my brush and see if that does a better job and that if that doesn't work if you need blending that I would use the healing brush tool or then resort to the clothes stamp tool. Okay, thank you and what's really great about the way you work is that it's very non destructive to the background and I love that a...

nd I think people in the chat rooms asked a bluebird asked, wondering why you don't make a copy of the background before you make these new layers and is that because so much of the work is none destructive yeah, I never touched the background layer and never ever touch the original image so there's you know, in this particular these techniques that we've been looking at this far there's no reason a double click it to make it editable because we just haven't done anything to it cool we're good great so what we've been looking at so far we have had a good swath of pixels that we can use for the fix around the item that we're fixing but what if you don't that's where we're going to look at next so if you're following along at home, we're now in a folder number three content or where phil and this particular command unfortunately you cannot use on an empty layer dad give it so we're going to be forced into deep plicating that dad gum image layer rar hate that but this is a great one to use I'm gonna show it t on us several different images ok? Jessica seen the cows before ok, so what can we do with continent where phil? Well, we can that things from our photo this cheeky snorkeler we've got down there he's got the nerve to give us the double fine iran or what have you so we're going to get rid of him? We don't want him in our dad gum picture so the content and were phil command can also be useful it is good if you have a pretty good swath of good background pixels around the thing you want to delete but it's also really great to use if the thing you want to delete is really, really close to something that you want to keep so that's what we're gonna do okay? So come down here and like I said, this one unfortunately cannot use on empty layers so you're forced into duplicating the image layer and a quick keyboard shortcut for that is command or control j so when I press commander controlled jay, then the entire layer gets duplicated if you had a selection on your screen than the selection itself would get deep located and that would be a way for this particular image tio keep our documents, eyes slim and trim we could create a selection of this area that we want to get rid of and jump it up onto its other layer that's how I remember that keyboard short kind of j to duplicate is I think ok it's jumping the thing either this election or the whole layers jumping it onto another layer that's how I remember it okay, so I'm gonna go ahead and we did that so we've got our do put layer right here now we need to create a selection of the thing we want to get rid of we haven't had to do that yet with our with our other tools that we've been using so which told you used to create a selection? Well, it just depends on what you're trying to select for this particular image. I could have a go with a lasso tool, and I could just quickly hand draw a selection and I'm doing that kind of big, so I want to get rid of his splashes and his ripples that he's causing there, so the last tool in this instance would be a good one to try. If you had a decent contrast between the thing you want to get rid of in the background, then you could use one of photo shop select by color tools, which are the quick selection tool and the magic wand. So if we use the quick selection tool, we could mouse over here to our image, let me zoom in and move this up so some of our studio audience can see our picture here tiki snorkeler like that. So the quick selection tool that you paint on a selection by color so photoshopped tries to grab pixels similar in color to the ones you're painting a cross with your mouth, so that can be handy. So whichever way you want to have to go with it for this one, the last told works fine and you notice that the selection I'm drawing is really rough and I am purposefully including or I'm making the selection larger than it needs to be because to fully delete this guy, you don't want that selection to be really tight, because then you might end up with an outline of some of those pixels left over, so you wanted to be a little bit larger than the thing you're trying to get rid of. So once you've got your selection done, you got your on your duplicate layer. Now we're going to trot up to the edit menu and choose the phil command, and this one came along and c s five, I believe so from the eu's poppet menu, you're gonna choose content where and here again photo shop is going to look at the pixels in the image and it's going to prioritize them and it's going to try to on ly use the low priority areas for the fix, so you go ahead and click ok, and it does a great job. But here again, let me just undo every time you choose this command, the results are going to be a little bit different. Valen did a little bit better than the first one, so be aware that keep that in your mind so you just undo one step so commander control z and then go back into the edit menu choose phil content, aware from that poppet menu. And you're going to get different results every decade. Time use it now, in some cases, you may get better results if you do smaller patches at a time. Okay, so that's, another thing to keep in mind, so undo it and run it several times. And, you know, you could even do that on different layers if you wanted the ability to go back to one one, go at it. If it looked really, really good, then then you could do that. So it just depends, but you may also want to do it in smaller increments so we could take a little selections and do them one at a time. Sometimes that works better. But for this woman did a good job the second or third time we ran it, so that's content were filled so pretty amazing her so to get rid of that selection cause we don't need it anymore. You can just press command d for d select or control d for d select that's also in the select menu. It's right here, de soleil there's up, actually, or adobe actually did it pretty good job of naming these many? So anything, any commands that are associated with selections are going to be under the selectmen you so it kind of makes sense t right there so now let's try it on something a little bit more complicated how my guides here so here again we've got a situation where I want to add text but I've got a dad gum cow in the way where I want my text that's not gonna work okay, so I need to get rid of the cow could I have a go with a spot haley brush sure, but this cow and I want to get rid of is really close to the cow beauty of calvin I want to keep and I don't want to go repeating any cow beauty that would be weird so very weird somebody go ahead and duplicate the layer right? Because this command does not work on an empty layer hopefully we will get that in a later version of the program so activate the layer that you want tio duplicate impress command j for jump on a mat or control j for jump on a pc and now we need to create a selection of the thing we want to get rid of. So for this one we'll see him here in quite a bit since we've got so much contrast between the thing we want to get rid of and the background area the selection by color tools gonna work out really well for us so let's come over here to the quick selection tool and we're gonna click and drag or single click too create a selection of the thing that we want to get rid of. Now you'll notice I just went down and brush size to select the skinny little cow legs. The swath of pixels that photoshopped will grab with this tool is directly proportionate to the size of the brush cursor, so I need to go down and brush size to get the's skinny little legs or else photo shop is going to grab a big honkin area, so if you want to grab a big honkin area, then you brush needs to be larger if you want to grab this little bitty area and your brush needs to be nice and small. So this is a pretty decent selection you left out a county, right? There you go calendar funny, aren't they all know why I teach it? Photo shot world's photo shot world, which I've been teaching this is two thousand six, one of three females you could believe that way. We'll talk about that. I have my largest physical classes, so I have, like a thousand or fifteen hundred people, you know, physical people in the class and every time I use a cal picture, people will giggle. I just it just ripples across the audience and what it is calendar funny, so if I zoom in to our cow here we can see that I've got a little bit of cow bangs that are not in my selection, so what we're going to do is pop out that selection a little bit. We're just going to expand it easy peasy, so we're going to try to the select many because that's, where commands that effects elections like one of the places anyway choose, modify, expand, and we're just going to pop it out a little bit maybe around eight pixels you'll need to experiment with that sending, depending upon the pixel dimensions of the image that you're working with may be like eight pixels will do it. There we go see how popped it out this a little bit that's going to keep us from having any leftover count outline situation going on begin halloween if you're looking to make a ghostly cow, then you probably wouldn't expand your selection in that way. Ok, so now we've got a good selection we've included, we've popped it out so it's got a little bit of the background in it, so that's going to help sort of shot do a better job, and now I can come up to the edit command, choose phil the edit menu rather and then choose content aware from that use poppet menu and again, if you're not seeing that, then you're not running at least c s five that's when that command came along if I remember correctly soon as you press ok photo shop is going to look at the pixels outside of that selection do you copy paste? And because of what rock band are these tools lenders at it phil command is a little blending as you conceded an amazing job. If I were doing this for real, I might come in with the clone stamp tool and just repeat a little bit of that grass if I thought I needed it but for this particular usage of the image once I add my text nobody is really going to be looking at there anyway so this depends park is good pork is fine eat more pork all the time cows for change dot com I love entertaining myself with these exercise while this just so much but she made that it ok so let's look at one more or maybe a couple more for we stopped for break will open at both these pyramid shots so these air a little bit more of a a snapshot ish type of image if you will. But again, I want to give you some riel world examples so let's say for this particular image you need to get rid of that camel shadow that had the golf slash nature slash audacity to get in your picture so let's just take a look that using the spot hailing brush set to content and where to get rid of it and see what it does so we're gonna create our new empty layer couldn't call it spot healing our spot healing brush is not yet active there it is right there and we've already got our options bar set up the way we want content and where sample all layers turned on and now we can come over here and let's just paint get rid of our camel we've got a good swath of sand around the thing we're trying to delete so it should work right he's not so much what happened here is because we painted a pretty large area then photoshopped had to go try to find a large area to try to match it with and it didn't do a good job so let's turn that off now let's have a go with edit field command and I'll do a better job so first we want tio create a duplicate right of our image later commander control jay, if your layer was if your image is comprised of multiple layers and you, you wouldn't be able tio if if your image let's back up three two, one if you're the thing you're trying to delete lives across multiple layers, then you're not gonna have this one layer that you can easily duplicate in that case you could make a stamped copy of all the content on all the visible layers just for the purpose of running the edit feel command set to content where and the way you do that is it's the worst keyboard shortcut known to man but it's not that hard to memorize because the keys are all next to each other what you want to do it doesn't matter which layer is active when I'm going to create a stamped copy layer I'm normally click to activate the top most layer my layers panel that just makes the new layer you're about to make end up at the top of your layers panel so you don't have to click and drag it at the top so let's say that this particular image lived on several different layers so I would press you ready shift option command e or on a pc shift all control e memorize that put your hands on your key wars if you're watching at home and you're going to see that three fingers are going to be almost right next to each other and they're gonna tap the key and you can think of that for eke what an awful keyboard shortcut but what that does is that takes all of the content on visible layers and it puts it on a single new layer so you're still practicing nondestructive editing but you've just if your image doesn't live on just one layer the thing that you're trying to delete lives across multiple layers and you would do that instead of just duplicating your background layer so it will be doing a little bit of that. I think later in the day okay, now we're ready to make our selection, so we've got pretty good contrast between what we want to get rid of and what we want to keep, so we could use the quick selection told to paint our selection or is pretty easy this to draw quick lasso around that area so we could grab the lasso tool and just come down here and quickly draw selection there we go now shot up to the edit menu, choose phil and choose content aware from the eu's poppet menu and that's a heck of a lot better job, then we got with spot healing brush, so it just depends on the particular image that you're working with that's why we're spending the day together, learning about all these different tools that you're going to need to use now for this one were an option or all clicked the original so you can see it. We used a few different tools, so we've got some people down here that I want to get rid of, and I've got another person over here that I want to get rid of, so we could just take a look at the different tools and see which one would do the best job so let's give a go with the spot healing brush first, okay spot he'll grab it and come down in size a little bit and let's just paint to get rid of these people not too bad and now they're gone now he come over here into the same thing with that one? This is actually a boulder but looks a little bit better without it in there, so maybe that will work great, but just as easily we could use is the edit feel command, so we'll draw little lasso around our people here and now we can come appear to the edit menu and choose phil content aware and click ok on my screen. I can tell that the edit feel commanded a little bit of a more realistic job of getting rid of them, so you'll just have to test those different tools and commands on your own images so let's say I like the way that it feel commanded on that, but I want to use spot healing for over here. Would I do it on that layer? Absolutely not. We're going to create another new layer and that's where we're going to use when you switch tools I would always create any layer there we go, so now we got rid of those those things in our pyramid shot thing that surprised me most about the pyramids society of those bowlers, they're huge big square chunks probably about half the size each block is about half the size of the table and I'm sitting I cannot believe the size of those blocs that they used, you know, five thousand years ago how the heck did they do that? It's really incredible all right let's take a look at another image before we go to break here ah, people that know me know it's hysterical for me these babies in my images of any kind babies absolutely terrified me I'm terrified of children in general I don't want to touch me I don't want to touch them and I want to be near them nothing so it is a screen that I used babies this close is going to get to them ever if it's got whiskers and a tail for I'm good ok so let's say that you ordered this shoot for your client what have you and dad government? We've got five pumpkins in the picture I told you told you told you wanted three pumpkins in that picture must you go reshoot that picture? Absolutely not. So let's take a look at the tools that we've used thus far to try to get rid of these two extra pumpkins down here that we don't need all the men a little bit more so we can see him so with what you know thus far would the spot haley brush being a candidate not really because if we only want to delete these two really close to the pumpkin that we want to keep so spot haley breasts not going to really work for us and it feel command maybe let's take what so let's duplicate er in this layer I'll use the lasso tool to create a selection a little bit larger then when I want to get rid of except for on that end right there will include a little bit of grass come over here vega now will choose the edit menu phil content aware gross right did not work that's going to be a no go for launch right there so all right we can undo get rid of that the leader do put layer now let's try the clone stand tool okay there's another chilly accused but we have talked about it yet we're gonna talk about it when we get back from break so we create a new anti layer call it clone and we're gonna come over here grab the clothes stand toll zuman thanks sure we've got sample all layers turned on we're going to set our sample point in the foreground not in bridge but instead a shop in the foreground there we go by pressing option or all and then we're simply going to paint the pumpkin away so there will be times depending upon what you want to do and we will too far with that one that none of the blenders are gonna be helpful to you at all. You're gonna have to disclose the thing out, and this is one of those situations. But now that you know how to use all those tools in conjunction with each other on separate layers, then it will be okay, and you'll be able to get it done. Watch out for repeating patterns. We're gonna call that close enough. And now we've got our image with our three pumpkins instead of five.

Class Description

Ready to take your Photoshop skills to the next level? Join author of the best-selling Photoshop: Missing Manual book series, Lesa Snider, for a full-day immersion into Photoshop’s Content-Aware technology. Lesa will cover everything you need to know about Content-Aware technology, in which Photoshop intelligently analyzes your images for optimum results when resizing, removing, or moving objects around. You'll learn concrete and practical uses for all of these tools including Content-Aware Fill, Content-Aware Move, and Content-Aware Patch, plus you'll learn how to use alpha channels to get the absolute most out of resizing your images for specific output sizes with Content-Aware Scale. And when these tools don't do a perfect job? That's when the Clone Stamp tool comes in! By the end of this deep dive, you'll have mastered the art of using all these tools non-destructively for maximum flexibility when editing your images.

Software Used: Adobe Photoshop CC 14.1



This is a great course. I work for a clothing company retouching and post processing photos of the models. Being able to remove wrinkles from clothing and make it look natural is critical. Lesa does a great job of teaching the various methods of repairing everything from wrinkles, to color and texture. I go back to it often when I feel I'm missing something.