The Healing Brush is similar to the Clone Stamp Tool in that it is used to sample from an image to correct or enhance other areas of the image. It samples the colour, luminosity and texture of the source area separately and blends it with the destination area. This means you can get excellent results without having to do things manually.
If you simply want to remove something from an image and the background is fairly consistent you can do it using the Spot Healing Brush. The example below shows a photo on Flickr by Juvetson. Lets say I want to remove the Raptor from the photograph. Select the Spot Healing Brush and make sure the brush is bigger than the area you want to replace and click. With one click it is removed. You may need to play with the settings to get things perfectly right but it generally does a very good job.
The Healing Brush is perfect for correcting minor blemishes on images. It is more intelligent than the clone tool and is likely to save you time.
The image below contains a blemish on the spine of the green book. To correct it select the Healing Brush Tool. If you are using keyboard shortcuts hit J to select the tool.
You will need to select an appropriate brush size. Beware that the Healing Brush Tool spreads by around 10 pixels. In this example I chose a small brush so that the two books either side of the green one were not selected.
Find an area of the picture that is similar to the blemished area and then hold down alt. You will see the icon change to a target. Click the mouse to define your target area. Then return to the blemished area and click and drag to repair the blemish. Depending on the image you may need to resample as you go.
The Patch Tool allows you to select and patch areas of the image. It is more intelligent than simply copying and pasting a selection. Select the Patch Tool from the Healing Brush menu. In the menu bar at the top you will see the familiar selection options. Next to these are the most important options for this tool: Source and Destination.
In this great photo from Flickr by Fast Eddie 42 I am going to remove the figure. Using the patch tool I choose source and outline the figure. Then I drag and move the selection left. This Patches the space to remove the figure. Hit Apple + D or CTRL + D on Windows to cancel the selection and see the result.
The Red Eye Tool is simply for removing red eye. It is extremely easy to use. Select the tool and zoom in on the eye. Click in the area of the eye that needs correcting. It should correct the red eye. Simple!
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Using HashiCorp Vault with LDAP
How to use HashiCorp Vault to setup an LDAP backed secret store with read-only access for users in groups and read-write access for specific users
Linux and Unix xargs command tutorial with examples
Tutorial on using xargs, a UNIX and Linux command for building and executing command lines from standard input. Examples of cutting by character, byte position, cutting based on delimiter and how to modify the output delimiter.
Copy a file in Go
How to copy a file in Go. The ioutil package does not offer a shorthand way of copying a file. Instead the os package should be used.