Content Aware Fill


Adobe® Photoshop® Intensive


Lesson Info

Content Aware Fill

I'm going to show you a new option that came along in photo shop see us five and it is called content aware phil and you're not going to believe this one I'm going to see a lot of eye popping and mouths opening like we did with do atones yesterday so a new option c s five with the spot hailing tool you zoom in here is called content aware feel so we're going to use it to get rid of some of these people who have the nerve to be lord goring on the beach at the time I wanted to take a picture so over here in our tools panel we're going to go to go ahead and grab the spot hailing brush and now we're going to take a peek in the options bar and this is where you're going to see the new option and see us five if you're not running see us five you're not going to see this option content aware this guy right here is new so you want to turn that on and go ahead and leave the check box on for sample all layers so now let's go ahead and create our new layer onto which we didn't do our people zappi...

ng so shift command in or shift control in well cleverly named this one people be gone and now we're good to go so you can either increase the size of your brush teo encompass thing that you want to delete or you can click and drag with spot hailing drug brush okay so I'm gonna go ahead and make my brush big enough to encompass this guy so I'm going to click one time and he's gone isn't that incredible so I'll press commands your control z to bring him back so I'm in a little bit move over so all you have to do is reposition or resize your cursor so that it encompasses the thing that you want to delete and if there is a decent swath of I'm going to say free space but it's really free background so if I copied I can see that if photoshopped can copy this area in this area under this area that my guy would be gone so that's really what's happening with this okay so just like when we were healing blemishes with the spot hailing tool it's taking pixels that around the outside and copying and pasting them on the inside so a single click is all it takes to get rid of this guy now if you'll notice I had a little bit of surf that was repeated there it still looks realistic to me but if that bothers you you can paint across it as well and again you can either make it fit inside the brush cursor or you can click in drag and paint across that area and when he released your mouse button it's gone let me come over here and see who else we can delete in this image somebody go ahead and paint across the biggie board it's gone let's paint across this deed right here he's gone we've got another girl there I'm here I just can't believe these people had the audacity to be on the beach when I wanted to take this picture so within just a few minutes seconds really look what we've done here's our before and are after pretty amazing huh that's new and c s five so let's close this image let's do it again on something ills let's say you're a graphic designer and you found the perfect photo for the cover of your magazine but you need to put text down here ok so here's what we're going to create let's say this is what I want my magazine cover look like but I can't read my text through that dagan fans so we need to get rid of the fence because there is a good chunk of background okay and foreground here I can use those pixels to get rid of the fence ok if this fence was up next to the trees would not work it would work it wouldn't look good so that's what we're going to do so I want to start out by creating a new empty layer just like we've been doing because we don't want to mess up my original image now let's go grab a spot hailing tool it's already active trot up to your options bar make sure that content aware is turned on make sure that sample all layers is turned on and again you're not going to see this setting if you're running any version of the program other than c s five and there is instantly a thirty day free trial on the dhobi dot com if you want to download that in play along so now this time we obviously cannot fit that fans inside of our brush cursor so what we're going to do is click and drag to paint and you might have to experiment with brush size a little bit so as you click and drag to paint photo shop is marking the area oh that you don't have to do this in one brush stroke like I am I have done this on this image five hundred times so I can do it in one purse trip but you don't have teo you can release your mouse button and do it in several breast ropes, but as soon as you get the area that you wanted to lead highlighted a remarked then you release your mail spent in pretty amazing stuff isn't that I mean that offense is just out of here and again if you introduce any repeating patterns of snow then you could come in here and do selective clicking or clicking and dragging teo fix those areas so now let's look at our layers panel busemann I can see what photoshopped did to fix that so it grabbed the free area that was around the pixels that I'm marked and it copied and pasted it on the inside it made it look riel it's simply unbelievable so here's our before and are after yes it didn't grab the snow that was on top of the fence there was snow on top of the fence yes and because it was white it didn't grab it judging from the what I see on the mask it doesn't look to me like the snow is ground so help well, actually I painted a cost that snow so it was replaced with background. Yeah, only because I painted across it, but I could have gotten away with not painting across it, but I did I would have painted across all that, so I'll do it again. I'll go ahead and delete this layer by pressing delete key, so now we're going to create another new layer fence be gone way we still have our spot hailing brush, active content, a wears on sample all ares is on come over here and his paint across the area that you do not want to be in your photo anymore oh, you were talking about that area okay, yeah, I understand and again, you don't have to do this in one breast stroke soon as you get the area all marked, then you can release your mouse button now, this time because I painted a little bit of a larger area, it went up there and grabbed a tree. Okay, no big deal. I still have enough background area around that area to fix it, so I'm just gonna paint over it again. Here we go. And now it's gone. Not too bad, huh? So now we've taken the photo that we have and turned it into the photo that we need for our purpose, which was to create a magazine cover. Ok, so that's a an incredibly helpful thing, and again, you could come in here and and perfect this so there's not any repeating anything, but you'll get the idea amazingly powerful tool so let's, take a look at another way you can use that great for getting rid of power lines, power lines that have the nerve to cross your composition zone of your shot, someone is zoom in a little bit so we can see are offending power lines, and we're going to do the exact same thing again. We're going to create a new layer onto which the's zapping is going to occur, shift command or shift control in caroline's being on still got my spot haley brush active still set to content aware sample all ares still turned on and now you're just going to click and drag paint over those power lines now this one over here on the left hand side I can get a little bit tricky when you get down close to the edge of the island there and the edge of the building so you might have to zoom in and do a little bit more click king around on that image there we go so well just a few clicks you can completely eradicate those power lines and now I've got a much better picture in my opinion because I don't have those down power lines going across it ok so really powerful stuff so now let's take a look at how to use this new content aware phil technology when we've got an object we want to keep that's right up next to an object that we want to get rid of okay and when asked the situation let me open up a photo and show you want talking about here this is another one of lisa's fake ads pork is good pork is fine eat more pork all the time cows for change dot com I have too much fun with these fake ads it's going to go ahead and turn off my body copy layer and turn off our cleverly named kawabe gone layer so you can see the original photo now if I try to have a go with the spot hailing brush on this cow because this cow that I wanted to lee is so close to the other cow I'm going to run the risk of copying over a little cow booty we don't want to do that that is bad, so what we're going to do this time is we're gonna use thie content aware phil option along with the edit phil command in the menu system okay, so for this technique toe work, we need to do a couple of extra things first there's no way to run the edit phil command on with this content aware setting on an empty layer so we have to duplicate our image layer hate that so that's the first step duplicate your image layer by pressing commands jay on a mac or control j on a pc now the next step is for the edit phil command of work you have to create a selection so we need to select the offending cow and what's the easiest way to do that now that we've tried it three most to photo shop selection tools well let's look at it he's got pretty good contrast between himself in the green of the grass so one of our selection tools by color is going to work well for us so let's use the quick selection tool and we can use that to quickly paint a selection hoops onto our cow yes somebody used my right bracket key to go up and brush size click and drag to select my cow and you do want to make sure that you get all of him it doesn't take very many clicks when you go down and brush size to get this area around his leg and just a little bit more around the hooves there ok so I've got a decent selection however if I zoom in I can see that I didn't get all of the cow hairs okay but I'm not gonna worry about that what I'm going to do instead is I'm going to expand that selection by five or six pixels just to make sure that I get all of that cow for in my selection and then I'm gonna widen my selection so that I get a little bit of the grass as well it's just going to make the tool do a better job of filling it with the background for you fi include a tiny sliver of background if you have it if this cow was touching this other count we would have a heck of a time getting this to work so I'm gonna go up to this select menu and we're gonna choose modify expand and I'm gonna put in depending upon the pixel dimensions of your image this one is fairly small in size so I can get away with a lower number if you're dealing with a larger pixel dimension image at home than you may need to increase this number to get a good expanded selection going on, so I'm gonna expand this by about six pixels, see how the selection is popped out a little bit, so now I'm assured that I don't have any cow hairs outside of that selection. Now we're ready to go up to the edit menu and choose phil, and from the eu's poppet menu, you're gonna pick content aware, leave everything else just like it is and watch it pair of my screen when I click ok, cowboy gone, indeed, so it did an incredible job of getting rid of our cow, so now we're finished with our selection, we don't need it anymore, so we can diesel elect by pressing command or control d, and I think I see the faintest outline of a cow foot. So what can I do? Pop over to my spot healing brush set to content aware, and I can quickly paint over the leftover vestiges of the cow, and now I've created room for text for my funky ad, so let's do that one one more time? I'm going to go ahead and delete the two layers that I've created for you, so that we're back torto cow photo, so because the cow and wanted to leave is near the cow we want to keep these air sentences is such a treat because these air sentences you don't usually get to make the cow we want to delete is near the cow we want to keep also rhymes on the poet and didn't know it were must be friday ok, so we're going to duplicate the image layer because the cow we want to get rid of is too close to the cow we want to keep, so we need to create a selection of him first and then used the edit phil command okay? So used to spot hailing brush when you've got plenty of free background space around the item you want to get rid of, use the and it filled man when you've got something else you want to keep next to the other item, so we're going to go ahead and duplicate our layer by pressing command or control jay, we'll name him cal be gone it's gone begun cow be gone now we need to create a rough selection of the thing we want to get rid of. So we're going to do that using the quick selection tool. Zoom in a little bit so you can see what you're doing by pressing command or control plus and remember when you're using this quick selection tool the size of the area, that photo shop is automatically grabbing to try to help you select the thing it's guessing you want to select the size of the area is related to the size of your brush cursor, so if you're using a big old honkin brush than you to select the whole photo, so if that's happening to you, go down and brush size, so once you get a decent selection of the item now, we're going to expand it just to make sure that we got all of it in there and to include the faintest sliver of background, which just helped is this command do have a little bit better job, so tried up to the select menu, choose, modify, expand and again if your image that you're working with at home is large and pixel dimensions, you may have to use a larger number than I am here, but if you paid for the course and you're working with these exercise files, then you can get away with, uh, six pixels for the expansion. So now our selection is popped out a little bit more. We're ready to go up to the edit menu and she's phil and from the eu's poppet menu, you want to choose content aware and again, this is on ly inversion c s five click ok and that's it get rid of your marching ants, you're finished with them by de selecting suppressed commander control d and this time we didn't have any any cow foot hanging around, so we didn't have to switch back to the spot haley brush to fix it so really great tool it was one of the most exciting features in the upgrade cs five that in the refining dialog box smart radius that we looked at tio extract the lady with the blond hair from her background those two features air or just huge in the program any questions on using content? Aware feel can we have some questions going back that last few images? Um I think starting with the landscape, I think the snow with snow photo um t wildlife had asked which technique is best for removing sensor despots in landscape and sky and a follow up question from barbara j is there a method for batch for moving dust from multiple images? You can do that in camera wrong software, I believe. Yeah if you've got a dust on your sensor so you've got a a maddeningly repeating spot on every single photo you can in your shooting in raw, you can fix that in adobe camera raw software. Yeah, there is a there's an adjustments brush kind of liken healing brush there that you can fix that and you can say do this on all of these photos so you would do that on camera wrong question from our friend regular laurie iten can you use a layer math to protect portions of the image before you do a content and where, phil, when you use a layer mass to protect portions of the image before you do a content aware phil, I'm gonna saying no yeah, not really sure what the purpose that would be because if you're if you're doing this on a if you're doing it on spot with a spot mainly brush than you're doing your fixing on an empty later if you're doing it with the edit feel command you're doing on a duplicate layer so I'm I'm not understanding what the knee would be to protect an area of the image did you have a question I was about to ask and then I realized you can paint it back um if there's something like if there were tall grass on the cow's foot that you didn't want to lose for some reason um it would go with the cow but you could paint it back in right you could get that can you going back to the photo in greece dorian and asked how would you remove power lines from a more crowded scene like a row of houses and then make trip had asked about uh power lines crossing trees, another complicated background you could use a combination of the spot hailing brush you know, clicking and dragging with it and the clone stamp tool no. You. You might have a go with the spot hailing brush set to content where, phil, and then go back in and fix the areas like where the parallel, when across the tree, in that kind of thing, with the clone stamp toll to recreate that texture back if you needed to you. Because again, with a clone, stamp told there's. No blending going on. So you can have retrieve some texture that you might have lost by using the spot healing brush in those areas with the clone stamp tool in the clothes stamp tool will work on empty layers as well. So you can use the same. Uh, do you're fixing on an empty layer trick that we've been using with the healing tools with the clone stand tool? Also?

Class Description

In this special photoshop tutorial, you'll dig into Adobe® Photoshop® CS5 with Lesa Snider, author of Photoshop® CS5: The Missing Manual. There is so much to cover in Adobe® Photoshop® CS5 that we need almost a week to cover everything. In this special 4-day workshop you'll dig into Adobe® Photoshop® CS5 with Lesa Snider, internationally acclaimed instructor and author. Lesa is informative yet entertaining with a unique way of explaining difficult concepts so you understand the "why" behind the "how". Get ready to spend a fun, high-energy week digging into the power of Photoshop.

Software Used: Adobe Photoshop CS 5.1


1Introduction: Nitty Gritty Basics + Layers 2Workspace Overview 3Q&A: Workspace 4The Truth About Resolution and File Formats 5Changing Resolution Without Changing Quality 6Q&A: Resolution and File Formats 7Resizing with the Crop Tool 8Cropping with the Ruler Tool 9Resizing with Content-Aware Scale 10Resizing for Print/Web 11Layers and Layer Types 12Duplicating, Moving, and and Aligning Layers 13Q&A: Layers 14Creating Reflections 15Layer Alignment Tools 16Simple Slimming Technique (Resizing Layers) 17Colorizing a Black and White Image 18Creating a Solid Color Fade with Fill Layers 19Layer Masks: Hand Painted Image Collage 20Layer Masks: Gradient Mask Collage 21Layer Blend Mode Collage (Include Load Images as Stack) 1Using Selections Part 1 2Using Selections Part 2 3Q&A: Selection Tools 4Color Selections: Fixing Animal White Eyes 5Tightening Up Layer Masks 6Painting Selections with QuickMasks 7Using Vector Drawing Tools 8Vector Shapes: Creating an Oval Vignette 9Vector Shapes: Rounded Edges to Photo 10Use Channels to Create Selections 11Tough Selections Around Hair & Fur 12Refine Edges Part 1 13Refine Edges Part 2 14Creative Edges on Photos 15Embellishing with Vector Art 16Creative Vector Photo Frames 17Editing Smart Objects 18Smart Objects Template: Creating Dark Edge Vignette 1Smart Objects: Selective Blurring 2Smart Objects: Selective Sharpening 3Sharpening with the High Pass Filter 4Q&A: Sharpening 5Auto Color Adjustments 6Shadows and Highlights 7Using Levels 8When to Use Smart Objects 9Using Curves 10Lightening and Darkening with Blend Modes 11Enhancing Eyes and Teeth 12Changing Colors with Hue/Saturation 13Changing Colors by Hand Painting 14Faux Dodge/Burn: Reduce Wrinkle 15Color to Black and White 1Healing Brush 2Content Aware Fill 3Using Text in Photoshop 4Designing with Baseline Shift 5OpenType Fonts 6Placing Text Behind an Object 7Barely There Text: Faded and Hollow Text 8Pushing Photos Through Text 9Adding Texture to Your Text 10Convert Text to Paths 11Combine Images using Advanced Blending 12Realistic Photo Aging 13Faking HDR 14Wrapping Texture Around an Object