The patch tool and content-aware filling



Similar documents
Movie 11. Preparing images for print

How To Sharpen A Picture With A Camera Raw Sharpening Effect On A Black And White Camera Raw Image Sensor

VIRGINIA WESTERN COMMUNITY COLLEGE

Adobe Illustrator CS5 Part 1: Introduction to Illustrator

Create A Collage Of Warped Photos

How to rotoscope in Adobe After Effects

ACADEMIC TECHNOLOGY SUPPORT

Photoshop- Image Editing

Adobe Certified Expert Program

MASKS & CHANNELS WORKING WITH MASKS AND CHANNELS

Optimizing Adobe PDF files for display on mobile devices

Working With Animation: Introduction to Flash

m ac romed ia Fl a s h Curriculum Guide

Graphic Design Basics Tutorial

Photoshop 5.5 Hotkey Table

ACE: Illustrator CC Exam Guide

Snagit 10. Getting Started Guide. March TechSmith Corporation. All rights reserved.

Window's Paint Tools

How to create pop-up menus

Digital exposure-based workflow Digital Imaging II classes Columbia College Chicago Photography Department Revised

Adobe Training Services Exam Guide. ACE: Illustrator CS6

Overview of the Adobe Flash Professional CS6 workspace

Billboard Tutorial. NOTE: The first Image is actually transparent any where you see white. The last picture actually IS white.

Creating Interactive PDF Forms

Highlight Recovery in Camera Raw

Creating Hyperlinks & Buttons InDesign CS6

Hypercosm. Studio.

Creating PDF Forms in Adobe Acrobat

Klaus Goelker. GIMP 2.8 for Photographers. Image Editing with Open Source Software. rocky

Sage Timesheet Web Access How To Use Timesheet

SMART Ink 1.5. Windows operating systems. Scan the following QR code to view the SMART Ink Help on your smart phone or other mobile device.

50 Cragwood Rd, Suite 350 South Plainfield, NJ Victoria Commons, 613 Hope Rd Building #5, Eatontown, NJ 07724

Printing Guide. MapInfo Pro Version Contents:

ADOBE CONNECT 8 USER GUIDE. Colorado Department of Labor & Employment

Adobe InDesign Creative Cloud

Converting an AutoCAD Drawing into PDF File

Making TIFF and EPS files from Drawing, Word Processing, PowerPoint and Graphing Programs

MapInfo Professional Version Printing Guide

Business Objects InfoView Quick-start Guide

Adobe Dreamweaver CC 14 Tutorial

How to Mail Merge PDF Documents

How to create and personalize a PDF portfolio

Graphic Design. Background: The part of an artwork that appears to be farthest from the viewer, or in the distance of the scene.

Create a PDF File. Tip. In this lesson, you will learn how to:

What s New in Adobe Photoshop CS3

OPERATION MANUAL. MV-410RGB Layout Editor. Version 2.1- higher

Printing to the Poster Printer

Introduction to dobe Acrobat XI Pro

Using Zimbra Briefcase

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002

Using FileMaker Pro with Microsoft Office

Creating Acrobat Forms Acrobat 9 Professional

ClicktoFax Service Usage Manual

QuickTime Animation Tutorial

DinoXcope User Manual

Adobe Acrobat 9 Pro Accessibility Guide: Creating Accessible Forms

Create an interactive syllabus for your students

m ac romed ia Fi r e wo r k s Curriculum Guide

Chapter 14: Links. Types of Links. 1 Chapter 14: Links

Piktochart 101 Create your first infographic in 15 minutes

After Effects CS4. Getting Started. Getting Started. Essential Training Introduction

Adobe Acrobat: Creating Interactive Forms

GFI FAXmaker 14 for Exchange/Lotus/SMTP. Fax-Client Manual. By GFI Software Ltd

Camtasia: Importing, cutting, and captioning your Video Express movie Camtasia Studio: Windows

Installing Oracle 12c Enterprise on Windows 7 64-Bit

TABLE OF CONTENTS SURUDESIGNER YEARBOOK TUTORIAL. IMPORTANT: How to search this Tutorial for the exact topic you need.

idvr-pro Viewer Software for Mac User Manual ver 0.1

WA2262 Applied Data Science and Big Data Analytics Boot Camp for Business Analysts. Classroom Setup Guide. Web Age Solutions Inc.

IDDERO HCx-KNX TOUCH PANELS. Quick start guide

QUICK REFERENCE: ADOBE ILLUSTRATOR CS2 AND CS3 SECTION 1: CS3 TOOL BOX: PAGE 2 SECTION 2: CS2 TOOL BOX: PAGE 11

Welcome to CorelDRAW, a comprehensive vector-based drawing and graphic-design program for the graphics professional.

How to resize, rotate, and crop images

Optimizing your image with Pixlr on-line photo editor

warpct.com Basic Computer Skills MS Windows XP Workbook courseware by WARP! Computer Training

EXPRESSION MEDIA EXPRESSION MEDIA 2.0 / IVIEW MEDIA PRO

TUTORIAL 4 Building a Navigation Bar with Fireworks

Cut a video into multiple short clips

PART 1 Basic Setup. Section 1.1 Direct The Strokes 1.1.1

Objects in Alice: Positioning and Moving Them

SMART Notebook 10 User s Guide. Linux Operating Systems

CHAPTER 6: SEARCHING AN ONLINE DATABASE

GOALS: The goal for this session is: OBJECTIVES: By the end of the lesson participants should be able to: MATERIALS: Instructor ACTVITIES: EVALUATION:

such as USB drives, connected servers, DVDs, CDs, configure file labels, and the information that appears in the Finder window sidebar.

Introduction to Microsoft Publisher : Tools You May Need

ACE: After Effects CC

SMART Notebook: Basics and Application

Scanning. WorkCentre C2424 Copier-Printer

Transcription:

The patch tool and content-aware filling 1

Patch tool The patch tool uses the same algorithm as the healing brush to carry out its blend calculations, except the patch tool uses selection-defined areas instead of a brush. When the patch tool is selected, it initially operates in a lasso selection mode (for example, you can hold down the OA key to temporarily convert the tool to become a polygonal lasso tool with which to draw straight line selection edges). The selection can be used to define the area to patch from or patch to. It so happens you don t actually need the patch tool to define the selection; any selection tool or selection method can be used when preparing a patch selection. Once you have made the selection, select the patch tool to proceed to the next stage. Unlike the healing brushes, the patch tool has to work with either the Background layer or a copied pixel layer. What is useful though is that the patch tool provides an image preview inside the destination selection area as you drag to define the patch selection. Source and Destination modes In Source mode you drag the patch tool selection area to a new destination point to replace the pixels in the original source selection area with those sampled from the new destination area. In Destination mode you drag the patch tool selection area to a new destination point to copy the pixels from the original source selection area and clone them to the new destination area. Use Pattern option The Use Pattern button in the Options bar lets you fill a selected area with a pattern preset using a healing type blend. 1 The patch tool works in a way that is similar to the healing brush. In this example I want to demonstrate how to use the patch tool to quickly repair a large area of an image in one go. When you select the patch tool you can use it just like the lasso tool to draw around the outline of the area you wish to patch, and loosely define a selection area. However, as was mentioned in the main text you can use any selection tool method you like to define the selection as you prepare an image for patching. 2

Transparent mode In Transparent mode you can use the patch tool in the Source or Destination mode to blend selected areas transparently. In the Figure 1 below you can see a before and after example where the patch tool was applied using the patch tool in Destination mode with the Transparent option checked. 2 Having defined the area I wanted to patch, I made sure that the patch tool was selected (and was in Source mode) and dragged inside the selection to locate an area of the image that could be used to patch over the original area (i.e. remove the matted hair). As I dragged the patch selection this created a second selection area which I could use to define the area to clone from. Meanwhile, I was able to see a live preview in the original patch selection, indicating which pixels would be cloned to this selection area. 3 As I released the mouse, Photoshop began calculating a healing blend, analyzing the pixels from the source area (that I had just defined) and used these to merge them seamlessly with the pixels in the original selection area. The patch tool repair will usually work effectively first time. If it doesn t look quite right, I suggest deselecting the selection and use either of the healing brushes (or the clone stamp) to fine-tune the result. In this final version I repeated using the patch tool to remove some of the matted clumps of hair. Jeff Schewe Figure 1 This shows an example of the patch tool applied in Transparent mode to copy an ice cube in a glass and have it blend transparently. 3

The patch tool and content-aware filling Photoshop CS5 saw the introduction of content-aware filling. This is where you can make a selection, choose Edit Fill and fill using the Content-Aware fill mode (as shown below). Now in Photoshop CS6, there is also a Content-Aware mode when working with the patch tool. The following steps show a comparison between the use of the Edit Fill command and the patch tool in Content-Aware mode. Note that when the Sample All layers option is checked, you can apply a patch tool Content-Aware fill to an empty new layer. Content-Aware Fill Very Strict Strict Medium 1 This photograph taken at sunset and you can see the shadow of the tripod and camera. To remove this from the image, I first made a rough lasso selection to define the outline of the shadow. Loose Very Loose 2 I then went to the Edit menu and chose Fill (or, you may find it easier to use the S shortcut). This opened the Fill dialog shown here where I selected Content- Aware from the pop-up menu in the Contents section. When I clicked OK, this filled the selected area. You can see the result of this fill at the top in Figure 2. Figure 2 Examples of content-aware fill outcomes using different adaptation methods. 4

3 I undid the content-aware fill, selected the patch tool and in the patch tool Options bar chose the Content-Aware option. I added an empty new layer and with the Sample All Layers option checked, dragged the selection to the left and released the mouse. With the selection still active, I was able to go through all the different options from the Adaptation menu, finally settling on the Very Loose option. You can see the results of all the different adaptation methods in Figure 2 on the previous page. 4 Here is the final version with the shadow successfully removed. 5

When you use the Content-Aware Fill feature you have no control over the adaptation mode that s used. Even so, the contentaware fill feature has been found to work well in a lot of cases. All you have to do is to make a rough selection around the outline of whatever it is that wish to remove from a scene and let the contentaware fill do the rest. Photoshop can usually work out how best to fill in the gaps in the selection and construct a convincing fill by sampling pixel information from the surrounding area. If you don t get a satisfactory result straight off, there are a couple of things you can try doing to make it work better. For example, it is recommend that you expand the selection slightly before applying a contentaware fill. You can do this by using the Refine Edge command or go to the Select menu and choose Modify Expand. It can also help sometimes if you apply a content-aware fill more than once. As you apply subsequent fills you may see the filled area improve in appearance each time you do this. You might also like to try the layer mask trick described in the sidebar. Adaptation methods If you choose the patch tool method you have more control over the content-aware fill calculations. The main advantage you have when using the patch tool is that when you drag a patch selection you have some control as to which areas you would wish the content-aware fill to sample from. This can make a big difference to the final outcome. The other thing you have control over is the adaptation method that you would prefer to use. In Step 3 on the previous page I dragged the patch tool selection to the left to indicate the area I would like the tool to sample from. After letting go with the mouse, Photoshop carried out the content-aware fill. I was then able to select different adaptation methods to see which worked best here. Note that while you can set the adaptation method first before you use the patch tool, you can also edit this after dragging the patch tool selection and review the effect this has on a contentaware fill. With the Strict method, Photoshop uses a rigid sampling from the surrounding area, while with the Loose method it tends to jumble things up more. The default setting is Medium, which is probably a good starting-point to work with. In the previous example though, I found that the Very Loose setting happened to produce the best-looking result. Training the content-aware fill To improve the effectiveness of a contentaware fill you can use a layer mask to hide areas of an image that you would rather the content-aware fill ignored when filling a selection. For example, if you start with a Background layer, double-click to convert this to a regular layer and add an empty layer mask to that layer. Then with black as the foreground color, paint with black to hide the bits you don t want the contentaware fill to pick up. Now make a regular selection and apply the content-aware fill. When you are done you can delete the layer mask to reveal the entire layer again. 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 CD LD to fill using the background color. Content-aware fill and Puppet Warp I imagine some people will want to use the Puppet Warp feature (described in the following chapter) to select an object and manipulate it directly. I therefore think the content-aware fill feature may prove very useful as a preparation step where you would select an object and copy it to a new layer and then use the same selection to apply a Content-aware fill to the original background layer. 6

Adobe Photoshop CS6 for Photographers This PDF is supplied on the website that accompanies the Adobe Photoshop CS6 for Photographers book by Martin Evening. This latest update in the Adobe Photoshop for Photographers series contains 768 pages in full color, plus a website containing video tutorials. The book contains updated advice on everything you need to know about using Photoshop, from digital capture to print output, as well as all that is new in Adobe Photoshop CS6. PDF usage This PDF extract is available to view and print. You may share this PDF file or any links to the PDF file with others, but the copyright of the material and images remain the property of Martin Evening. The contents may not be modified in any way, or used commercially without express permission from the author. Website There is a website for the book from where you can find more information and download more PDF sample pages from the book. www.photoshopforphotographers.com To order the book Adobe Photoshop CS6 for Photographers is published by Focal Press. ISBN: 9780240526041 The title is stocked in most major bookstores throughout the world and is also available to purchase from: www.focalpress.com as well as through the on-line bookstores: www.amazon.com and www.amazon.co.uk. 7