Home  >  Article  >  Web Front-end  >  photoshop remove background

photoshop remove background

高洛峰
高洛峰Original
2017-02-22 09:31:4513653browse

This tutorial was written a long time ago. I found it after sorting out my computer. Anyway, I wrote it, so I’ll post it here. The Photoshop CS version used in this example.

Note: There are other simpler processing methods for the pictures in this tutorial. Here I just use this picture to talk about the more general channel cutout method.

Comparison of before and after effects

When processing pictures, cutout is a common problem that everyone encounters. For those with neat edges and strong pixel contrast, you can use Use the magic wand or path tool to cut out the image. But for characters with long hair, it’s impossible to use these tools. In fact, there are many ways to cut out pictures, and different pictures have different cutout methods. Below, the author recommends one of the most commonly used and most effective methods to everyone - the channel cutout method.
Tips: The channel cutout method uses the channel information of the image itself to select the part that needs to be cut out.

1. Start Photoshop, import the picture to be processed, click the "Pen" tool, set the properties

photoshop 去掉背景

and outline the main body of the person in the picture. . Be careful not to get the broken hair caught in it, because it will be specially processed later.
Tips: When using the "pen" tool to draw the picture, move it slightly inward so that there will be no edges in the final product.

2. Select "Window → Path" to open the "Path" panel. At this time, you will find that there is an additional "Working Path" in the Path panel. Click the "Load Path as Selection" button to close it. The path is converted into a selection.
photoshop 去掉背景

3. Select "Window → Layers" to open the layers panel, click on the "Background" layer, right-click, click the "Copy Layer" command to create a new "Background Copy" ". Click "Background Copy" and click the "Add Layer Mask" button

photoshop 去掉背景

Tips: Layer masks are easy to change and cannot be changed. Destroy the advantages of the original layer.


4. Select "Window → Channel" to open the "Channel" panel, drag the "green" channel to the "New" button under the channel panel, and make a copy

photoshop 去掉背景

Tips: In principle, you should choose a channel with a large contrast between light and dark for copy processing. The "blue" channel of this picture has a greater contrast between light and dark than the "green" channel, but due to the quality of the picture The reason is that there is a loss in the "blue" channel, which will affect the final cutout effect. If the quality of this picture is very high, the "blue" channel is the best choice.

5. Click "Green Copy" and press the shortcut key Ctrl+L to adjust the color levels. Pull the black slider on the left to the right, and pull the white slider on the right to the left. This reduces the For the mid-tone part, increase the dark tones and highlights to make the hair and background well separated
photoshop 去掉背景

6. Press the shortcut key Ctrl+I to invert the "Green Copy" channel, and click " "Brush" tool, attribute settings

photoshop 去掉背景

Use a black brush to blacken the area outside the hair (that is, the areas that do not need to be selected), and then use a white brush to Apply white where needed in the hair.

7. Click the "Load Channel as Selection" button on the "Channel" panel to get the "Green Copy" selection.


photoshop 去掉背景

8. Return to the "Layer" panel, double-click the "Background Layer" and change it to a normal "Layer 0" ”
photoshop 去掉背景

9. Click the “Add Layer Mask” button to add a layer mask to “Layer 0”

photoshop 去掉背景

This beautiful MM is separated from this picture.


Tips: If there is a bad connection between the subject and the hair, you can use a black brush to process the mask. This is why I chose the layer mask at that time.
All the work is done now, now you can paste the cut out MM into any background.

Tips: When changing the background for MM, pay attention to whether the direction of the background light source and the character's lighting direction are consistent to ensure coordination and not look stiff.

For more photoshop background removal related articles, please pay attention to the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn