Publishers of technology books, eBooks, and videos for creative people

Home > Articles

This chapter is from the book

Removing Spots, Fungus, and Mold

So far the techniques shown are useful for applying global changes to damaged images. Now it’s time to get down into the mainstay of restoration work: the Clone Stamp tool and the healing tools.

Using the Clone Stamp Tool

Since the earliest days of Photoshop, the Clone Stamp tool has been the go-to tool for restoring and repairing images. It is basically a copy-and-paste brush, with a sample being taken from a good part of the image and painted over a damaged part.

logo.jpg ch5_dustyman.jpg

Notice the minor amount of dust throughout the picture. The dust spots are larger than some of the details in the image. The Despeckle, Median, and Dust & Scratches filters would blur important details before the dust spots could be hidden. So it’s time to roll up our sleeves to conceal bothersome dust.

  1. In the Layers panel, click the New Layer icon (FIGURE 5.38).

    FIGURE 5.38

    FIGURE 5.38 This typical old image shows some minor dust spots. Create a new empty layer on top of the Background layer for nondestructive cloning.

    © Palmer Family Archives

  2. Choose the Clone Stamp tool from the Tools panel, and in the options bar select Current & Below from the Sample menu. This will place all cloning onto the new layer and keep the Background layer untouched.

    The Clone Stamp tool has two options for where it pulls its sampling point from: aligned and nonaligned. With the Aligned option unselected, the Clone Stamp tool will repeatedly pull information from the same sampled point. With the Aligned option selected, the sampling point will keep relocating, moving in tandem to the position of the cursor.

  3. Select Aligned in the options bar so that the cursor doesn’t always sample from the same area, which is the best choice for most pictures. Sampling from the same spot repeatedly may create an unnatural-looking pattern.

  4. Choose a brush size slightly larger than the spot to be removed. Wayne prefers a brush with the hardness set to 0. Hard-edged brushes generally will leave visible unnatural lines in the image, giving the appearance of a finger running through wet paint.

  5. Move the cursor to an area that would be a good replacement for where the spot is. Press Option/Alt. The cursor will take the appearance of a target. Click to sample that area, and release the key (FIGURE 5.39). Move your cursor to the spot to be removed and click again. Notice that the sampled area is visible inside the brush, allowing for precise placement of copied material.

    FIGURE 5.39

    FIGURE 5.39 Choose an area to sample that looks similar to what is being covered up.

  6. Repeat the process throughout the image, resampling as necessary. Choose the resampling point carefully so that it matches the area you’re trying to repair. Adjust the size of the brush to match the size of the spot being removed. Use the tool in a dabbing fashion, as opposed to a brush stroke, and resample frequently to avoid a smudgy look or pattern buildup in the image.

With all the changes being placed upon the newly added layer, the Background layer is unchanged. Work can be evaluated by turning the clean up layer off and on (FIGURE 5.40). If some of the cloning does not look realistic, use the Eraser tool to erase that area of cloning and try again.

FIGURE 5.40

FIGURE 5.40 As the changes are made on a separate layer, they can be erased if the look is not satisfactory.

The blending mode of the Clone Stamp tool can be changed to lighten or darken so that only light or dark spots are removed. In this image, switching the blending mode to Lighten makes fast work of removing the dark spots and ultimately changes less of the picture (FIGURE 5.41).

FIGURE 5.41

FIGURE 5.41 Using the Lighten blending mode with the Clone Stamp tool targets only spots that are dark.

The Clone Source Panel

With the Clone Stamp tool, every time a new sample is taken the previous sample is replaced. There may be times when it would be beneficial to have more control over the Clone Stamp tool. For example, you might want to reduce the size of the clone source you paint with so that the cloned pixels better match that part of the image you are fixing. With a clone source captured in the Clone Source panel, you can adjust additional settings, such as angle and size. Once they’re set, painting with the Clone Stamp tool applies these settings for the active clone source.

The Clone Source panel is not visible by default. Choose Window > Clone Source or click the Clone Source panel icon in the options bar to show it. The Clone Source panel provides an option to save up to five different sample points. These points do not have to come from within the image you are working on. Just as with the Clone Stamp tool, you can sample from another opened image.

The image in FIGURE 5.42 is in need of plenty of stain removal, but perhaps the most troubling part is one is that one eye is partly obliterated. By choosing the good eye as the source and flipping it in the Clone Source panel (FIGURE 5.43), the bad eye can be covered up. Additionally, brushes do not always have to be round, and by changing the roundness to more oval in the Brush panel (FIGURE 5.44), a better clone source was sampled. By cloning onto an empty layer, the eye can be further nudged into place with the Move tool and arrow keys.

FIGURE 5.42

FIGURE 5.42 This image’s most noticeable damage is to one eye.

© Palmer Family Archives

FIGURE 5.43

FIGURE 5.43 The Clone Source panel can flip the source.

FIGURE 5.44

FIGURE 5.44 Brushes do not have to be round; in the Brush panel a more elliptical brush is better for cloning the eye.

The Clone Source panel also offers options for rotating and scaling the sampled source, as well as options for how the brush is viewed. Having the ability to scale or rotate a sample source can be useful when retouching, as it allows you to select sample points from an area in the image that does not precisely match the size or angle requirement for the dust or scratch you are trying to remove. Adjusting the settings for the clone source allows you to better match the size or angle requirement when using the Clone Stamp tool.

Using the Healing Tools

The healing tools (Spot Healing Brush, Healing Brush, Patch, and Content-Aware tools) differ from the Clone Stamp tool in that rather than simply painting duplicate material, they generate the replacement information by analyzing the surrounding areas, and the result maintains texture and tone. On first examination, the healing tools seem like they would replace the Clone Stamp tool, as they seem to be the Clone Stamp tool on steroids, but they are different tools with their own strengths and weaknesses, and they repair images in different ways.

Spot Healing Brush Tool

The Spot Healing Brush tool, as implied by the name, is designed to remove spots, isolated areas such as bothersome wires, and skin blemishes (FIGURES 5.45 and 5.46). With the Spot Healing Brush tool you do no need to determine the sample point like you do with the Clone Stamp Tool. Simply paint with the Spot Healing Brush over the spot you want to remove. When the mouse button is released, the area inside the brush is filled with surrounding material from outside the brush. Click with the Spot Healing Brush tool to quickly fix spots, or use a brush stroke on larger areas. The longer the stroke, the larger the area the brush samples, and sometimes this creates bizarre results, which you can undo with Cmd-Z/Ctrl-Z. Additionally, different results are obtained when painting in different directions.

FIGURES 5.45

FIGURES 5.45 and 5.46

© Palmer Family Archives

logo.jpg ch5_spotted_man.jpg

  1. Select the Spot Healing Brush tool. Since the healing tools are grouped, you may have to cycle through the healing tools by pressing Shift-J to bring up the Spot Healing Brush.

  2. To work nondestructively, create a new empty layer above the Background layer, and select Sample All Layers in the options bar.

  3. Locate spots in the image, and with the Spot Healing Brush tool click or drag over the spot and release (FIGURE 5.47). Be sure to totally include the spot to be removed within the brush stroke for the best result. Use caution when running this tool along areas that you want to preserve, like the nose and collar. Accidentally painting into these areas can create a smear. Thankfully, any of the fixes can be undone with Cmd-Z/Ctrl-Z or by switching to the Eraser tool and erasing the less-than-optimal repairs.

    FIGURE 5.47

    FIGURE 5.47 The damage in this image will be more easily tackled with the Spot Healing Brush tool.

  4. In this example, the spot that runs over the man’s collar and into the neck is beyond what the Spot Healing Brush tool can successfully fix. It will smudge the image. Switch to the Clone Stamp tool for precise repair to maintain the line of the collar. The repair can be put on the same layer.

You might notice that in a number of areas the grain pattern has been disturbed and there are areas that look smooth (FIGURE 5.48). Depending on the size of the output, this may not be noticeable. Save this image as a PSD, and name it spot_repair.psd. Later, we’ll explain a technique for putting grain back into an image.

FIGURE 5.48

FIGURE 5.48 Repairing an image can remove its grain, giving it a smudged look, as on the left side of this image.

Healing Brush Tool

The Healing Brush is best used to repair larger areas of damage and when you need to control where the source information is sampled from. Operate the Healing Brush the same way as the Clone Stamp tool. Start by Option/Alt-clicking to sample, and then brush over the area to be fixed (FIGURES 5.49 and 5.50).

FIGURES 5.49

FIGURES 5.49 and 5.50

© Palmer Family Archives

logo.jpg ch5_brother_sister.jpg

  1. Create a new empty layer.

  2. Select the Healing Brush tool, and select Current & Below from the Sample menu in the options bar.

  3. Look at the different size scratches and set a brush size a bit larger than the scratch or dust spot to be removed.

  4. Move the cursor off to the side of the scratch or dust spot and a bit to the left of the damage. Press Option/Alt, and then click to sample the good information.

  5. Drag over the area to heal. After the stroke is made, the healing process will take place. Try not to clean up too much in one stroke. Keep in mind where the Healing Brush tool is pulling information from. If it does not match the area to be healed, erase and try again; only a small change is being made on the layer (FIGURE 5.51).

    FIGURE 5.51

    FIGURE 5.51 The view of the top layer with the background layer turned off after all the repairs are done.

  6. Frequently sample areas that resemble what is to be repaired. In the little girl’s dress, sample the polka dots to make that pattern in the heal.

  7. In the boy’s shirt, change the blending mode for the Healing Brush tool from Normal to Lighten in the options bar so that only the dark areas are changed. Likewise, change the blending mode to Darken to fix the light scratches against the dark background.

The beauty of the Healing Brush tool is how well it blends in the surroundings. If there are any noticeable abnormalities, resample and run the brush again with a different size; however, the more strokes taken to remove an object, the greater the chances of creating a patterned or altered look.

Filters, Clone Stamp, and Healing Brush Team

Now that the basics are covered, you can clean up images by teaming up the filters with the Clone Stamp and Healing Brush tools to get the best out of each.

The Dust & Scratches filter can be used for large unimportant areas. The Clone Stamp and Healing Brush tool work in different ways. Use the Clone Stamp tool for details and areas that need to be preserved, such as spots or smudges that cross areas of different shading of fine detail, and use the Healing Brush tool for less important areas, such as spots in the background.

Patch, Content-Aware, Move, and Red Eye Tools

The other tools grouped with the Spot Healing Brush tool are designed for tackling issues other than dust, cracks, or blemishes The Patch tool uses the Healing Brush engine without the need to sample or brush and is best used to repair larger damaged areas.

The Content-Aware Move tool provides the option to move an object or person within a picture and have Photoshop fill in the area it was moved from. Both of these tools are covered in greater detail in Chapter 6. The last tool in this nested bunch is the Red Eye tool, discussed in Chapter 8. It eliminates the demon eyes so commonly found in flash pictures taken with point-and-shoot cameras.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020