Topics Map > Software Guides > Photoshop
Photoshop: Masking
Version: Adobe Photoshop CC 2021. Be aware that different versions of Photoshop will vary in appearance and functionality. Full Guides: Photoshop: Images, Photoshop: Graphic Design
Masking can be used to hide portions of a layer. Any effects made to a masked layer, such as image Adjustments or Layer Styles, will affect only the masked area. Masking can also be used to collage or combine multiple images.
Expand each section below to see its content.
To mask an object/area:
- Select the layer with the desired object/area to mask in the Layers panel.
- Highlight the object/area with a Selection tool, such as the Quick Selection tool (see Photoshop: Selection Tools for more details).
- Click the Add layer/vector Mask button to the bottom of the Layers panel. Only the selected area will remain and a mask will be added to the layer. The Properties panel should open.
- If the Properties panel doesnt automatically open, double-click the mask in the layer.
- View Mode: use the drop-down to change the preview background color. This can be helpful to see the edges of the mask more clearly.
- Opacity: set the transparency of the background color.
- Edge Detection - Radius: determines the size of the selection border in which edge refinement occurs. Use a small radius for sharp edges, and a large one for softer edges.
- Smart Radius: Allows for a variable width refinement area around the edge of the selection. Among other use cases, this option is helpful if the selection is a portrait that includes both hair and shoulders. In such portraits, the hair might require a larger refinement area than the shoulders, where the edge is more consistent.
- Smooth: reduces irregular areas in the selection border to create a smoother outline.
- Feather: blurs the transition between the selection and the surrounding pixels (dont overdo!).
- Contrast: when increased, soft-edged transitions along the selection border become more abrupt.
- Shift Edge: Moves soft-edged borders inward with negative values or outward with positive ones. Shifting these borders inward can help remove unwanted background colors from selection edges.
- Output settings - Decontaminate colors: replaces color fringes with the color of fully selected pixels nearby. The strength of color replacement is proportionate to the softness of selection edges.
The masked selection will appear on a transparent background, which is indicated with a checkerboard pattern, or on top of any layers that are below it in the Layers panel. The original unmasked area will be removed.
The Brush tool can be used to add or subtract from the masked area. This can be helpful for removing parts of the image that were inadvertently selected before masking. Use white to add to the selection, and black to subtract, and paint over the desired areas.
To reopen the Properties panel and edit the mask settings at any time, double-click the mask on the layer in the Layers panel.
Images or parts of images can be collaged together to create something completely new. Collaging has a range of uses, including adding people/objects to images and changing background. In the example below, an object/element from one image will be combined with a different image for the background. Two viable methods are described below.
Method 1
- Navigate to File > Open, and open each image separately.
- Navigate to the image that has the object/element to be combined with the other background image.
- Use a Selection tool, such as the Quick Selection tool, to select the desired object/area (see Photoshop: Selection Tools for more details).
- Click the Add layer/vector Mask button to the bottom of the Layers panel and make adjustments as desired (see above for details).
- Right-click the layer in the Layers panel, and select Duplicate layer from the pop-up that appears.
- In the Document drop-down, select the background image that should be already open in a separate window, rename the layer if desired, and click OK.
- Use the Move tool to relocate the image.
- Resize: ensure Show transform controls is selected in the Options bar, and then click-and-drag the handles that appear on the sides of the image.
To adjust the mask at any time, double-click it from the Layers panel.
Method 2
- Navigate to File > Open, and open each image separately.
- Navigate to the image that has the object/element to be combined with the main image.
- With the Move tool selected, copy the image (Command/Ctrl+C, or Edit > Copy).
- If Edit > Copy is greyed out, navigate to Select > All and copy the image (Command/Ctrl+C).
- Photoshop: Information
- Photoshop: Creating a New Document
- Photoshop: Interface Overview
- Photoshop: Undoing Changes & the History Panel
- Photoshop: Layering & Object Arrangement
- Photoshop: Selection Tools
- Photoshop: Painting Brushes
- Photoshop: Cropping
- Photoshop: Resizing
- Photoshop: Masking
- Photoshop: Drawing Shapes
- Photoshop: Using the Pen Tool (Custom Paths)
- Photoshop: Adding Text
- Photoshop: Colors
- Photoshop: Color Balance Adjustment
- Photoshop: Vibrance Adjustment
- Photoshop: Brightness/Contrast Adjustment
- Photoshop: Levels Adjustment (Tonal Range)
- Photoshop: Face Retouching
- Photoshop: Saving & Exporting
Need support? Contact itech@plu.edu or visit www.plu.edu/itech. |