In this tutorial, I will show you how to qualitatively remove any object in the photo, using several cloning techniques. You will learn how to use tools like fill. Content-Aware (Given the content) Patch Tool (Patch), Clone Stamp Tool (Stamp), as well as copy and paste fragments of photos.
How to use fill with content
Open in Photoshop photo with a woman File – Open (File – Open). I will work directly on the original photo, but you can copy it (Ctrl + J) and work with the duplicate.
Now we activate Lasso Tool (L) (Lasso). Check that the mode is active on the top panel. New Selection (New selection).
With the help of Lasso create a selection around the woman.
This is my selection:
Then go Edit – Fill (Edit – Run Fill) and in the settings select Content-Aware (Given the content).
When finished, click OK. Then press the key combination Ctrl + D to deselect, and see the result.
How to use the patch tool
Next we will delete the pointer on the wall using the tool. Patch Tool (J) (Patch). Activate it and check that the mode is selected. New Selection (New selection), Patch (Patch) is set to Normal (Normal) and active Source (A source).
Now use the mouse to select the pointer, as shown below.
Without removing the selection, move the cursor to any area of the image that is suitable for overlapping. For example, I shifted the selection to the right to an area suitable for cloning and released the mouse button. The Patch tool automatically clones the selected area and overlaps the selection.
You can move the selection up, down, left or right and then release the mouse button.
As you can see, in just a few minutes we deleted two objects in the photo using basic Photoshop tools:
How to use the stamp tool
We open in Photoshop a photo with the old man. Duplicate (Ctrl + J) the original layer and call the copy “Cut object”. Via Pen Tool (P) (Feather) we select a man and add a mask to the layer Layer – Layer Mask – Reveal All (Layer – Layer Mask – Show All).
Next, we need to expand the selected area, as I did in the lesson on blurring the background. Hold down the Ctrl key and left-click on the mask thumbnail on the layers panel to load the selection of the man. Select the original layer and turn Select – Modify – Expand (Allocation – Modification – Expand). In the window that opens, enter 5 pixels and click OK.
Now, to remove a man, apply to him fill Content-Aware (Given the content), which we used at the beginning of the lesson.
The main photo object is cut out on a separate layer, and we can continue to remove the excess from the original layer.
Activate Clone Stamp Tool (S) (Stamp) and check that the parameter Sample (Sample) was set to Current and Below (Active and below). This feature will allow us to work on an empty layer, while taking cloning samples from the layer below.
Hit Ctrl + Shift + N to create a new layer, which we call “Clone”. Place it above the original layer and with the Stamp we begin to clone the tile. To take a sample, hold down the Alt key and click on the area that we want to clone, then draw a brush over the section with details that need to be hidden.
Below you can look at my result with the finished bottom:
Via Rectangular Marquee Tool (M) (Rectangular selection) select the top of the door. Copy (Ctrl + C) the selected area and paste (Ctrl + V) it onto a new layer.
Using the free transformation (Ctrl + T) we stretch the copied part down to the very bottom of the door. To do this, pull the lower center anchor point.
Add a mask to the layer with a part of the door and a black brush. (B) use the mask to remove the area that blocked the handle on the original photo.
Nondestructive removal of any objects
Before continuing, I want to show you one trick that will allow you to clone a region without editing the original layer.
First we create a combined copy of all layers (Ctrl + Alt + Shift + E).
Above this copy, we add a new layer and continue cloning on it, while we do not touch the original layer, which remained with us as a backup. Just check that when working as a stamp on the options bar Sample (Sample) was set to Current and Below (Active and lower), as was the case in Step 2, so that we can take a sample for cloning from the layer below.
In case you want to return to working with those layers that are below the merged copy, simply delete this copy. In the next step, I will work with the combined copy to hide the remaining details of the motorcycle.
We continue to remove the motorcycle.
We start from the back. Clone part of the wall and block the trunk of the motorcycle.
Remove the central part of the motorcycle:
As you can see, the bike almost disappeared:
We did our best and almost got the desired result. However, the lower limit of the door is still flawed. To fix this, I will use the original layer.
Duplicate (Ctrl + J) the layer “Cut object”, which is currently turned off. After copying, we move the copy under the original and turn on its visibility by clicking on the button with the eye near the layer name. Click on the copy mask and fill it with black to completely hide all the details. Now with a soft white tassel (B) restore the original lower part of the door.
Next we need to remove the rest of the wheel. To do this, we use all the same Clone Stamp Tool (S) (stamp).
Here is the result I got:
Turn on the visibility of the “Cut object” layer with a man. Additionally, I restored the shadow of the men’s shoes using the original layer, as we did in the previous step. But with the shadow, work very carefully to get a smooth transition without sharp boundaries.
You should get this result:
Below you can look at other examples in which I used the cloning techniques described above: