As a beginner, everyone faces the same problem of removing the background from hair in an image when editing a photo of someone in any photo editing software. It becomes a challenge if one doesn’t know how to resolve this issue.
Here in this tutorial, we are going to be learning how to remove the background from hair in Photoshop CC and going to give it a completely new background. Thanks to our photoshop clipping path team.
Now let’s start the hair background removing step by step tutorial :
Below an image of the interface of Photoshop CC with a sample image for work is given:
Now open the layer tab and create a duplicate of background layer because if anything goes wrong while working, you will have a backup background copy to start over again. To create the duplicate layer, go to the layer option and press mouse left click on the background layer and then press Ctrl+J. Now switch off the background layer by clicking on the eye option.
We can give the layer a new name like Cut Out.
We are going to use background eraser tool in this project. Select the Background Eraser Tool.
Now time to adjust the brush size. From the drop-down option just like the given photo, you can adjust the brush size bigger or smaller. And to control the hardness or softness of the edge of the brush you can use the hardness option. For this image choose 50% hardness that will provide the right softness to the edge of the brush.
Set the Limits to Discontiguous from the drop-down menu which is shown below in the image.
Now adjust the Tolerance option. This option is a bit difficult to set because you don’t know what would be the limit of the tolerance. It may cost you some time to make sure the exact adjustment by putting variables. After going through a few options you will easily figure out what could be the right tolerance for your image. Like for this image that we are using for this project needs 30% tolerance to get the desired outcome. For different images, the numbers may differ.
The next step is to check the box of Protect Foreground Color. Now you have to select the foreground color. And now select the color which for this image I have picked from the hair color of the model and chose it. For this image, the color is brownish orange color. Follow the steps given below through the images.
Now, as you have set up all the options according to the need of the editing, click on the left button of the mouse and hold it, and move the brush on the background of the image just like the provided example that I have given below and watch how the background disappears like magic.
Hold the left mouse button and keep painting over the image to erase every inch of background. As you have chosen the foreground color picking from the hair your image hair color is protected you can see that easily.
When the left side of the background of the image is completely erased, repeat the same thing on the right side of the image.
If you notice you will see that the right middle side of the image where the part face and part earring are getting burned or flashed out unfortunately due to erasing the background. Press Ctrl+z and undo that part. Select the Erase Tool and erase the rest of the Background manually. By using the left and right square bracket of your keyboard you can change the size of your brush easily.
Do not forget to make your brush size smaller when doing the edges otherwise it will erase the solid portion of the subject you are supposed to keep safe. So, after the completion of the erasing part of the background, your image will look just like this with a transparent background.
You can see there are bits of the background left down the side of the image. Let’s create a new layer and drag the new layer under the Cut Out layer.
Now select any color. Let’s choose a vibrant color like orange.
Click fill with the Fill Tool. Below image is going to be the result of the process.
Now again select the Cut Out layer and select the erase tool again. As you can see the previous left background portions clearly, you can erase those portions easily. You can also see the textures above mid space of the image. So we have to erase that too using the erase tool. Use the feather option of the erase tool with 0% hardness when erasing the hair edges until the background is completely orange. Follow the steps by watching the image given below.
Zoom out as much as possible to erase more perfectly. Look at the image below and you can see the defects left. Without zooming you cannot even see the problems still left there in the image.
After the erasing part is done zoom in the photo and watch the result.
Now click on the eye option to turn off the orange layer and watch the model cut out onto a totally transparent background. Or we can turn the orange layer to white. Just press Ctrl+u on the keyboard and the small dialogue box of Hue/ Saturation will pop up on the screen like below.
Now drag the lightness all the way to 100 percent and it will give you a white background like the image below.
You can keep the layer separate or you can merge them together. You can select both layers and click the right mouse button and select merge layers.
After merging the two images if you click on the eye like option beside the layer and turn it off, you will see the old image. If you turn it on again you will see the present edited version of the model image is back on the surface.