search
HomeWeb Front-endPS TutorialPhotoshop教程:图层遮罩使用方法

Photoshop教程:图层遮罩使用方法

Mar 21, 2017 pm 04:06 PM
CanimageTutorialshowconnecttransparentparthide

 Photoshop图层遮罩(Layer Mask)在图像处理中的重要性是毋庸置疑的,它是Photoshop中一个神奇的“魔术棒”下面让我教你怎样掌握这个“魔术棒”吧。
  什么是图层遮罩
  图层遮罩(Layer Mask)是附加在图层之上,可以遮住图层上部的区域而让其下方的图层图像显示出来的灰阶图像。
  遮罩的黑色部分,会让本图层图像变得透明,可以见到下方图层。所以如果我们在建立新蒙版的时候选择“隐藏全部”,就能得到全黑的遮罩。
  遮罩的白色部分,表示本图层图像不透明的部分,遮挡住下面的图层。所以如果我们在建立新蒙版的时候选择“显示全部”,就能得到全白的遮罩。这里的显示和隐藏都是针对本图层而言的。
  灰色则表示图层是半透明显示,它下面的部分能看得到一些。

  在图层上加入图层遮罩
  每一种图层都可以加上遮罩,不论是一般图像图层、文字图层、型板图层或是各种特效图层。
  要在图层上加入遮罩,首先要选取要遮罩的图层,然后点击层面板上的Add a mask按钮,或者点击Layer图层/Add a mask增加图层遮罩/Reveal All全部显示指令,这样就可以加上全白的遮罩,因此整个图层都是不透明的,将全部显示出来。如果按住Alt键再单击Add a mask按钮,或者点击Layer图层/Add a mask增加图层遮罩/Hide All隐藏显示,将建立全黑遮罩,将整个图层都隐藏起来。假如在图层上已有选取范围的情况下要建立遮罩,则可以执行Layer图层/Add Layer Mask增加图层遮罩/Reveal Selection显示选取指令,则可以将所有没有选取的图像都隐藏起来。如果执行Layer图层/Add Layer Mask增加图层遮罩/Hide Selection隐藏选取,则可以将所有选取的图像部分隐藏起来。
  编辑图层遮罩
  图层遮罩是一张8bit的灰度图,涂上黑色表示图层为透明挖空,可以见到下方图层,涂上白色表示图层不透明部分。如果希望图层图像为半透明,局部和下层图像完美融合的话,则可以涂上灰色。所以如果你要编辑图层遮罩的话,你可以选取任何可以填色的工具或指令来替代遮罩涂色。我们切取上个实例中做了遮罩的沙漠与绿草地相接的部分为例,可以很明显地看出这之间的关系。
  关闭图层遮罩
  如果你需要暂时关闭图层遮罩的话,按住Shift键,单击图层控制面板中图层遮罩的预览图或执行Layer图层/Disable Layer Mask关闭图层遮罩,此时在图层控制面板中的图层遮罩预览图上,就会出现一个红色的×记号,表示将图层遮罩暂时关闭。此时,图层的图像将可完全显示出来。要重新打开遮罩的话,单击图层控制面板中图层遮罩预览图,或是执行Layer图层/Enable Layer Mask打开图层的图层遮罩指令即可。
  图层与图层遮罩的链接
  在预设的情况下,图层与图层遮罩是被连接在一起的,因此图层与图层遮罩可以同时移动或变形。在图层控制面板中,图层与图层遮罩略图间会出现连接图标,表示两者的连接。单击连接图标,可以解除图层与图层遮罩间的连接,这样你就可以个别地编辑图层遮罩。要恢复连接关系的话,再单击图层与图层遮罩之间位置,则连结图标会再出现,图层与图层遮罩又连接一起了。

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
Photoshop: Investigating Free Trials and Discount OptionsPhotoshop: Investigating Free Trials and Discount OptionsApr 14, 2025 am 12:06 AM

You can get the access to Photoshop in the most economical way: 1. Experience the software features with a 7-day free trial; 2. Find student or teacher discounts, as well as seasonal promotions; 3. Use coupons on third-party websites; 4. Subscribe to Adobe CreativeCloud's monthly or annual plan.

Photoshop for Designers: Creating Visual ConceptsPhotoshop for Designers: Creating Visual ConceptsApr 13, 2025 am 12:09 AM

Creating visual concepts in Photoshop can be achieved through the following steps: 1. Create a new document, 2. Add a background layer, 3. Use the brush tool to draw basic shapes, 4. Adjust colors and brightness, 5. Add text and graphics, 6. Use masks for local editing, 7. Apply filter effects, these steps help designers build a complete visual work from scratch.

Is Photoshop Free? Understanding Subscription PlansIs Photoshop Free? Understanding Subscription PlansApr 12, 2025 am 12:11 AM

Photoshop is not free, but there are several ways to use it at low cost or free: 1. The free trial period is 7 days, and you can experience all functions during this period; 2. Student and teacher discounts can cut costs by half, and school proof is required; 3. The CreativeCloud package is suitable for professional users and includes a variety of Adobe tools; 4. PhotoshopElements and Lightroom are low-cost alternatives, with fewer functions but lower prices.

Photoshop's Value: Weighing the Cost Against Its FeaturesPhotoshop's Value: Weighing the Cost Against Its FeaturesApr 11, 2025 am 12:02 AM

Photoshop is worth the investment because it provides powerful features and a wide range of application scenarios. 1) Core functions include image editing, layer management, special effects production and color adjustment. 2) Suitable for professional designers and photographers, but amateurs may consider alternatives such as GIMP. 3) Subscribe to AdobeCreativeCloud can be used as needed to avoid high one-time spending.

The Core Purpose of Photoshop: Creative Image DesignThe Core Purpose of Photoshop: Creative Image DesignApr 10, 2025 am 09:29 AM

Photoshop’s core use in creative image design is its powerful functionality and flexibility. 1) It allows designers to transform creativity into visual reality through layers, masks and filters. 2) Basic usages include cropping, resizing and color correction. 3) Advanced usages such as layer styles, blend modes and smart objects can create complex effects. 4) Common mistakes include improper layer management and excessive use of filters, which can be solved by organizing layers and using filters reasonably. 5) Performance optimization and best practices include rational use of layers, regular saving of files, and using shortcut keys.

Photoshop for Web Design: Advanced Techniques for UI/UXPhotoshop for Web Design: Advanced Techniques for UI/UXApr 08, 2025 am 12:19 AM

Photoshop can be used in web design to create high-fidelity prototypes, design UI elements, and simulate user interactions. 1. Use layers, masks and smart objects for basic design. 2. Simulate user interaction through animation and timeline functions. 3. Use scripts to automate the design process and improve efficiency.

Newbie's article: Use the ps brush to add crack effects to the font (share)Newbie's article: Use the ps brush to add crack effects to the font (share)Apr 07, 2025 am 06:21 AM

In the previous article "Teaching you step by step to add printing effects to plate images using ps (Favorites)", I introduced a small trick to use ps to add printing effects to plate images using ps. The following article will introduce to you how to use the ps brush to add crack effects to the font. Let’s take a look at how to do it.

Photoshop Advanced Typography: Creating Stunning Text EffectsPhotoshop Advanced Typography: Creating Stunning Text EffectsApr 07, 2025 am 12:15 AM

In Photoshop, you can create text effects through layer styles and filters. 1. Create a new document and add text. 2. Apply layer styles such as shadows and outer glow. 3. Use filters such as wave effects and add bevel and relief effects. 4. Use masks to adjust the effect range and intensity to optimize the visual impact of the text effect.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment