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.
Build your own Vim statusline
Statuslines in Vim are not hard to create. Making your own means one less dependency in your life.
Custom Vim Bindings in tmux 2.4
tmux 2.4 made a significant change to key bindings. Here is how to support custom keybindings for versions before and after tmux 2.4
Using template files in Vim
Vim templates or skeletons, allow you to specify a template to be used for new files with a certain extension.