遮罩选择_如何使用Photoshop的选择和遮罩进行更精确的选择

遮罩选择

遮罩选择

preview2

Making selections and masks is one of the most fundamental Photoshop skills. If you want to change your model’s eye color or remove a pesky photobomber, you need to be able to select only the area of the image you want to effect while keeping everything else safe.

进行选择和遮罩是Photoshop最基本的技能之一。 如果您想改变模型的眼睛颜色移除讨厌的photobomber ,则需要仅选择要影响图像的区域,同时保持其他所有内容的安全。

There are dozens of ways to create selections and masks in Photoshop, but in the June 2016 update, Adobe brought a lot of them together into one place: the Select and Mask Workspace. Let’s look at how to use it.

在Photoshop中可以使用多种方法创建选区和蒙版,但是在2016年6月的更新中,Adobe将其中的许多元素集中在一起:“选择和蒙版工作区”。 让我们看看如何使用它。

For this article, I’m going to assume you have a basic understanding of how Photoshop works. If you don’t, check out our detailed eight part guide to learning Photoshop and our lesson on Layers and Masks.

对于本文,我假设您对Photoshop的工作原理有基本的了解。 如果您不这样做,请阅读我们详细的8部分学习Photoshop的指南以及有关“图层和蒙版”的课程。

进入选择和遮罩工作区 (Getting to the Select and Mask Workspace)

With an image open in Photoshop, there are a few ways to get to the Select and Mask Workspace. Select the Layer you want to work with, then:

在Photoshop中打开图像后,有几种方法可以进入“选择和蒙版”工作区。 选择要使用的图层,然后:

  • Go to Select > Select and Mask.

    转到选择>选择并遮罩。
  • Press the keyboard shortcut Control+Alt+R (Command+Option+R on a Mac).

    按下键盘快捷键Control + Alt + R(在Mac上为Command + Option + R)。
  • Click a selection tool like the Lasso or Quick Select tool, then and press the “Select and Mask…” button in the Options Bar.

    单击选择工具,例如套索或快速选择工具,然后在选项栏中按“选择并遮罩…”按钮。
  • With the Layer Mask selected, click the “Select and Mask…” button in the Properties panel.

    选中“图层蒙版”后,单击“属性”面板中的“选择并蒙版...”按钮。
17selectandmask

That should take you to the main Select and Mask workspace, where most of your work will take place.

这将带您进入主要的“选择并遮罩”工作区,大部分工作将在该工作区进行。

选择和遮罩工作区 (The Select and Mask Workspace)

Once you’re in the Select and Mask Workspace, this is what you’ll see.

进入“选择并遮罩”工作区后,您将看到。

0redone

Let’s look at each part of the interface in turn.

让我们依次看一下界面的每个部分。

  1. On the left side of the screen you’ve got the Toolbar. Instead of the full Photoshop toolset, you’re limited to the Quick Selection Tool, the Refine Edge Brush, the Brush Tool, the Lasso Tool (and underneath it, the Polygonal Lasso Tool). There are also the Hand and Zoom Tools for moving about the image.

    在屏幕的左侧,有工具栏。 而不是完整的Photoshop工具集,您只能使用快速选择工具,优化边缘笔刷,笔刷工具,套索工具(在其下方为多边形套索工具)。 还有用于在图像上移动的“手形”和“缩放”工具。

  2. The Tool Options bar at the top of the screen has all the options for the currently selected tool.

    屏幕顶部的“工具选项”栏包含当前所选工具的所有选项。
  3. On the right hand side of the screen you have the Properties panel. At the top of that panel, you’ll see View options. These control how the selection or mask you are creating appears. Right now, any unselected area has a red overlay. As I have not selected anything yet, my entire image has a red overlay.

    在屏幕的右侧,您具有“属性”面板。 在该面板的顶部,您将看到“查看”选项。 这些控制着您正在创建的选择或遮罩的显示方式。 现在,所有未选中的区域都具有红色覆盖。 由于我尚未选择任何内容,因此我的整个图像都覆盖了红色。
  4. Below that, you have Edge Detection, which controls the size of the areas Photoshop treats as edges.

    在此之下,您将拥有边缘检测功能,该功能可控制Photoshop视为边缘的区域的大小。
  5. Next is Global Refinements, which adjust the characteristics, like Feather or Contrast, of the selection.

    接下来是全局优化,用于调整选择的特征,例如羽毛或对比度。
  6. Finally, Output Settings determine how the selection is sent back to the regular Photoshop Workspace.

    最后,输出设置确定如何将选择内容发送回常规Photoshop Workspace。

Here’s how to use those tools to make perfect selections every time.

每次使用这些工具进行完美选择的方法如下。

选择工具 (The Selection Tools)

The most important part of the Select and Mask Workspace are the selection tools. They’re what you’ll use to build your selection.

选择和蒙版工作区中最重要的部分是选择工具。 它们是您用来建立选择的内容。

18tools

The Quick Select Tool works like a brush that automatically selects similar areas to where you’re painting. In the GIF below, just by painting over the bird with the Quick Select Tool I get a rough selection of everything.

快速选择工具的工作原理类似于画笔,可以自动选择与绘制位置相似的区域。 在下面的GIF中,只需使用“快速选择工具”在小鸟上绘画,就可以粗略地选择所有内容。

1quickselectgif

The Refine Edge Brush tells Photoshop what areas of your image are edges. It’s great for getting better edges around soft details like the feathers in the GIF below.

“优化边缘笔刷”告诉Photoshop图像的哪些区域是边缘。 这对于在柔软的细节(例如下面的GIF中的羽毛)周围获得更好的边缘非常有用。

2refine

The Brush Tool is for manually painting in a selection. If Photoshop’s automated tools aren’t giving you the selection you want or you just want to tweak something, use the Brush. It’s more time consuming but it can give you the best results.

画笔工具用于手动绘制选区。 如果Photoshop的自动化工具没有为您提供所需的选择,或者您只想调整某些内容,请使用“画笔”。 这比较耗时,但可以为您带来最佳效果。

3brush

By default with all three tools, when you paint you add to the selection. You can remove from the selection by holding down Alt or Option while you paint.

默认情况下,所有这三种工具都会在绘制时添加到选择中。 您可以在绘画时按住Alt或Option从选择中删除。

Finally, the Lasso Tool and Polygonal Lasso Tool are for selection large areas of the image. If you use a Wacom Graphics Tablet, you can draw in a relatively accurate selection, but if you’re using a mouse or trackpad you’ll only be able to manage something very rough.

最后,套索工具和多边形套索工具用于选择图像的大区域。 如果使用Wacom图形输入板,则可以绘制相对准确的选择,但是如果使用鼠标或触控板,则只能处理非常粗糙的内容。

4lasso

查看模式选项 (The View Mode Options)

One of the most useful features of the Select and Mask Workspace is how it lets you use different views to see exactly what is and isn’t selected.

“选择和蒙版”工作区最有用的功能之一就是它使您可以使用不同的视图来准确查看已选择和未选择的内容。

7viewmode

In the View dropdown, you can select from Onion Skin, Marching Ants, Overlay, On Black, On White, Black & White, and On Layers. You can see what each option looks like below.

在“视图”下拉菜单中,可以选择“洋葱皮”,“行进蚂蚁”,“叠加”,“黑色”,“白色”,“黑白”和“图层”。 您可以在下面看到每个选项的外观。

6view

To cycle between the View Modes, press the F key on your keyboard. Depending on what you’re trying to select, each View Mode will give you a different perspective. I normally use Overlay for most things.

要在查看模式之间循环,请按键盘上的F键。 根据您要选择的内容,每种查看模式都会为您提供不同的视角。 我通常在大多数情况下使用覆盖图。

Some View Modes have the option to change the Color, Opacity or what the view represents. You can change that in the View Mode Options.

某些视图模式可以选择更改颜色,不透明度或视图表示的内容。 您可以在查看模式选项中进行更改。

If the Show Edge checkbox is checked, Photoshop will highlight the areas it considers edges.

如果选中了“显示边缘”复选框,则Photoshop将突出显示它认为边缘的区域。

8showedges

Show Original shows what the original selection looked like. High Quality Preview forces Photoshop to render a more accurate preview, although it will slow down the tools you’re using.

Show Original显示原始选择的外观。 高质量预览会强制Photoshop渲染更准确的预览,尽管这会减慢您使用的工具的速度。

边缘检测选项 (Edge Detection Options)

9edgedetection

As well as the Refine Edge Brush, you can also use the Edge Detection Options to tell Photoshop how to interpret the areas of your selection.

除了“优化边缘画笔”之外,您还可以使用“边缘检测选项”来告诉Photoshop如何解释所选区域。

The Radius determines how big an area Photoshop treats as the edge. Use a low value for hard edges and a larger one for soft edges. If you’re not sure what value to go with, just play around with the slider and see how it affects your selection.

半径确定Photoshop将边缘视为多大的区域。 对于硬边使用较低的值,对于软边使用较大的值。 如果您不确定要使用什么值,请使用滑块并查看它如何影响您的选择。

Smart Radius tells Photoshop to use a different radius for different parts of the selection. If you’re selecting something that has both hard and soft edges, like the bird in my example, turn Smart Radius on.

Smart Radius告诉Photoshop对选择的不同部分使用不同的半径。 如果您选择的东西既有硬边又有软边,例如本例中的小鸟,请打开“智能半径”。

全球优化 (Global Refinements)

10global

Global Refinements adjust the overall selection. Its options include the following:

全局优化会调整总体选择。 它的选项包括:

  • Smooth evens out any jagged edges. The higher the value, the more the edges are smoothed.

    平滑平整所有锯齿状边缘。 值越高,边缘越平滑。

  • Feather softens the edges of the selection. Very few images have things with perfectly crisp edges, so adding a small amount of feathering to your selections generally makes them look more realistic.

    羽毛柔化选区的边缘。 很少有图像具有完全清晰的边缘,因此通常在选择中添加少量的羽毛会使它们看起来更逼真。

  • Contrast hardens soft edges. If the edges of the selections are too soft, add contrast to make them harder. It is basically the opposite of Feather.

    对比度会变硬边缘。 如果选择的边缘太柔和,请增加对比度以使其更硬。 基本上与羽毛相反。

  • Shift Edge either pulls the selection edge in (negative values) or pushes it out (positive values). If there is a color fringe around your selection, pulling the selection in a few percent can remove it.

    Shift Edge将选择边缘(负值)拉入或推出(正值)。 如果选区周围有颜色条纹,将选区拉几个百分点可以将其删除。

  • Finally, the Clear Selection button resets the current selection and the Invert button inverts the selection; deselected areas become selected and vice versa.

    最后,“清除选择”按钮将重置当前选择,而“反转”按钮将反转选择; 取消选择的区域将被选中,反之亦然。

Again, if you’re not sure what exact values your selection needs, play around with the sliders and see what works well.

同样,如果您不确定选择所需的确切值,请使用滑块并查看效果如何。

输出设定 (Output Settings)

11output

Output Settings control how the work you’ve done in Select and Mask is sent back to Photoshop.

输出设置控制如何将在“选择和蒙版”中完成的工作发送回Photoshop。

If there is a color cast on the edges, Photoshop will try to fix it if Decontaminate Colors is checked.

如果边缘上有偏色,如果选中“去污颜色”,Photoshop将尝试修复它。

From the Output To dropdown, you can select how the selection is sent to Photoshop. You can choose from:

从“输出到”下拉列表中,可以选择如何将选择内容发送到Photoshop。 您可以选择:

  • Selection,

    选择,
  • Layer Mask

    图层蒙版
  • New Layer

    新层
  • New Layer with Layer Mask

    带图层蒙版的新图层
  • New Document

    新文件
  • New Document with Layer Mask.

    带图层蒙版的新文档。

I’d recommend using either Layer Mask or New Layer with Layer Mask.

我建议使用“图层蒙版”或“带有图层蒙版的新图层”。

放在一起:选择和掩盖工作区工作流程 (Putting It All Together: The Select and Mask Workspace Workflow)

Now that you’ve some idea as to what each part of the Select and Mask Workspace does, here’s how it all fits together into a typical workflow. I’m using this great bird photo from SamuelRodgers752 Flickr.

现在,您已经对“选择和蒙版”工作区的每个部分做了什么有了一些了解,下面介绍了如何将它们全部组合到一个典型的工作流中。 我正在使用SamuelRodgers752 Flickr拍摄的这张很棒的鸟照片。

Open the image you want to edit in Photoshop and duplicate it to a new layer by going to Layer > Duplicate or using the keyboard shortcut Control+J (or Command+J on a Mac).

在Photoshop中打开要编辑的图像,然后通过转到图层>复制或使用键盘快捷键Control + J(在Mac上为Command + J)将其复制到新图层。

Enter the Select and Mask Workspace.

输入选择和蒙版工作区。

12select

Use the Quick Select Tool to create a rough selection.

使用快速选择工具创建粗略选择。

13quick

Use the Refine Edge Brush to paint along any edges where the selection isn’t perfect.

使用“优化边缘笔刷”沿选择不完美的任何边缘进行绘制。

14refine

Use the Brush Tool, Edge Detection Options and Global Refinements to fine tune the selection. To get different perspectives, swap between the View Modes.

使用“笔刷工具”,“边缘检测选项”和“全局优化”来微调选择。 要获得不同的视角,请在“视图模式”之间切换。

Select the Output Mode, such as Layer Mask, and click OK to send the selection back to Photoshop.

选择输出模式,例如“图层蒙版”,然后单击“确定”将选择内容发送回Photoshop。

Now, you can do what you like such as replace the background with a solid color or, as you can see below, I’ve added in this much more dramatic sky courtesy of Flickr user Owwe.

现在,您可以执行自己喜欢的操作,例如用纯色替换背景,或者如下所示,我在Flickr用户Owwe的帮助下添加了更加生动的天空。

15bird

Even when you zoom in really close, you can see we’ve got a really good selection, thanks to the Select and Mask Workspace.

即使您将镜头放大到非常近,您也可以看到我们有了一个非常好的选择,这要归功于Select and Mask Workspace。

16closeup


The Select and Mask Workspace brings Photoshop’s best selection tools together into one module. It’s the simplest way to create awesome selections.

“选择和蒙版”工作区将Photoshop的最佳选择工具整合到一个模块中。 这是创建很棒的选择的最简单方法。

翻译自: https://www.howtogeek.com/289255/how-to-make-more-precise-selections-with-photoshops-select-and-mask/

遮罩选择

1,listview.ZIP 演示使用listview控制, 作出资源管理器中目录树中的效果 (7KB)2,dirview.ZIP 装入整个 c 盘目录到 treeview (4KB)3,progress.ZIP 演示使用win95的进度条(3KB)4,progbar.ZIP 进度条演示(4KB)5,slider.ZIP 使用滑动控制(6KB)6,statusbar.ZIP 控制状态条的例子(10KB) 7,tabstrip.ZIP tabstrip控制的例子 (10KB)8,treeview.ZIP 存储/恢复treeview的例子(10KB) 9,treelist.ZIP 使用treeviewlistview显示数据库的数据 (7KB)10,combohg.ZIP 改变combobox的下拉高度(2KB) 11,dragtree.ZIP 拖拉树节点的例子(7KB) 12,lvstyles.ZIP 演示listview控制的例子(27KB) 13,make_toolbar_flat.ZIP 实现浮动工具条的例子(1KB) 14,code_coolbar.ZIP ie4风格的工具条(26KB)15,djmeter.ZIP 实现进度条的例子(10KB) 16,dupes.ZIP 一个combobox的例子(3KB) 17,formdsgn.ZIP 演示改变控件的大小移动控件的例子(9KB)18,tvcheckboxes.ZIP treeviewcheckbox的例子(9KB)19,tveventcancel.ZIP 使用treeview的简单例子(12KB) 20,tvnode-hitem.ZIP 在treeview的节点处使用图形(6KB)21,timedmsg.ZIP 对windows的标准对话框还可以加上时间限制的例子(9KB)22,browsedlg.ZIP 通过对一系列的 api 及 shell32.dll 的调用来实现 windows 各种标准浏览选择对话框。此源代码为 vb4 设计。对后来版本同样适用(8KB) 23,listtips.ZIP listbox中使每一item有不同的tip(2KB) 24,newctl.ZIP 动态创建控件的例子,解决了vb5中不能"无中生有"的毛病(2KB)25,colourdg.ZIP 调用windows的颜色对话框, 不需用到"comdlg32.ocx"(3KB) 26,clipbutton.ZIP 在我们使用 vb 的 code 编辑器时,其粘贴、复制、剪切按钮能随着当前的选择情况而进行适当的调整,本程序演示了类似的功能, 作者:jin(kenj@163.net)(3KB) 27,clipview.ZIP 使用 windows 剪贴板(16KB) 28,richedit.ZIP 利用richtext实现的编辑器(3KB) 29,srchlist.ZIP 在 list 控件里进行增量查询(4KB)30,savetree.ZIP 以文件方式保存恢复treeview(7KB)31,kenjLV1.zip ListView的API效果演示(10KB)32,txtsrch.zip 在Text中实现快速增量查询(4KB)33,TracBar.zip 滚动条模块,与 VB 的滚动条比较,该模块支持动态生成, 支持触发消息(7KB)34,treedrag.zip TreeView 中节点拖动、增加、删除等功能演示(8KB)35,wordwrap.zip 在 TextBox 中自动换行(2KB)36,combosrc.zip 在 COMBO 中的增量查询(2KB)37,progman.zip 制作安装程序必备,此模块包含的SUB及Function能帮你做出专业的安装程序(2KB)38,messageboxdemo.zip 用API调出MessageBox框!(6KB)39,associate.zip 建立关联程序的例子。本程序演示把 .bar 文件与 NotePad建立关联(3KB)40,tbar97.zip 制作的一个类似Office97的工具栏,除了不能移动外,其他都极为相似!(24KB)41,combomagic.zip 在 COMBO 中的增量查询(3KB)42,cursortest.zip 鼠标控制演示。提供了一个鼠标控制的类,包括移动、限制隐藏等功能(4KB)43,cpu.zip 监视 CPU 使用情况的例子(4KB)44,cdfind.zip 找出系统光驱的盘符(3KB)45,up.zip 数字大写转换程序(4KB)46,ktext.zip VB编程中突破64K的文本显示限制(2KB)47,menudemo.zip 使用API改变菜单,使之具有几列,如同Windows的开始菜单一样(4KB)48,clipcur.zip 限制鼠标的移动区域(2KB)49,findlist.zip 在ListBox快速搜寻字符串(5KB)50,getword.zip 读取鼠标所在位置的单词(5KB)51,filemanager.zip 文件管理器(8KB)52,mousedemo.zip 一些鼠标例子演示(3KB)53,calendar.zip 一个小小的日历程序(4KB)54,hotkey.zip VB编程中热键应用一例(3KB)55,noalt+f4.zip 去掉窗体关闭按钮 (2KB)56,cpuinf.zip 取得CPU的报告(16KB)57,viewpw.zip 密码查看器,可查看"***"的字符(7KB)58,regdemo.zip 向注册表建立关联文件(3KB)59,cipher.zip 加密/解密字符串的例子(3KB)60,browsefolders5.zip 浏览一个子目录(3KB)61,easymail.zip 文件加密/解密的例子(5KB)62,encstrings.zip 加密/解密字符串的例子(2KB)63,keybinf.zip 键盘信息报告例子(2KB)64,reginq.zip 读取注册表的例子,利用了API可读注册表中所有的项目(4KB)65,wpchanger.zip Windows墙纸改事例 (3KB)66,vbtozip.zip 用VB压缩文件(最简单的方法)(2KB)67,anicursor.zip 演示如何使用动画光标 VB源码(7KB)68,cfdemo.zip 不用CommonDialog控件,使用API调用字体对话框 VB源码(281KB)69,cmdlgd.zip 替换 Windows 公共对话框的 DLL 演示程序的源代码,具有HOOK 功能(86KB)70,colordlg.zip 不用CommonDialog控件,使用API调用颜色对话框 VB源码(4KB)71,commondialogs.zip Windows 公共对话框的源代码,包含文件、打印机、颜色、字体、游览对话框(7KB)72,cpuinfo.zip 得到CPU的详细信息 VB源码(16KB)73,fileprops.zip 演示如何调用 Windows 资源管理器中的文件属性对话框(7KB)74,progbar121.zip 进程杆控件的源代码。具有水平、垂直,渐变,显示文本百分比,播放声音的功能,不会让您失望。(12KB)75,subcls328.zip 一个子类的源代码,包含菜单、MDI窗体背景等8个演示程序(46KB)76,taskbar.zip 把应用程序的图标放在任务栏的右侧,是一个控件源代码(6KB)77,vbthread.zip 用VB实现多线程 VB源码(15KB)78,ini_vb6.zip 用WindowsAPI访问INI文件(8KB)79,syshotkey.zip 创建一个系统级的热键,无论你的程序是否获得焦点热键不生效 (4KB)80,win98mi.zip Win98多显示器支持演示(31KB)81,message.zip 拦截Windows消息(8KB)82,viewdoc.zip 用系统默认程序查看并打印文档 (7KB)83,srcset.zip 改变屏幕到16位彩色的演示 (2KB)84,moduleini.zip 访问、修改INI的函数(1KB)85,listapp.zip 枚举系统正在运行的程序(包括隐含的) (5KB)86,hidebtn.zip 隐藏Win9X中任务栏上的“开始”按钮(2KB)87,win95grp.zip 获得Windows9X下开始|程序中所有的程序组(16KB)88,clipview.zip 如何查看剪贴板中的带格式文本 (42KB)89,sysinfo.zip 获得系统的信息:硬盘、显示器、内存... (3KB)90,zm.zip 取得计算机中所有Modem的名称(2KB)91,custmnu2.zip 又一个菜单的例子(5KB)92,collSRC.zip 程序收集1.0版 (214KB)93,countdown.zip 一个倒计时的程序(10KB)94,00951404.zip 利用热键操作实现一键通(55KB)95,system_v.zip 系统监视器,可以实时监视正在运行的程序,并关闭他(29KB)
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值