🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# 如何在 Photoshop 中删除背景? > 原文: [https://www.guru99.com/how-to-use-extraction-techniques-in-photoshop-cc.html](https://www.guru99.com/how-to-use-extraction-techniques-in-photoshop-cc.html) **### 如何在 Photoshop 中删除背景** 作为设计师,我们应该知道一些快速有效的技术,可以从图像中提取某些特定的对象或设计元素。 我们将在本教程中学习它们。 ## Photoshop 提取/删除背景:-第一个示例 **步骤 1)**选择要删除背景的图像 这是具有干净白色背景的模型的图像,我们要提取模型。 ![Remove Background in Photoshop](https://img.kancloud.cn/f6/1c/f61c4299f25fe36332a03df202cb0a33_951x622.png) 我们可以借助诸如“钢笔工具”之类的 photoshop 提取工具来提取它,但这将是一项非常耗时的技术。 所以我们不能使用笔。 **步骤 2)**选择魔术棒工具并选择背景 因此,现在去抓住“魔术棒工具”,然后在白色背景上单击将其选中,要添加选择区域,请按住“ Shift 键”,然后单击要添加到选择中的部分。 ![Remove Background in Photoshop](https://img.kancloud.cn/34/8e/348e2894f82ef38d8529467c09693562_130x361.png) **步骤 3)**套用反 现在我们要提取模型,所以我们必须选择她,进入选择菜单,然后选择“ inverse”,这样它将反转选择。 ![Remove Background in Photoshop](https://img.kancloud.cn/61/ea/61ea5cb792144aa1a9f5226842be961b_322x636.png) **步骤 4)**优化边缘 我们做出了选择,但是仍然选择不理想,因为它周围有非常尖锐的边缘,并且边缘上没有选择某些像素,并且选择了一些不需要的像素,因此要解决此问题,请单击 选项栏上的“优化边缘”按钮。 ![Remove Background in Photoshop](https://img.kancloud.cn/93/ba/93ba9e5f5271d19277233b0fb2a67c34_387x171.png) 这是精致的边缘面板。 我正在将查看模式从“黑色&白色”更改为“黑色”。 ![Remove Background in Photoshop](https://img.kancloud.cn/01/24/0124d3bb949baa4c38e67b8933744b54_446x666.png) 由于背景为黑色,我们可以看到模型边缘存在什么问题。 现在开始在模型的边缘上绘画,看看它如何从选择中减去一些不需要的白色像素。 ![Remove Background in Photoshop](https://img.kancloud.cn/ea/92/ea9203e4dd80b7b3235e45e73faef658_580x641.png) 我去除了粗糙的边缘并使它们更柔和。 让我将查看模式更改为“黑色&白色”。 ![Remove Background in Photoshop](https://img.kancloud.cn/ad/dd/addd072a327a43ab04c647eedadbf8ba_374x599.png) 请记住,黑色表示“透明”,白色表示“不透明”。 **步骤 5)**使用“擦除细化工具”。 在这里,模型的某些部分是透明的,因此我需要针对该选择“擦除细化工具”将其删除并更正选择。 ![Remove Background in Photoshop](https://img.kancloud.cn/05/50/0550aafc4b52a1e355c5ccb983f6d493_358x590.png) 但这不是一个大问题,因此我们以后可以处理。 **步骤 6)**新层 您可以在此处在模型边缘的某些特定部分看到一些透明像素。 因此,现在更改“输出”选项的设置。 从下拉列表中选择“带有图层蒙版的新图层”。 ![Remove Background in Photoshop](https://img.kancloud.cn/b9/96/b9967994835889a04264ddee1bca942f_366x600.png) 按确定 您可以在“图层面板”中看到使用图层蒙版创建的新图层。 现在在这里看到这些透明像素。 要处理它,请按 CTRL + J 复制该层。 ![Remove Background in Photoshop](https://img.kancloud.cn/5a/ce/5aceb7ee0903062c5d38eca26e49ccd1_304x335.png) 您可以看到我们的问题已解决。 **步骤 7)**输出 您可以在这个很酷的技巧的帮助下看到,我们很好地提取了模型。 ![Remove Background in Photoshop](https://img.kancloud.cn/e6/a9/e6a98ec139a2ea6555064242001ff2f9_899x647.png) ## 基于亮度的提取技术。 在这项技术中,我们将讨论“基于亮度的选择”。 看到这里是烟雾的图像,在烟雾中,某些部分是完全不透明的,而某些部分是半透明的。 因此,我们要提取具有适当透明像素的烟雾。 ![Remove Background in Photoshop](https://img.kancloud.cn/78/11/7811d3ad499e5aeccf768effd891c77d_422x625.png) 在先前的技术中,我们已使用“魔术棒工具”进行了选择,但在冒烟的情况下,这不是合适的技术。 因此,这里我们将使用“通道调色板”。 ![Remove Background in Photoshop](https://img.kancloud.cn/59/53/59536a3ea3200d35ebcae0832c9d9b8a_327x313.png) 在通道面板中,按住 CTRL 键并单击通道面板顶部的“ RGB 通道”,它将所有亮度值加载为活动选择。 它选择了整个白色背景。 ![Remove Background in Photoshop](https://img.kancloud.cn/da/ad/daad533066f6636ac751553a68c7c5e2_280x450.png) 现在转到选择菜单,然后选择逆。 ![Remove Background in Photoshop](https://img.kancloud.cn/a2/56/a256c43b6cc5a87f0ca41c0cea40ced3_254x519.png) 然后按 CTRL + J 来创建所选部分的新层。 您可以在此处看到所选区域的新图层创建。 但是它看起来很平坦。 因此,要保持其密度,请选择 CTRL + J 大约 4-5 次。 并合并所有重复的图层。 ![Remove Background in Photoshop](https://img.kancloud.cn/ea/9c/ea9cda708c26816e0a9830ab19c0cc35_347x240.png) 现在您可以看到,借助此技巧,我们如何完美地抽出了烟雾。 这称为**“基于亮度的选择”** 技术。 ## 让我们转到下一个示例。 这是一个模型,我们要非常快地拔出她的头发。 ![Remove Background in Photoshop](https://img.kancloud.cn/f6/17/f6170d777f790fda0b18f491e8e7571a_998x697.png) 如果我们在此特定图像中使用“笔工具”,则将是一个耗时的过程,但是如果我们不需要在此上浪费更多的时间,则可以在“优化边缘”的帮助下非常好而快速地完成此操作。 “ 选项。 ![Remove Background in Photoshop](https://img.kancloud.cn/96/ee/96ee82e8ed2309f7982fa47e7ec6d770_100x347.png) 抓住“快速选择工具”,然后大致选择模型。 单击“优化边缘”选项。 ![Remove Background in Photoshop](https://img.kancloud.cn/93/ba/93ba9e5f5271d19277233b0fb2a67c34_387x171.png) 选择“在图层上”的查看模式。 ![Remove Background in Photoshop](https://img.kancloud.cn/5a/59/5a59cadd26529dd282793e26e4e1ebba_386x616.png) 并开始在头发的边缘周围绘画。 您会看到它如何完善头发周围的选择。 看起来一些不需要的像素也从选择中删除。 我将把这个选择作为“带图层蒙版的新图层”。 ![Remove Background in Photoshop](https://img.kancloud.cn/e7/6f/e76f386ea8ee8ad354bc142eeb3c2839_403x641.png) 看这里,使用图层蒙版创建了一个新图层,并且很好地提取了模型。 ![Remove Background in Photoshop](https://img.kancloud.cn/67/6e/676ec2be6193f605bf205235abc14855_287x235.png) 复制图层,以便我们可以处理模型边缘周围的一些透明像素。 ![Remove Background in Photoshop](https://img.kancloud.cn/e9/9a/e99a3967fb211d65da4676caee7c0c57_804x562.png) 因此,这些是在 Photoshop CC 中进行提取的一些很酷而又快速的技巧。 As a designer, we should know some quick and efficient techniques to extract some particular objects or design element from an image. We will learn them in this tutorial. ## Photoshop Extraction/Remove Background:- First example **Step 1)** Select Image whose background you want to remove This is an image of a model with a clean white background, and we want to extract the model. ![Remove Background in Photoshop](https://img.kancloud.cn/f6/1c/f61c4299f25fe36332a03df202cb0a33_951x622.png) We can extract this with the help of photoshop extraction tool like "pen tool," but it will be a very time-consuming technique. So we can't use the pen. **Step 1)** Select Image whose background you want to remove This is an image of a model with a clean white background, and we want to extract the model. **Step 2)** Chose the Magic Wand Tool and select background So now go and grab the "magic wand tool" and click on a white background to select it, to add selection area hold "shift key" and click on the portion which you want to add in selection. ![Remove Background in Photoshop](https://img.kancloud.cn/34/8e/348e2894f82ef38d8529467c09693562_130x361.png) **Step 2)** Chose the Magic Wand Tool and select background So now go and grab the "magic wand tool" and click on a white background to select it, to add selection area hold "shift key" and click on the portion which you want to add in selection. **Step 3)** Apply Inverse Now we want to extract the model so we have to select her, go to select menu and choose “inverse” so it will invert the selection. ![Remove Background in Photoshop](https://img.kancloud.cn/61/ea/61ea5cb792144aa1a9f5226842be961b_322x636.png) **Step 3)** Apply Inverse Now we want to extract the model so we have to select her, go to select menu and choose “inverse” so it will invert the selection. **Step 4)** Refine Edges Our selection is made, but still, it is not perfectly selected, because it has very sharp edges selected around it, and some pixel is not selected on edges and some unwanted pixels are selected, so to deal with this problem I'll click on "refine edges" button, up here in option bar. ![Remove Background in Photoshop](https://img.kancloud.cn/93/ba/93ba9e5f5271d19277233b0fb2a67c34_387x171.png) This is refined edge panel. I'm changing the view mode from "black & white" to "on black." ![Remove Background in Photoshop](https://img.kancloud.cn/01/24/0124d3bb949baa4c38e67b8933744b54_446x666.png) Because of the black background, we can see what the problem with edges of the model is. Now start painting on edges of the model and see how it is subtracting some unwanted white color pixels from the selection. ![Remove Background in Photoshop](https://img.kancloud.cn/ea/92/ea9203e4dd80b7b3235e45e73faef658_580x641.png) I have removed rough edges and made them softer. Let me change the view mode to "black & white." ![Remove Background in Photoshop](https://img.kancloud.cn/ad/dd/addd072a327a43ab04c647eedadbf8ba_374x599.png) Keep in your mind that black means "transparent" and white means "opaque." **Step 4)** Refine Edges Our selection is made, but still, it is not perfectly selected, because it has very sharp edges selected around it, and some pixel is not selected on edges and some unwanted pixels are selected, so to deal with this problem I'll click on "refine edges" button, up here in option bar. **Step 5)** Use the "erase refinements tool." Here some part of the model has been transparent, so I need to remove it for that select "erase refinements tool" and correct the selection. ![Remove Background in Photoshop](https://img.kancloud.cn/05/50/0550aafc4b52a1e355c5ccb983f6d493_358x590.png) But this is not a big issue so that we can deal with it later. **Step 5)** Use the "erase refinements tool." Here some part of the model has been transparent, so I need to remove it for that select "erase refinements tool" and correct the selection. **Step 6)** New Layer You can see here some transparent pixels around the edges of the model in some specific portions. So now change the setting of "output" option. Select "new layer with layer mask" from drop-down list. ![Remove Background in Photoshop](https://img.kancloud.cn/b9/96/b9967994835889a04264ddee1bca942f_366x600.png) Press ok You can see here in layer panel a new layer is created with a layer mask. Now see these transparent pixels here. To deal with it duplicate the layer by pressing CTRL + J. ![Remove Background in Photoshop](https://img.kancloud.cn/5a/ce/5aceb7ee0903062c5d38eca26e49ccd1_304x335.png) And you can see our problem is solved. **Step 6)** New Layer You can see here some transparent pixels around the edges of the model in some specific portions. So now change the setting of "output" option. Select "new layer with layer mask" from drop-down list. **Step 7)** Output You can see with the help of this cool trick we have extracted the model very nicely. ![Remove Background in Photoshop](https://img.kancloud.cn/e6/a9/e6a98ec139a2ea6555064242001ff2f9_899x647.png) ## Luminosity Based Extraction Technique. In this technique, we will talk about "luminosity based selection." See here is an image of smoke, in smoke, some portion is full opaque while some part is half transparent. So we want to extract the smoke with proper transparent pixels. ![Remove Background in Photoshop](https://img.kancloud.cn/78/11/7811d3ad499e5aeccf768effd891c77d_422x625.png) In the previous technique, we have made our selection with "magic wand tool," but here it will not be the proper technique in the case of smoke. So here we will use the "channels palet." ![Remove Background in Photoshop](https://img.kancloud.cn/59/53/59536a3ea3200d35ebcae0832c9d9b8a_327x313.png) In channels panel hold the CTRL key and click on "RGB channel" on the top of the channels panel, it loads all the brightness value as the active selection. It has selected the entire white background. ![Remove Background in Photoshop](https://img.kancloud.cn/da/ad/daad533066f6636ac751553a68c7c5e2_280x450.png) Now go to select menu and choose Inverse. ![Remove Background in Photoshop](https://img.kancloud.cn/a2/56/a256c43b6cc5a87f0ca41c0cea40ced3_254x519.png) Then press CTRL + J to create a new layer of the selected portion. You can see here a new layer is created of the selected area. But it looks very flat. So to maintain it’s density select layer and press CTRL + J for around 4-5 times. And merge all duplicate layers. ![Remove Background in Photoshop](https://img.kancloud.cn/ea/9c/ea9cda708c26816e0a9830ab19c0cc35_347x240.png) Now you can see, with the help of this trick how perfectly we have extracted the smoke. This is called **"luminosity based selection"** technique. ## Let’s move to our next example. Here is a model and we want to extract her hair very quickly. ![Remove Background in Photoshop](https://img.kancloud.cn/f6/17/f6170d777f790fda0b18f491e8e7571a_998x697.png) If we use the "pen tool" in this particular image then it will be a time-consuming process, but if we do not need to waste more time on this, we can do this very nicely and quickly with the help of "refine edge" option. ![Remove Background in Photoshop](https://img.kancloud.cn/96/ee/96ee82e8ed2309f7982fa47e7ec6d770_100x347.png) Grab the "quick selection tool" and select the model roughly. Click on the "refine edge" option. ![Remove Background in Photoshop](https://img.kancloud.cn/93/ba/93ba9e5f5271d19277233b0fb2a67c34_387x171.png) Select view mode "on layer." ![Remove Background in Photoshop](https://img.kancloud.cn/5a/59/5a59cadd26529dd282793e26e4e1ebba_386x616.png) And start painting around edges of the hair. You can see how it is refining the selection around the hair. Look some unwanted pixels are also removed from the selection. I’ll take out this selection as "new layer with layer mask". ![Remove Background in Photoshop](https://img.kancloud.cn/e7/6f/e76f386ea8ee8ad354bc142eeb3c2839_403x641.png) Look here a new layer is created with a layer mask and the model is extracted very nicely. ![Remove Background in Photoshop](https://img.kancloud.cn/67/6e/676ec2be6193f605bf205235abc14855_287x235.png) Take a duplicate of layer and so that we can deal with some transparent pixels around edges of the model. ![Remove Background in Photoshop](https://img.kancloud.cn/e9/9a/e99a3967fb211d65da4676caee7c0c57_804x562.png) So these are some cool and quick tricks for extraction in photoshop cc. **Step 7)** Output You can see with the help of this cool trick we have extracted the model very nicely.