Adobe Photoshop CS5 for Photographers - Martin Evening [190]
Figure 8.11 This shows a before version (top) and after version (bottom), where I had used the spot healing brush in Content-Aware mode to retouch this photo.
Figure 8.10 The spot healing brush Options bar with the Content-Aware mode selected. You can see here the various modes available for the spot healing brush.
Content-aware filling
Content-aware blending is also available as an Edit Fill menu option. This means that you can create a selection and use the Edit Fill command to let Photoshop work out how best to fill in the gaps in the selection. As you can see in the example shown here, the result was not bad considering Photoshop was using the surrounding image data to replace about a third of the original image. Content-aware filling can usually do a good job of working out which are the best pixels to sample and constructing a fairly convincing fill, but it is inevitable though that further retouching work may sometimes still be required. It is also recommend that you expand the selection slightly before applying a content-aware fill. You can do this by using the Refine Edge command or go to the Select menu and choose Modify Expand.
New Delete options
If you make a selection on a Background layer, or a flattened image, and hit ‘Delete’, you'll see a Fill dialog box pop up. This allows you to choose how you wish to fill the selected areas and will have ‘Content-Aware Fill’ selected by default. In the past, hitting ‘Delete’ with a Background layer selected would fill the selected region using the current background color. If you want to bypass this behavior, you can use to fill using the background color.
1.
Here is a photograph I took of a Punch and Judy booth on a beach. The first step was to use the quick selection tool to define the outline of the Punch and Judy booth (this didn't need to be too precise). I then clicked on the Refine Edge… button in the Options bar and expanded the selection edge using the settings shown here.
2.
The next step was to go to the Edit menu and choose ‘Fill…’ (or, you may find it easier to use the shortcut). This opened the Fill dialog shown here where I selected ‘Content-Aware’ from the pop-up menu in the Contents section. It may take a minute or two for the processing to complete and as you can see, the initial result was not bad, even if it had failed to make a perfect fill in one single step.
3.
As with the patch tool example, you are always going to need to carry out further retouching work in order to produce a convincing looking retouch. In this instance I needed to carry out some additional retouching using a combination of the standard healing brush and clone stamp tools. The main point to make here is that this type of image manipulation, in which a huge chunk of the picture was removed, was only possible thanks to the power of the new content-aware filling algorithm.
Content-aware fill and Puppet Warp
I imagine some people