Master the selection tools and methods in Photoshop

This document presents the main selection tools and methods of Photoshop. You will discover how to select an area, an object, a sky or foliage, how to refine a selection with Select and Mask, and how to use the colors, tones and channels of an image to obtain precise selections.

Mastering selection is one of the most important skills to acquire in Photoshop. It determines the quality of most local retouching, cutouts and photomontages: a careful selection lets you apply an adjustment, a filter or a mask only where it is needed.

Catalog reference: Photoshop Tutorial_0013.

Index

Choose the workspace

The position of the various tools may vary depending on the selected Workspace.

This document was created with the Essentials workspace. It is the workspace offered by default when Photoshop is installed, and the one best suited to general use of the software.

If you use another workspace, some tools, panels or options may appear in a different place from the one shown in the illustrations of this document.

Choose the Essentials workspace in Photoshop

Identify the level of each chapter

🟢 All levels

  • Core concepts to master.
  • Recommended for all users.

🟡 Intermediate level

  • Requires mastery of the core concepts.
  • Commonly used techniques.

🔴 Expert level

  • Advanced techniques.
  • Used in specific or professional cases.

🟢 Know the options shared by all selection tools

The options highlighted in yellow in the illustration below are shared by all the selection tools available in Photoshop. Whether you work with the Magic Wand Tool, the Quick Selection Tool, the Object Selection Tool or another selection tool, these options remain available and work on the same principles.

They let you create a new selection, add areas to an existing selection, remove parts of it, or keep only the areas shared by several selections. These features are essential to refine a selection step by step and obtain a precise result.

The following paragraphs detail the role and operation of each of these options shared by the selection tools of Photoshop.

Identify the four selection modes shared by all tools

Create a new selection (marker 1)

The leftmost option (marker 1) is the default selection mode. It creates a new selection with the active selection tool.

When this option is active, each new selection automatically replaces the previous one. So, if an area is already selected and a new selection is made, the first one is removed in favor of the new one.

This mode is generally used at the start of the selection process, when a specific object or area of the image must be isolated without taking any existing selection into account.

In most cases, start by creating a selection with this option, then use the other selection modes to add or remove areas and refine the result.

Add to a selection (marker 2)

Option 2 adds a new selection to a selection that already exists on the layer. This function is the Add to Selection mode.

As shown below, when option 2 is active, draw a second selection inside or near a first selection already present on the layer. Instead of replacing the existing selection, Photoshop automatically merges the two selections into a single one.

This option is particularly useful when the object to select is made of several separate areas, or when the initial selection must be completed gradually. It avoids starting the selection over when some parts of the object were not included in the first operation.

You can also activate this mode temporarily by holding down the Shift key while creating a new selection [Windows shortcut: Shift + click] [Mac shortcut: Shift + click]. A “+” sign then appears next to the cursor of the selection tool, showing that the new area will be added to the existing selection.

Draw a second selection with the Add to Selection mode

After the left mouse button is released, selections 1 and 2 are merged automatically. They are no longer two separate selections, but a single one.

With the Add to Selection mode, the outlines of the two selections are grouped to form a single selection area. This feature is particularly useful to select objects made of several parts, or to complete an initial selection gradually without losing the areas already selected.

As the example below shows, selections 1 and 2 are now interlocked and form a single selection that you can keep modifying or refining if needed.

Merge the two selections into a single selection area

Subtract from a selection (marker 3)

This function removes a part of an existing selection with a second selection. It is the Subtract from Selection mode.

As with function 2, draw a second selection (selection 2) over a part of the first selection (selection 1) already present on the layer. However, unlike the Add to Selection mode, the area covered by selection 2 is removed from the existing selection.

At the end of the operation, the part of selection 1 covered by selection 2 is removed from the final selection. Selection 2 is not kept and only serves to define the area to subtract, as shown below.

This function is particularly useful to correct a selection that is too large, or to exclude parts of an object selected by mistake. It refines the selection gradually and gives a more precise result.

You can also activate this mode temporarily by holding down the Alt key while creating a selection [Windows shortcut: Alt + click] [Mac shortcut: Option + click]. A “-” sign then appears next to the cursor of the selection tool, showing that the new area will be subtracted from the existing selection.

Subtract the area of selection 2 from selection 1

Keep the intersection of two selections (marker 4)

This function keeps only the area shared by two selections. It is the Intersect with Selection mode.

When this option is active, draw a second selection (selection 2) that partially covers a first selection (selection 1) already present on the layer. At the end of the operation, only the areas that belong to both selections are kept.

The parts of selection 1 that are not covered by selection 2 are removed. Likewise, the parts of selection 2 outside selection 1 are not kept. Only the intersection of the two selections forms the final selection, as shown below.

This function is particularly useful to isolate a specific area precisely inside an existing selection, or to quickly restrict a selection to a well-defined region of the image.

Although it is less used than the Add to Selection and Subtract from Selection modes, it can be very effective in some situations that require a high level of precision.

Keep only the intersection of selections 1 and 2

🟢 Use the selection tools that do not rely on layer content

The tools in this category create a selection manually, without analyzing the content of the image or the layer. They rely only on the shape or area you define with the pointer.

Note: to remove an active selection, use the shortcut [Windows shortcut: Ctrl + D] [Mac shortcut: Cmd + D]. This command fully deselects the current selected area.

Use the rectangular marquee

Located at the top left of the toolbar, the Rectangular Marquee Tool selects a rectangular area of the image. To create a selection, click in the image, then hold down the mouse button and drag the pointer until you reach the desired size. The point where you start dragging defines one of the corners of the selection rectangle.

Select the Rectangular Marquee Tool in the toolbar

Draw a rectangular selection around a glass by dragging the pointer

To draw a perfect square, use the same method while holding down the Shift key during the drag.

Draw a perfect square while holding down the Shift key

To select an area around the point you click, hold down the Alt key. In the example below, the initial click was made at the location shown by the arrow. The selection was then extended while holding down the Alt key.

Extend the selection around the clicked point with the Alt key held down

By holding down the Shift and Alt keys together, you can draw a square selection area from the point defined by the initial click.

Draw a square selection from the click point with Shift and Alt

Warning: on some configurations, the Shift and Alt key combination may change the keyboard input language and switch the keyboard from an FR (AZERTY) layout to an EN (QWERTY) layout. If this happens, use the Shift and Alt key combination again to return to the initial keyboard configuration.

Use the elliptical marquee

To select the Elliptical Marquee Tool, click the small arrow at the bottom right of the Rectangular Marquee Tool. The menu of related tools appears. Then select Elliptical Marquee Tool.

Choose the Elliptical Marquee Tool in the group of selection tools

The Elliptical Marquee Tool works in the same way as the Rectangular Marquee Tool. The same shortcuts and key combinations can be used to constrain the shape of the selection or change its starting point.

Draw an elliptical selection with the Elliptical Marquee Tool

The Alt key, used while moving the mouse with the left button held down, creates a circle from its center.

The Shift and Alt keys together create a perfect circle centered on the starting point defined by the initial click.

Create a perfect circle centered on the click point with Shift and Alt

Use the Lasso Tool

The Lasso Tool, located in the upper part of the toolbar, quickly makes a freehand selection around an object.

To use it, click where you want to start the selection. Without releasing the left mouse button, move the pointer around the object to select, following its outline.

When you return to the starting point, the selection closes automatically and the object is selected.

Outline the object freehand with the Lasso Tool

Obtain the selection of the glass once the Lasso outline is closed

Use the Polygonal Lasso Tool

The Polygonal Lasso Tool, available under the Lasso Tool in the toolbar, creates selections made of straight segments.

It works like the Lasso Tool, but instead of drawing a freehand selection, each click defines an anchor point. Between two clicks, the tool automatically draws a straight segment.

To select an object, click successively around its outline to create a series of segments. When you return to the starting point, click on it again to close the selection. The delimited area then becomes an active selection.

Click around the object with the Polygonal Lasso Tool

Obtain a selection with straight segments after closing the polygonal outline

Use the Pen Tool to make a selection

The Pen Tool has many uses. Although it is mainly used to create precise vector paths, it can also make very precise selections.

This tool has a reputation for being harder to master than the other selection tools. However, once you are used to it, it gives particularly precise results, in particular to cut out objects with sharp edges.

It is important to note that using the Pen Tool can be relatively long, especially on complex images. In addition, this tool is generally not recommended to select elements with many fine details, such as hair or fur, for which other selection methods are often more suitable.

To start, select the Pen Tool (marker 1), then choose the Path option (marker 2) in the options bar.

Choose the Pen Tool in Path mode in the options bar

Start the selection by clicking on the outline of the object to select. This first click creates the initial anchor point of the path.

Place the first anchor point on the outline of the object to cut out

Below is an object cut out with the Pen Tool.

Cut out the object with a path drawn with the Pen Tool

Go to the Paths panel to display and manage the paths created with the Pen Tool.

Display the created path in the Paths panel

If the Paths panel is not displayed, open it with the path Window → Paths.

Once the panel is displayed, click the Paths tab to activate it.

Open the Paths panel from the Window menu

Once the path is finished, click the Load Path as a Selection button at the bottom of the Paths panel. Photoshop automatically turns the path into a selection, which lets you modify or isolate the area concerned.

Click the Load Path as a Selection button

🟢 Use the selection tools that rely on layer content

Use the Magnetic Lasso Tool

The Magnetic Lasso Tool is available from the Lasso group of tools. To activate it, click the small arrow at the bottom right of the Lasso Tool button to display the related tools. Then select Magnetic Lasso Tool.

Choose the Magnetic Lasso Tool in the group of Lasso tools

To use the Magnetic Lasso Tool, click on the outline of the object to select to define the starting point. Then hold down the left mouse button and follow the edge of the object, favoring areas with a strong contrast against the background. The tool analyzes the edges automatically and places anchor points as the cursor moves.

Once you have gone around the object, return to the starting point, then double-click to close the path and create the selection.

In short, the Magnetic Lasso Tool works like an edge detector able to snap automatically onto the contrast transitions present in the image.

If you make a mistake while drawing, press the Backspace key on Windows or the Delete key on macOS to remove the last anchor point created, then continue the path from the last valid point.

Obtain the selection of the glass made with the Magnetic Lasso Tool

Set the Magnetic Lasso Tool options

The main options of the Magnetic Lasso Tool are the three settings highlighted in yellow in the illustration below. These settings adapt the behavior of the tool to improve edge detection and obtain a more precise selection.

Identify the three main options of the Magnetic Lasso Tool in the options bar

Set the Width option in pixels

The Width option defines the width of the area in which the Magnetic Lasso Tool looks for a contrast strong enough to snap automatically onto the edge of the object.

The range of values accepted by this option is 1 to 256 pixels.

The principle is illustrated below: the green circle shows the search area of the Magnetic Lasso at a given moment. Inside this area, Photoshop analyzes the contrast differences to detect the edges most likely to match the boundary of the object to cut out.

  • A low value (for example 10 to 20 pixels) limits the search area around the pointer. This setting is recommended for subjects with precise, well-defined edges.
  • A higher value (for example 50 to 100 pixels or more) widens the search area and makes it easier to follow more irregular edges, or when the pointer cannot be moved with great precision.

However, a value that is too high may make the tool snap onto unwanted edges near the subject, while a value that is too low may make the edge harder to follow if the pointer moves slightly away from the edge being tracked.

Tip: for most images, a value between 10 and 30 pixels is a good starting point. You can then adjust this setting according to the size of the subject and the quality of the contrast between the subject and its background.

View the search area of the Magnetic Lasso around the pointer

If the value set in the Width option is too low, the search area analyzed by the tool is too small. In this case, the Magnetic Lasso Tool may fail to detect the contrasting edges near the pointer and cannot snap onto them correctly.

To obtain precise results, it is important to adapt the Width value to the size of the subject and the quality of the contrasts in the image. A value that is too low can cause an irregular path or incomplete edge detection.

Show a Width value that is too low and prevents snapping to the edge

Conversely, the illustration below shows an example in which the value of the Width option is too high. In this configuration, the Magnetic Lasso Tool has a search area that is too large and detects many potential edges near the pointer.

Faced with so many contrasts, the tool may try to snap onto unwanted edges, which reduces the precision of the path and increases the risk of selecting elements that are not part of the subject. To obtain a reliable selection, it is therefore recommended to use a Width value suited to the size of the subject and the complexity of the image.

Show a Width value that is too high and causes unwanted snapping

The illustration below shows an example of an optimal setting of the Width option for this subject. In this configuration, the Magnetic Lasso Tool detects only the edge being tracked and snaps onto it precisely and efficiently.

There is no universal value for the Width option. The ideal setting depends on several factors, in particular the size of the subject, the precision of the edge to select and the level of contrast in the image.

Only regular practice with the Magnetic Lasso Tool will let you quickly assess the most suitable value for each situation and obtain precise selections in varied contexts.

Set a suitable Width value so that only the edge of the subject is snapped

Set the Contrast option

The range of values of the Contrast option is 1% to 100%.

This option tells the Magnetic Lasso Tool how strong a contrast it must look for to detect the edges of the subject.

When a high value is used, for example 100%, the tool looks only for very marked tonal transitions. This type of setting is particularly suited to high-contrast images, such as a black object on a white background, as shown below.

Conversely, when the contrast between the subject and the background is lower, it is recommended to reduce the Contrast value. For example, for a white object on a light gray background, a value of about 30% lets the tool detect more easily the tonal variations along the edge of the subject.

In general:

  • A high value suits strongly contrasted edges.
  • A low value suits edges with subtler differences in brightness or color.

It is therefore important to adapt the Contrast setting to each image to obtain edge detection that is both precise and reliable.

Use a Contrast of 100% for a black object on a white background

Set the Frequency option

The range of values of this option is 0 to 100.

The Frequency option defines how often the Magnetic Lasso Tool automatically places anchor points along the detected edge.

The lower the value and the closer it is to 0, the fewer anchor points the tool creates. Conversely, the higher the value and the closer it is to 100, the more anchor points are generated.

A low value generally suits simple, regular edges, while a high value is better suited to complex edges with many changes of direction.

In the example below, the value of the Frequency option is set to 2, which creates a limited number of anchor points as the Magnetic Lasso Tool moves.

Limit the anchor points with a Frequency set to 2

In the example below, the value of the Frequency option is set to 100. The Magnetic Lasso Tool then creates a large number of anchor points along the detected edge, which lets it follow complex shapes and variations of the selected subject more precisely. However, a value that is too high can generate more anchor points than necessary and make the selection harder to adjust afterward.

Multiply the anchor points with a Frequency set to 100

Use the Object Selection Tool

Use the Object Selection Tool without the Object Finder function

Select the Object Selection Tool in the Photoshop toolbar. This tool quickly identifies and selects an object or a subject in an image, using the analysis technologies built into the software.

Select the Object Selection Tool in the toolbar

For this example, turn off the Object Finder option (marker 1), then select the Lasso mode (marker 2).

The Rectangle mode can also be used when the shape of the object to select allows it. As a rule, the Lasso mode offers more flexibility to surround subjects with irregular edges, while the Rectangle mode is particularly suited to objects with a simple shape.

The use of the Object Finder function is covered in detail in the next section.

Turn off Object Finder and choose the Lasso mode

Roughly draw the outline of the object to select with the Object Selection Tool set to the Lasso mode. There is no need to follow the edges of the subject perfectly. Simply make sure the whole object is inside the path.

Once the path is finished and the pointer is back near the starting point, double-click to close the path. Photoshop then analyzes the delimited area and automatically generates a selection that matches the detected object.

Roughly surround the camera with the Lasso mode of the tool

The object is detected and selected automatically by Photoshop inside the area you delimited. The Object Selection Tool analyzes the content of the path and tries to identify the main subject precisely, to generate a selection as faithful as possible to its edges.

Depending on the complexity of the image and the contrast between the subject and its background, the result may need a few additional adjustments to obtain a perfectly precise selection.

Obtain the automatic selection of the camera detected by Photoshop

To add another object to the selection, such as the red cup in this example, hold down the Shift key on the keyboard, then draw around the object to add with the Object Selection Tool, in the same way as before.

As long as the Shift key is held down, Photoshop automatically adds the newly detected object to the existing selection instead of creating a new selection.

Once the path is finished, Photoshop analyzes the delimited area and adds the identified object to the current selection. This method quickly selects several separate objects in the same image.

The cup is now selected. However, as the example below shows, a part of the shadow was also included in the selection, although it is not part of the object to keep.

To remove this unwanted area, hold down the Alt key, then draw an outline around the part to remove with the Lasso mode of the Object Selection Tool.

When the Alt key is held down, Photoshop automatically switches to subtraction mode. The delimited area is then removed from the existing selection, which refines the final result quickly and precisely.

Identify the shadow selected by mistake together with the red cup

The area to remove is surrounded with the Object Selection Tool set to the Lasso mode, while holding down the Alt key to activate subtraction mode.

Once the outline is finished, close the path by double-clicking near the starting point. Photoshop then analyzes the delimited area and removes it automatically from the existing selection.

This technique quickly removes unwanted elements, such as a shadow, a reflection or any other area selected by mistake, while keeping the rest of the selection intact.

Surround the unwanted shadow with the Alt key to remove it from the selection

In the next illustration, the unwanted area is correctly removed from the selection. The shadow previously selected by mistake is no longer part of the active area.

The two objects of this example, the camera and the red cup, are now selected. The selection has been refined to keep only the desired elements.

Obtain the selection of the camera and the red cup

Use the Object Selection Tool with the Object Finder function

To activate the Object Finder function, check the corresponding box (marker 1).

Once this option is active, Photoshop automatically analyzes the image to identify the various objects it contains. During this analysis phase, the update icon made of two circular arrows (marker 2) shows that the artificial intelligence engine is processing the image and detecting the objects it contains.

When the analysis is finished, simply move the mouse pointer over an object and Photoshop highlights it automatically. You can then click the desired object to select it.

Turn on Object Finder to detect the objects in the image

The Object Finder function built into the Object Selection Tool has several settings, available by clicking the gear icon to the right of the Object Finder area.

The Object Subtract checkbox (marker 1) turns on the subtraction of unwanted areas from the selection generated automatically by the artificial intelligence of Object Finder. As explained in the previous section, when this option is active, you can use the Lasso Tool or the Rectangular Marquee Tool while holding down the Alt key to remove parts of the selection created by Photoshop. For most cutout work, it is recommended to leave the Object Subtract option on.

The Object Finder Mode menu (marker 2) offers two modes of operation: Auto Refresh and Manual Refresh. When Auto Refresh is selected, Photoshop automatically analyzes the image after each change to update the detection of the objects present. Conversely, the Manual Refresh mode requires the analysis to be refreshed manually. In most situations, it is advisable to keep the Auto Refresh mode.

The settings grouped under Overlay Options customize the appearance of the preview mask used by Object Finder to mark the objects detected in the image.

The Color option (marker 3) defines the color of the mask displayed over the detected objects.

The Outline option (marker 4) adds an outline to the detection mask and adjusts its thickness to improve its visibility.

The Opacity option (marker 5) sets the transparency level of the mask displayed over the detected objects.

Finally, the options of the group (marker 6) determine how the detection masks are displayed on screen:

  • When the Auto Show Overlay option is selected, the mask appears only when the mouse pointer hovers over a detected object.
  • When the Always Show Overlays option is selected, all the masks matching the objects detected by Object Finder stay visible at all times.
  • When the Never Show Overlays option is selected, no detection mask is displayed on screen.

These settings adapt the operation and display of Object Finder to your way of working while making it easier to identify visually the objects detected by Photoshop.

Set the Object Finder parameters from the gear icon

When the pointer hovers over an object detected by artificial intelligence, the object is automatically covered by the Object Finder preview mask. Simply click the highlighted object to instantly create a selection that matches this element.

This method quickly selects the main objects in the image without having to draw a selection outline manually. It saves a considerable amount of time, in particular when cutting out subjects that clearly stand out from their background.

Click the object highlighted by Object Finder to select it

You can select several objects by adding new elements to the selection one after another. To do so, hold down the Shift key on the keyboard, then click each object you want to add.

At each click made while holding down the Shift key, Photoshop adds the detected object to the existing selection without deselecting the objects already selected.

In the illustration below, the camera, the tablet and the cup are already selected. To add the laptop to the selection, click it while holding down the Shift key.

This method quickly selects several separate objects in the same image, without drawing manual outlines around each of them.

Add the laptop to the selection by clicking it with Shift held down

In the illustration below, the selection generated by Photoshop does not exactly match the desired result.

First, a lighter area of the coffee inside the cup was not included in the selection (marker 1). Second, a shadow near the laptop was selected by mistake, although it is not part of the object to keep (marker 2).

These inaccuracies can occur when some areas lack contrast, or have reflections, strong shadows or edges that are hard to distinguish. In this type of situation, the selection must be refined manually to add the missing areas and remove the unwanted elements.

The tools and methods to correct these imperfections are presented in the next steps.

Identify the unselected coffee area and the shadow selected by mistake

To add the lighter coffee area that was not selected, place the pointer slightly outside the cup, then surround the area concerned with the Object Selection Tool while holding down the Shift key.

The Shift key activates the add-to-selection mode. When the path is closed, Photoshop automatically analyzes the delimited area and adds it to the existing selection.

As the example below shows, the lighter coffee area, initially ignored by Photoshop, is now part of the cup selection, which gives a more complete result that is more faithful to the original object.

Surround the light coffee area with Shift to add it to the selection

When the path is closed, the lighter coffee area is merged into the existing selection outline. This operation adds the new area to the selection without creating a separate outline.

Merge the light coffee area into the cup selection

To remove the shadow area near the laptop, repeat the same operation by drawing an outline around the area concerned with the Object Selection Tool. This time, hold down the Alt key on the keyboard while drawing.

The Alt key activates the subtract-from-selection mode. When the path is closed, Photoshop analyzes the delimited area and removes it automatically from the existing selection.

As the example below shows, the shadow selected by mistake is removed, while the selection of the laptop is kept. This technique quickly refines a selection by removing the unwanted areas detected by Photoshop.

Remove the shadow near the laptop with Alt held down

Finally, to make full use of this particularly efficient tool, you can activate the Show All Objects function.

Turn on the Show All Objects function of Object Finder

🟢 Select objects directly from the menu bar

Another method activates the Object Selection feature directly from the menu bar.

This chapter explains how to use a selection to turn yellow lemons into green limes in a simple and precise way.

To start, select the object or objects present in the image with the command Select → Subject.

Choose the Subject command to select the lemons

Artificial intelligence analyzes the image and automatically selects the main objects present in the scene. This feature saves time when creating a selection.

View the lemons selected automatically by the Subject command

Then choose the command Select → Select and Mask… to improve the edges of the selection.

Choose the Select and Mask command to improve the edges of the lemons

To view the selected area better, choose the Overlay option in the View menu of the Select and Mask window. The selected and unselected areas are then displayed differently, which makes it easier to adjust the edges.

Choose the Overlay view mode in Select and Mask

The color applied to the unselected area can be changed by choosing another color in the Color square shown by the arrow in the illustration below.

Change the color of the unselected area with the Color square

In the Select and Mask window, set the various parameters as shown in the illustration below.

Then set the Output To option to Selection to keep the result as an active selection.

Once all the parameters are set, click the OK button to confirm the changes.

Set Output To to Selection in Select and Mask

Apply a Hue/Saturation adjustment layer with the command Layer → New Adjustment Layer → Hue/Saturation.

Create a Hue/Saturation adjustment layer from the Layer menu

The Hue/Saturation adjustment layer appears automatically in the Layers panel. It is added above the currently selected layer and stays editable at any time, which lets you adjust the hue and saturation settings without altering the original image.

Find the Hue/Saturation layer in the Layers panel

The properties of the Hue/Saturation adjustment layer are displayed in the Properties panel. They change the hue, saturation and lightness of the image in a non-destructive way, that is, without altering the pixels of the original layer. You can adjust these parameters at any time to refine the rendering of the colors.

Display the Hue/Saturation layer properties in the Properties panel

Changing the Hue parameter shifts the colors of the image around the color wheel. In this example, increasing or decreasing the hue value gradually turns the yellow lemons into green limes, while keeping the details and textures of the image. This technique is particularly useful to change the color of an object quickly without complex manual work.

Shift the hue to turn yellow lemons into green limes

🟢 Use the Quick Selection Tool

The Quick Selection Tool (marker 1 in the illustration below) works like a selection brush. To select an object, click it, then move the pointer while holding down the mouse button. Thanks to the artificial intelligence built into Photoshop, the edges of the object are detected automatically, which quickly gives a selection that is generally precise and relevant.

If you want to remove a part of the selection, use the tool while holding down the Alt key [Windows shortcut: Alt] [Mac shortcut: Option]. The areas you pass over are then subtracted from the existing selection.

When the tool is active, the options displayed in the options bar generally suit most situations. The size of the selection brush can be adjusted with the setting marked 2 in the illustration below. It is recommended to use a large brush size to select large areas, such as a background, and a smaller size to select small objects or details.

The option marked 3, Sample All Layers, makes a selection that takes into account the content of all visible layers, rather than only the active layer.

The option marked 4, Enhance Edge, gives more precise edges. It is particularly useful when selecting complex objects, or when you want to cut out a background correctly.

The option marked 5, Select Subject, automatically analyzes the image and selects the main subject when a clearly identifiable person or object is present in the scene.

The option marked 6, Select and Mask, opens a workspace dedicated to improving selections and masks. As this feature offers a great many possibilities, it is studied in detail in the next section.

Identify the options of the Quick Selection Tool in the options bar

Select the main subject automatically with Select Subject

Use the Select and Mask option of the Quick Selection Tool

This option selects one or several objects, then hides or visually removes the rest of the image, including the background. It is particularly useful to make a precise cutout before applying corrections or making a photomontage.

To access this feature, activate the Quick Selection Tool, then click the Select and Mask… button in the options bar.

Click the Select and Mask button in the options bar

Photoshop then opens the Select and Mask workspace, specially designed to improve selections and masks.

By default, the image is displayed with a transparency effect. This display mode makes it easier to tell the selected areas from the unselected areas. When no selection is defined yet, the image generally appears dimmed to show that no object has been isolated.

At any time, you can leave this workspace and return to the interface of the Quick Selection Tool by clicking the Cancel button in the lower right corner of the Select and Mask window.

Discover the Select and Mask workspace with no selection defined

To add an object to the selection, click the Add to Selection button, identified by a + sign. The areas you select are then added to the existing selection.

Conversely, to remove an object or an area from the selection, click the Subtract from Selection button, identified by a − sign. The areas concerned are then removed from the active selection.

Choose the add or subtract button in Select and Mask

To select an object, click it, then move the mouse pointer while holding down the button, as if you were painting it with a brush. Artificial intelligence then analyzes the image in real time and detects the edges of the object automatically to offer a precise selection.

Observe the selection obtained by painting over the object like a brush

When you click the OK button in the Select and Mask window, you automatically return to the interface of the Quick Selection Tool.

The object selected in Select and Mask then appears isolated. The other objects of the image and the background are hidden by the layer mask created automatically, which lets you work only on the selected element.

Isolate the selected object while the other elements are hidden by the layer mask

The following example shows a selection made with the Select and Mask option, this time applied to a portrait photograph.

This exercise shows how to refine the selection of a subject precisely, in particular along complex edges such as hair.

Prepare the selection of a portrait with Select and Mask

In this example, use the Select Subject command, also available in the options bar of the Select and Mask workspace.

As the illustration below shows, Photoshop automatically detected and selected the main person in the image. This person appears without transparency, while the unselected areas are displayed with a higher level of transparency to make the result easier to view.

Detect the model automatically with the Select Subject command

To improve the selection of the hair, click the Refine Hair button (marker 1). Photoshop then automatically analyzes the edges of the hair to refine the selection and better preserve the finest details.

Once the operation is finished, click the OK button (marker 2) to confirm the changes and apply the improved selection.

Click Refine Hair, then click OK to confirm

As in the previous example with the camera, Photoshop displays the main interface again. Only the model appears on a transparent background, because she was the only element included in the selection.

Obtain the model isolated on a transparent background after the hair adjustment

Since the background of the Background copy layer is transparent, you can add a layer filled with black under it to check the quality of the selection of the model’s hair more easily.

Displaying a dark background in particular highlights possible cutout defects, such as irregular edges, forgotten areas or selection artifacts around the hair.

Check the hair selection on a layer filled with black

In the Select and Mask window, you can change the appearance of the unselected areas with the View drop-down list shown in the illustration below.

This list offers several display modes to view the selection in different ways and assess its quality more easily.

In the illustration below, the background is displayed in Onion Skin mode. This mode applies a transparency effect to the unselected areas to highlight the elements included in the selection.

Display the background in Onion Skin mode

Below, the Marching Ants mode is used to view the selection. As the illustration below shows, some fine strands of hair were not selected. This situation highlights one of the limits of artificial intelligence when it must tell apart elements whose colors and tones are very close.

In this example, the model’s brown hair stands out against a dark yellow background. Because the contrast between the hair and the background is relatively low, Photoshop has less information to identify the exact edges of the hair. This can cause some fine strands to be left out of the selection.

Ideally, it is preferable to work with a subject that has a strong contrast with its background. For example, blond hair on a dark background or, conversely, dark hair on a light background gives a higher contrast. Artificial intelligence can then tell the edges of the hair apart more easily and produce a more precise selection.

Identify strands of hair not selected in Marching Ants mode

You can improve the quality of the selection with the Color Aware and Object Aware options.

The Color Aware option mainly analyzes differences in color and contrast to detect the edges of the subject. It is particularly effective when the subject stands out clearly from the background.

The Object Aware option relies more on the shape and structure of the elements in the image to identify the subject. This method can give better results when color contrasts are low or when the edges of the subject are complex.

To find out which mode suits your image best, it is recommended to test Color Aware first, then Object Aware. Then compare the results to choose the option that produces the most precise selection for the subject.

Compare the selection obtained with the Object Aware option

Compare the selection obtained with the Color Aware option

Other display modes are also available in the View list. Among them, the Black & White mode clearly shows the selected and unselected areas, while the On Layers mode displays the cut-out object on a transparent background.

These different display modes make it easier to check the quality of the selection and to spot possible imperfections before confirming the cutout.

View the selection in Black & White mode

Display the cut-out subject on a transparent background with the On Layers mode

🟢 Use the Magic Wand Tool

The Magic Wand Tool is grouped with the Object Selection Tool and the Quick Selection Tool in the Photoshop toolbar.

This tool is a quick and efficient solution to make selections based on color. However, its effectiveness depends strongly on the content of the image and the contrast between the subject and its background.

The Magic Wand Tool generally gives excellent results when the areas to select have uniform colors that are clearly distinct from the rest of the image. However, it may be less effective on images with many details, complex gradients or strong color variations.

Find the Magic Wand Tool in the toolbar

Click the area to select with the Magic Wand Tool. The result depends directly on the settings defined for the tool, in particular the Tolerance value.

In this example, click the white area of the image with a Tolerance set to 10. In the illustration below, the selection obtained is not satisfactory in this specific case. Some areas that should be included in the selection are not, which means the settings of the tool must be adjusted to obtain a more precise result.

Obtain an incomplete selection with a Tolerance of 10

Deselect the previous selection [Windows shortcut: Ctrl + D] [Mac shortcut: Cmd + D]. Then make a new selection with the Magic Wand Tool with the Tolerance value set to 80.

In the illustration below, the selection obtained is more precise than the one made previously with a Tolerance set to 10. A higher tolerance value includes a wider range of similar hues and colors, which improves the selection of areas with slight color variations.

Obtain a more precise selection with a Tolerance of 80

You can add areas to an existing selection made with the Magic Wand Tool with the Add to Selection button shown below. This option selects several separate areas without replacing the selection already made.

To remove an area from the selection, use the Subtract from Selection button, located immediately to the right of the Add to Selection button. This function is particularly useful to correct a selection by removing the areas added by mistake.

Identify the add and subtract buttons in the Magic Wand options bar

Refine the Magic Wand selection with Select and Mask

Use the Select and Mask function to improve the quality of the selection and refine its edges. This tool is particularly useful to select complex elements precisely, such as hair, vegetation or objects with many details.

To access this function, use the following path: Select → Select and Mask….

Open Select and Mask to refine the selection of the flowers

Photoshop then opens the Select and Mask interface. This dedicated interface refines the selection by showing its edges more precisely and by offering various correction tools.

Display the Select and Mask interface with the background selection

Since the background of the image was selected with the Magic Wand Tool, the selection must be inverted to select the main object of the scene, the flowers.

To do so, click the Invert button in the Select and Mask dialog box. The areas previously unselected become selected, while the areas initially selected are excluded from the selection.

After the inversion, the selection covers the flowers and no longer the background, which makes it easier to cut out or modify the main object.

Invert the selection with the Invert button to select the flowers

Increase the Feather value to soften the edges of the selection. This parameter creates a gradual transition between the selected and unselected areas, which gives a more natural cutout and avoids edges that are too sharp.

A low value gives a slight softening, while a higher value creates a wider transition. It is recommended to adjust this parameter gradually while watching the result in the preview of the Select and Mask interface.

Soften the edges of the selection by increasing the Feather value

To define the export settings of the selection, expand the Output Settings section located in the lower part of the Select and Mask interface.

This section lets you choose how the selection is exported after confirmation. The result can be exported as a selection, as a layer mask or to a new layer, depending on the needs of the project.

Before confirming the settings, also check the Output To value to make sure the export type matches the desired result.

Expand the Output Settings section at the bottom of the interface

In the Output To drop-down menu, select the Layer Mask option to export the selection as a layer mask linked to the active layer.

This method has the advantage of hiding the unselected areas without permanently deleting the pixels of the image. The mask can then be modified at any time to correct or refine the cutout.

Once the Layer Mask option is selected, click the OK button to confirm the settings and apply the layer mask to the layer.

Export the selection of the flowers as a Layer Mask

Confirm the export settings by clicking the OK button

A layer mask was created and linked to the active layer, as shown below. In the Layers panel, this mask appears as a thumbnail linked to the layer thumbnail.

This mask hides the unselected areas while keeping the whole original image. This working method is called non-destructive, because the hidden pixels are not deleted and can be restored at any time.

You can then modify or refine the cutout by painting directly on the layer mask with black, white or gray, to hide, reveal or soften some areas of the image.

Find the layer mask linked to the layer thumbnail in the Layers panel

Export the cut-out image in PNG format

To export the image, use the function File → Export → Export As….

The Export As dialog box then opens and lets you define the export settings of the image. You can in particular choose the file format, the dimensions of the image, the compression quality and the color space to use.

This function is particularly suited to preparing images for the web, social media or any other digital use, because it offers a preview of the final result before export.

Open the Export As dialog box from the File menu

The PNG format exports the image while keeping the transparent areas. This format is particularly suited to cut-out images, because it preserves the transparent background, unlike the JPEG format, which replaces transparency with a solid color.

To export the image in PNG format, select the PNG value in the drop-down list shown by the arrow marked 1. Then check the export settings, and click the Export button (marker 2) to save the image.

The exported image then keeps the transparency defined by the Layer Mask applied previously to the layer.

Choose the PNG format to keep transparency, then click Export

Use the Contiguous option of the Magic Wand Tool

When the Magic Wand Tool is used with the Contiguous option on (marker 2 in the illustration below), only the adjacent pixels with characteristics similar to those of the clicked pixel are selected.

In this example, click at the location shown by marker 1. Only the contiguous pixels that make up the green T-shirt are then included in the selection. The other green areas possibly present in the image are not selected if they are not directly connected to the clicked area.

Note: the label of the T-shirt is not selected, because it is made of white text. The pixels that make it up have color characteristics very different from those of the green pixels of the T-shirt. The Magic Wand Tool therefore excludes them automatically from the selection, despite their proximity in the image.

Select the green T-shirt with the Contiguous option on

In this second example, reduce the Tolerance value of the Magic Wand Tool from 80 to 30. This setting makes the demonstration more relevant, because a tolerance that is too high would have selected a large number of additional areas in the image.

Then click the same location on the green T-shirt with the Magic Wand Tool, but this time with the Contiguous option turned off.

In the illustration below, the selection is no longer limited to the adjacent pixels of the T-shirt. Pixels belonging to the green plant in the upper right part of the image are also selected. When the Contiguous option is turned off, the tool selects all the pixels of similar colors in the image, even if they are in separate areas and are not connected to each other.

This example shows the effect of the Contiguous option on the behavior of the Magic Wand Tool and helps to understand the difference between a selection limited to neighboring pixels and a selection extended to the whole image.

Extend the selection to the green plant with Contiguous turned off

When it is turned off, this option can be particularly useful when several separate areas of the image have similar characteristics and must be selected in a single operation.

For example, when selecting a blue sky partly hidden by the blades of a wind turbine, the sky can appear in several areas separated from each other. With the Contiguous option turned off, the Magic Wand Tool can select all these sky areas at the same time, provided they have similar color characteristics.

This feature saves time by avoiding selecting each area separately. It is particularly useful to select uniform backgrounds, such as a sky, a water surface or a solid-color background spread over several parts of the image.

Remove areas from the selection

Selections made with the Magic Wand Tool can be refined by adding or removing some areas of the initial selection.

In the example below, the areas pointed to by the orange arrows are not included in the initial selection, although they should be. Add them to the selection, then correct the result if needed.

Identify the areas to remove from the selection, shown by orange arrows

Add these areas to the selection with the Magic Wand Tool while holding down the Shift key [Windows shortcut: Shift + click] [Mac shortcut: Shift + click]. During this operation, a “+” sign appears next to the cursor of the tool.

This symbol shows that the selected areas will be added to the existing selection and will not replace the current selection. This method extends a selection gradually by including additional areas with similar characteristics.

In the illustration below, this operation also selects some unwanted areas. Refine the result by removing these areas from the selection with the Subtract from Selection mode, or by holding down the Alt key during the operation [Windows shortcut: Alt + click] [Mac shortcut: Option + click].

This example shows that it is often necessary to combine adding and removing areas to obtain a precise selection suited to the desired result.

Add areas with Shift, which also selects unwanted areas

To limit the selection of unwanted areas, reduce the Tolerance value of the Magic Wand Tool. In this example, decrease the tolerance from 80 to 30 to limit the selection to the pixels whose characteristics are closer to the target area. Depending on the image used, it may be necessary to reduce this value further, for example to 10, to obtain a more precise selection.

To remove an unwanted area from the selection, click it with the Magic Wand Tool while holding down the Alt key [Windows shortcut: Alt + click] [Mac shortcut: Option + click]. A “-” sign then appears next to the cursor of the tool, showing that the selected pixels will be removed from the existing selection.

As the example below shows, this operation effectively removes the unwanted area while keeping the rest of the selection. By combining a suitable Tolerance setting with the Subtract from Selection mode, you can refine the selection gradually and obtain a much more precise result.

Remove an unwanted area with Alt and a Tolerance of 30

🟡 Use the Quick Mask mode

The Quick Mask mode displays a selection as a colored mask that you retouch by painting with the Brush Tool. It suits local corrections of an existing selection, for example after using the Quick Selection Tool.

Create the starting selection

Duplicate the Background layer [Windows shortcut: Ctrl + J] [Mac shortcut: Cmd + J], or right-click the layer, then choose Duplicate Layer….

Choose the Duplicate Layer command in the layer context menu

Identify the Background copy layer above the Background layer in the Layers panel

Select the Quick Selection Tool, then paint over the mug without painting over the spoon. In this example, the selection obtained is approximate.

Choose the Quick Selection Tool in the toolbar

Obtain an approximate selection of the mug with the Quick Selection Tool

Display the selection in Quick Mask mode

Activate the Quick Mask mode by clicking the Edit in Quick Mask Mode icon at the bottom of the toolbar [Windows shortcut: Q] [Mac shortcut: Q]. Photoshop covers the unselected areas with a semi-transparent red mask, while the selected area stays displayed normally.

Identify the Edit in Quick Mask Mode icon in the toolbar

Zoom in on the areas to correct. An area of the mug covered with red is not selected yet (marker 1). Conversely, an area outside the mug and not covered with red is selected by mistake (marker 2).

Identify the two areas to correct on the mug in Quick Mask mode

Retouch the selection with the brush

Select the Brush Tool [Windows shortcut: B] [Mac shortcut: B].

Choose the Brush Tool in the group of tools in the toolbar

Reset the foreground and background colors [Windows shortcut: D] [Mac shortcut: D].

In the options bar, adjust the brush size (Size) and choose a high value for Hardness to obtain sharp edges.

Paint in black over the area selected by mistake (marker 2). In Quick Mask mode, painting in black adds areas to the red mask, and therefore removes them from the selection.

Zoom in on an area outside the mug selected by mistake

Obtain a sharp edge after painting in black over the area selected by mistake

Paint in white over the area of the mug covered with red (marker 1). Painting in white erases the red mask, and therefore adds areas to the selection.

Identify the area of the mug covered with red near the handle

Obtain the restored area of the mug after painting in white

In the illustration below, the selection is corrected with the brush.

Obtain the mug selection corrected with the brush in Quick Mask mode

Soften the edges of the mask (optional)

To obtain a softer transition between the mug and the background, apply a blur to the mask: Filter → Blur → Gaussian Blur…. In this example, enter the value 1 pixel, then click OK. The higher the value, the more gradual the transition.

Choose the Gaussian Blur command in the Filter menu

Enter a radius of 1 pixel in the Gaussian Blur dialog box

Change the appearance of the mask

If the red blends with the colors of the image, double-click the Edit in Quick Mask Mode icon to open the Quick Mask Options dialog box.

This dialog box defines what the color indicates, Masked Areas or Selected Areas, as well as the color (Color) and the opacity (Opacity) of the mask.

Open Quick Mask Options by double-clicking the icon

To change the color, click the Color swatch, choose a color in the Color Picker dialog box, then confirm with OK in each window. In this example, choose yellow.

Choose a yellow color in the Color Picker of the mask

The mask is displayed in the chosen color.

Notice that the mask is displayed in yellow over the unselected areas

Exit the Quick Mask mode

Exit the Quick Mask mode [Windows shortcut: Q] [Mac shortcut: Q]. The red mask disappears and the corrected selection is displayed again as a dotted outline.

Obtain the corrected selection as a dotted outline after exiting Quick Mask mode

Create a layer mask from the selection: click the Add Layer Mask icon at the bottom of the Layers panel.

Click the Add Layer Mask icon of the Layers panel

To check the cutout, insert a layer filled with color under the Background copy layer. The mug appears isolated, handle included, without the spoon.

Check the cutout of the mug on a colored layer under the Background copy layer

Remember the key points

  • Turn on the Quick Mask mode with the Q key to view the selection.
  • Paint in black to remove areas from the selection, and in white to add some.
  • Set the hardness of the brush according to the sharpness of the edges to obtain.
  • Change the color of the mask in Quick Mask Options when the red blends with the subject.

🟡 Select with Color Range

The Color Range command automatically selects pixels according to their color. It is particularly useful to quickly isolate a specific color in an image.

This tool is particularly effective when the colors of the element to select contrast clearly with their surroundings. However, results are often less precise when the colors of the subject blend with those of the background. For example, selecting a fruit in the middle of dense foliage is generally not very convincing, because the hues in the image are too close to one another.

Open this command with the path Select → Color Range.

Open the Color Range command from the Select menu

The Color Range dialog box opens. It selects areas of the image according to their colors. This tool is particularly useful to quickly isolate an object or a specific color without making a manual selection.

Discover the Color Range dialog box

With the Eyedropper Tool, click the colors of the object you want to isolate with this method. For the best results, click the most representative hues of the subject so that Color Range can identify precisely the pixels to select. The more distinct the colors of the object are from those of the background, the more effective the selection is.

Sample the colors of the hot-air balloon with the Eyedropper Tool

Increase the Fuzziness value to widen the range of colors taken into account by Color Range. The higher this value, the more hues close to the sampled color Photoshop includes in the selection. Adjust this parameter gradually to obtain the best balance between precision and extent of the selection.

Widen the color range by increasing the Fuzziness value

With Add to Sample, represented by the “+” eyedropper, click other colors belonging to the object you want to isolate. This technique enriches the sampling and improves the selection when the subject contains several shades of color.

In the illustration below, however, adding more colors increases the noise in the selection. The area under the balloon turns gray in the preview, which shows that unwanted pixels are also taken into account. To correct this problem and refine the selection, reduce the Fuzziness value to limit the range of selected colors.

Add colors with Add to Sample and spot the noise

In this example, decrease the Fuzziness value. In the screenshot below, the object to select, the hot-air balloon, now appears clearly and distinctly in white on the black background in the Color Range dialog box.

This display shows that the selection mainly targets the pixels of the balloon while limiting the unwanted areas of the image. Once the result is obtained, click the OK button to confirm the selection and return to the Photoshop document with the selected area active.

Isolate the balloon in white on black by reducing Fuzziness

The image below shows the balloon selected with the Color Range command. The selection outlines visible around the subject show that Photoshop correctly identified the pixels matching the sampled colors. This selection can now be used to make targeted retouching, apply an adjustment or isolate the balloon from the rest of the image.

Obtain the balloon selection with the Color Range command

🟡 Select highlights, midtones and shadows

Photoshop automatically generates selections from the different brightness ranges of an image: the Highlights, the Midtones and the Shadows. This technique is particularly useful to apply targeted corrections to some areas of the photograph without a manual cutout.

However, the effectiveness of this method depends directly on the tonal structure of the image. To obtain a precise, usable selection, the highlights, midtones and shadows must be clearly identifiable and sufficiently distinct from one another. When the different brightness ranges blend heavily, the resulting selections may lack precision or be of limited interest for retouching.

The example below illustrates this situation perfectly. The photograph is essentially made of two large brightness areas:

  • a very bright sky dominated by the sun and its halo;
  • a foreground made of almost entirely black silhouettes and vegetation.

The Midtones are barely represented in the image. As for the Highlights, they are concentrated mainly around the sun and a part of the sky, without isolating elements that are particularly interesting for local retouching.

By contrast, the Shadows are perfectly defined. The silhouettes of the people, the vegetation and the various elements of the foreground stand out clearly from the bright background. In this specific case, selecting the shadows is therefore the only tonal range that is really usable to generate a relevant selection and obtain a clean result.

Key point: before using selections based on tonal ranges, always take the time to analyze the distribution of brightness in the image. The more distinct the Highlights, Midtones and Shadows are, the more effective and easy to use the selections generated by Photoshop will be. In the example shown, only the Shadows offer a sufficient level of separation to produce a quality selection.

To access this feature, use the following path: Select → Color Range….

Open Color Range to select according to brightness

After choosing the command Select → Color Range…, the Color Range dialog box opens. In the Select drop-down list, choose the Shadows option so that Photoshop automatically identifies the darkest areas of the image.

Choose Shadows in the Select list of Color Range

The area corresponding to the Shadows is now selected. In this image, Photoshop correctly identified the silhouettes of the people, the vegetation and the various elements of the foreground, because these areas have much lower brightness values than the sky in the background.

Obtain the selection of silhouettes and vegetation with Shadows

Once the selection of the Shadows is confirmed, all Photoshop treatments can be applied only to the selected areas. This approach precisely targets the dark parts of the image while preserving the other areas.

In the example below, a color treatment was applied exclusively to the selected shadows.

Apply a color treatment only to the selected shadows

🔴 Use channels as a selection method

Channels are an advanced selection method that uses the brightness information contained in the Red, Green and Blue channels of an image. Unlike classic selection tools that rely on edges or colors, this technique relies on the contrast between the light and dark areas of a channel.

This method is particularly effective when the subject has a strong contrast with its background in one of the channels of the image. It selects complex elements precisely, such as hair, tree branches, foliage, smoke or any other subject with many fine details.

To display the channels, use the command Window → Channels.

In the Channels panel, examine the Red, Green and Blue channels one after another. The goal is to identify the channel with the greatest difference in brightness between the subject to select and its background. The stronger this contrast, the more precise the final selection.

Once the appropriate channel is identified, hold down the Ctrl key and click its thumbnail [Windows shortcut: Ctrl + click on the channel thumbnail] [Mac shortcut: Cmd + click on the channel thumbnail].

Photoshop then converts the grayscale levels of the channel into a selection:

  • white areas are 100% selected;
  • gray areas are partially selected;
  • black areas are not selected.

It is important to understand that this technique does not directly select an object. It turns the brightness differences present in a channel into selected areas. This is why it performs particularly well on images with a strong natural contrast between the subject and the background.

Key point: the success of a selection by channels depends mainly on the quality of the contrast observed in the chosen channel. Before creating a selection, always take the time to compare the Red, Green and Blue channels to identify the one that offers the best separation between the subject and the background.

Open the Channels panel from the Window menu

The photo below has a sufficiently marked color contrast to use the Channels method effectively. The red poppy stands out clearly from the green background of the vegetation. This strong color difference gives a more precise separation of the subject when analyzing the different channels of the image.

Display all channels of a photo of a red poppy on a green background

In the image below, only the Red channel is displayed. The poppy appears very light, with a strong tendency toward white, because red is the dominant color of this flower. Conversely, the vegetation in the background appears much darker, because red components are barely present there. This difference in brightness between the red and green areas gives a very clear separation of the subject, which can be particularly useful to make a precise selection from a channel.

Display only the Red channel, where the poppy appears very light

Hold down the Ctrl key and click the Red channel to load a selection based on the brightness values of this channel [Windows shortcut: Ctrl + click on the Red channel] [Mac shortcut: Cmd + click on the Red channel]. As the poppy contains a high proportion of red, it is selected, while the background vegetation, poorer in red, is barely or not selected. This technique quickly gives a selection of the flower without using traditional selection tools manually.

Load the poppy selection with Ctrl and a click on the Red channel

🔴 Create an advanced selection with Calculations

The Calculations command combines the information from several channels to create a high-contrast mask. This technique is particularly useful when classic selection tools cannot correctly isolate a complex subject, such as a tree with many fine branches.

This chapter uses Calculations to select a tree against a blue sky precisely.

Compare the channels of a photo of a tree against a blue sky

Check which channel, Blue, Green or Red, offers the best contrast between the object you want to select and its background. In this example, the Blue channel gives the best separation between the tree and the sky. The branches appear much darker than the background, which makes it an excellent base to create a precise selection with Calculations.

Choose the Blue channel, which best separates the tree from the sky

Open the command Image → Calculations…. This command combines the information from two channels to create an Alpha Channel with a higher contrast. The goal is to obtain a sharper separation between the subject and the background, which makes it easier to create a precise selection.

Open the Calculations command from the Image menu

In the Calculations dialog box that opens, check that the Multiply blending mode is selected in the Blending list (marker 1 in the image below). Then check that the value 100% is set in the Opacity field (marker 2). Also make sure the New Channel option is selected in the Result list (marker 3). Finally, click the OK button (marker 4) to create a new Alpha Channel from this combination of channels.

Set the Calculations dialog box with the Multiply mode

A new Alpha Channel named Alpha 1 then appears in the Channels panel. This channel contains the result of the combination of channels made by Calculations. Thanks to the Multiply mode, the contrast between the tree and the sky is strengthened.

Find the Alpha 1 Alpha Channel in the Channels panel

The next step is to increase the contrast between the subject to select and its background. To do so, apply a Levels adjustment to the Alpha Channel created previously: Image → Adjustments → Levels.

Apply a Levels adjustment to the created alpha channel

In the Levels dialog box, move the shadows slider (the slider on the left of the histogram) to the right to darken the tree further and increase the contrast with the background. Then move the highlights slider (the slider on the right of the histogram) to the left to lighten the sky. Finally, adjust the midtones slider (the center slider) to refine the overall contrast of the mask. The goal is to obtain branches as dark as possible on a sky as light as possible, while keeping the finest details of the tree. Then click the OK button to confirm the settings.

Move the Levels sliders to strengthen the contrast of the mask

Invert the channel so that the tree becomes white and the sky black: select the Alpha 1 channel, then choose Image → Adjustments → Invert [Windows shortcut: Ctrl + I] [Mac shortcut: Cmd + I]. Without this inversion, the selection would cover the sky and not the tree.

To turn the Alpha Channel into a selection, hold down the Ctrl key and click the thumbnail of the Alpha 1 channel in the Channels panel [Windows shortcut: Ctrl + click on the Alpha 1 channel thumbnail] [Mac shortcut: Cmd + click on the Alpha 1 channel thumbnail].

Once the selection is active, copy the selected pixels with the command Edit → Copy [Windows shortcut: Ctrl + C] [Mac shortcut: Cmd + C].

Load Alpha 1 as a selection with Ctrl and a thumbnail click

Back in the Layers panel, create a new empty layer above the Background layer. Then paste the previously copied content with the command Edit → Paste [Windows shortcut: Ctrl + V] [Mac shortcut: Cmd + V].

To view the result of the selection better, fill the selected areas with a color using the Paint Bucket Tool.

The Calculations method makes an extremely precise selection. Even the finest branches of the tree were kept. This technique is particularly effective for subjects with many delicate details, which would be difficult to select correctly with traditional selection tools.

Obtain a cut-out tree that keeps its finest branches

🟢 Select the sky

Open the image in Photoshop, then duplicate the layer: Layer → Duplicate Layer…. In the Duplicate Layer dialog box, click OK.

Duplicate the Background layer with the Duplicate Layer dialog box

Select the sky: Select → Sky. Photoshop automatically detects the sky areas of the image.

Choose the Sky command in the Select menu

The sky is selected: it appears surrounded by dotted lines.

View the selected sky, outlined by dotted lines around the foliage and the gate

In some cases, for example around vegetation, it is necessary to redefine what is not the sky. In this example, the sky is correctly selected, even between the leaves.

Check that the sky is correctly selected between the leaves of the vegetation

To refine the selection if needed, open the retouching workspace: Select → Select and Mask… [Windows shortcut: Alt + Ctrl + R] [Mac shortcut: Option + Cmd + R].

Open Select and Mask to refine the sky selection

Several display modes are available in the View list (marker 1). In this example, choose Overlay (marker 2) [Windows shortcut: V] [Mac shortcut: V].

Choose the Overlay display mode in the View list

Select the special brush Refine Edge Brush Tool, shown by the arrow below. This tool refines the edges of the selection.

Select the Refine Edge Brush Tool in Select and Mask

In the Output Settings section, choose Layer Mask in the Output To list. The selection is thus converted into a layer mask.

Choose Layer Mask in the Output To list

To modify the selected sky, create a Curves adjustment layer: click the Create new fill or adjustment layer icon at the bottom of the Layers panel, then choose Curves….

Create a Curves adjustment layer from the Layers panel

Change the curve as needed. In this example, change it to strengthen the blue of the sky. The adjustment layer applies only to the sky, thanks to the mask created from the selection.

Change the curve of the Curves 1 layer to strengthen the blue of the sky

To select the sky again, choose Select → Reselect [Windows shortcut: Shift + Ctrl + D] [Mac shortcut: Shift + Cmd + D].

Reselect the sky with the Reselect command of the Select menu

To select the whole scenery except the sky, invert the selection: Select → Inverse [Windows shortcut: Shift + Ctrl + I] [Mac shortcut: Shift + Cmd + I].

Invert the selection with the Inverse command of the Select menu

In this example, create a new Curves adjustment layer to darken the foreground.

Darken the foreground with a second Curves adjustment layer

The next operation does not concern selection, but it also deals with the sky, which can be replaced by another one. It is presented here briefly. Choose Edit → Sky Replacement….

Open Sky Replacement from the Edit menu

In the Sky Replacement dialog box, open the Sky list, shown by the orange arrow below, to choose a new sky.

Choose a new sky in the Sky list of Sky Replacement

In the illustration below, the cloudless sky is replaced by a cloudy sky.

Replace the cloudless sky with a cloudy sky using Sky Replacement

Photoshop creates a layer group named Sky Replacement Group. You can adjust the settings of the layers in this group.

Find the Sky Replacement Group in the Layers panel

🔴 Select vegetation

This chapter explains how to select the vegetation of a landscape photo with Color Range, then how to refine the edges of the foliage with Select and Mask. The resulting selection then lets you change only the color of the vegetation, without touching the sky.

Duplicate the background layer

Duplicate the reference layer Background: right-click this layer in the Layers panel, choose Duplicate Layer…, then confirm with OK. The copy keeps the original image intact.

Open the context menu of the Background layer and choose Duplicate Layer

The new Background copy layer appears above the Background layer.

Obtain the new Background copy layer in the Layers panel

Select the greens with Color Range

Open the color selection feature: Select → Color Range….

Choose Color Range in the Select menu

In the Color Range dialog box, open the Selection Preview list and choose Grayscale. This preview displays the selection in black and white: white areas are selected, black areas are not.

Choose Grayscale in the Selection Preview list

In the illustration below, the selection preview is displayed in grayscale. The clouds appear in white, and are therefore selected, while the vegetation stays mostly black.

View the selection preview in grayscale, with the clouds in white

In the Select list of the dialog box, choose Greens, then click OK.

Choose Greens in the Select list of Color Range

In the illustration below, the vegetation is only partially selected. In this case, this result is not satisfactory.

Observe the partial selection of the vegetation obtained with Greens

Complete the selection with Sampled Colors

Reopen the dialog box: Select → Color Range…. In the Select list, choose Sampled Colors, then click a piece of foliage with the eyedropper to sample its colors. With this option, the Fuzziness setting and the sampling eyedroppers are active.

In this example, remove the selected clouds with the Subtract from Sample eyedropper (–) by clicking the clouds.

Remove the clouds from the selection with the Subtract from Sample eyedropper

Click OK. In the illustration below, the vegetation is well selected.

Obtain the selected vegetation, outlined by dotted lines on the image

To select more vegetation, reopen Color Range, select the Add to Sample eyedropper (+) and set Fuzziness between 40 and 50. In this example, enter the value 44. Click the areas of unselected vegetation, then click OK.

Add vegetation with Add to Sample and a Fuzziness of 44

Check the selection with the Quick Mask mode

Turn on the Quick Mask mode to view the selection [Windows shortcut: Q] [Mac shortcut: Q]. In the illustration below, the red area corresponds to what is not selected. Press the same key again to return to normal mode.

View the selection in Quick Mask mode, with unselected areas in red

Refine the edges with Select and Mask

Open the selection refinement workspace: Select → Select and Mask… [Windows shortcut: Alt + Ctrl + R] [Mac shortcut: Option + Cmd + R].

Choose Select and Mask in the Select menu

In the View list, choose a display mode that highlights the selection. In this example, choose On Black [Windows shortcut: A] [Mac shortcut: A]; Overlay [Windows shortcut: V] [Mac shortcut: V] is also suitable.

Choose the On Black display mode in the View list

Select the Refine Edge Brush Tool [Windows shortcut: R] [Mac shortcut: R] in the toolbar.

Select the Refine Edge Brush Tool in the Select and Mask toolbar

In the Properties panel, set the following options:

  1. Check the Smart Radius box (marker 1).
  2. Increase the Radius value to between 5 and 15 pixels (marker 2). In this example, enter 8 px.
  3. Check the Decontaminate Colors box (marker 3).
  4. In the Output To list, choose New Layer with Layer Mask (marker 4).

Set Smart Radius, Decontaminate Colors and Output To

Then paint with the Refine Edge Brush Tool along the edges of the birch and maple leaves, where they touch the sky.

In the illustration below, the foliage is cut out before using the Refine Edge Brush Tool.

Observe the foliage cutout before using the Refine Edge Brush Tool

After the tool is applied, fine details appear, such as the birch branches shown by the orange arrow.

Observe the fine branches recovered after using the Refine Edge Brush Tool

Click OK. Photoshop creates a new layer with a layer mask, named Background copy 3, above the Background copy layer.

Find the new layer with layer mask in the Layers panel

Change the color of the vegetation for an autumn look

Add an adjustment layer above the Background copy 3 layer. Check that this layer is selected, click the Create new fill or adjustment layer button at the bottom of the Layers panel, then choose Hue/Saturation….

Choose Hue/Saturation in the menu of adjustment layers

In the Properties panel, move the Hue slider to the left to give the vegetation an autumn tone. In this example, enter the value –60 (orange arrow). In the illustration below, the sky is also changed, because the adjustment layer applies to all the layers below it.

Move the Hue slider to the left, which also changes the sky

Limit the adjustment to the vegetation with a clipping mask

A clipping mask limits an adjustment layer to the visible pixels of the layer directly below it. Select the Hue/Saturation 1 layer (marker 1), then choose Layer → Create Clipping Mask [Windows shortcut: Alt + Ctrl + G] [Mac shortcut: Option + Cmd + G] (marker 2).

Choose Create Clipping Mask in the Layer menu

In the illustration below, the sky recovers its original color and only the vegetation takes on autumn tones. A small arrow pointing down shows the presence of the clipping mask.

Obtain the original sky and autumn-toned vegetation thanks to the clipping mask

Remember the key points

  • Choose Sampled Colors when the preset color Greens selects only a part of the vegetation.
  • Check the selection with the Quick Mask mode.
  • Paint the edges with the Refine Edge Brush Tool to recover fine details.
  • Limit an adjustment layer to the vegetation with a clipping mask.

🔴 Select hair

Select hair on a plain background

Duplicate the Background layer [Windows shortcut: Ctrl + J] [Mac shortcut: Cmd + J].

Duplicate the Background layer in the Layers panel

With the Background copy layer selected (marker 1), select the subject of the image: Select → Subject.

Choose the Subject command in the Select menu

Photoshop identifies the person thanks to artificial intelligence (AI).

Wait while the artificial intelligence of Photoshop analyzes the subject

The subject is selected, but the selection of the hair remains approximate and needs to be improved.

Check the approximate hair selection around the subject

To refine the hair selection, open the dedicated workspace: Select → Select and Mask… [Windows shortcut: Alt + Ctrl + R] [Mac shortcut: Option + Cmd + R].

Open Select and Mask from the Select menu

In the View menu, select the Overlay mode. As the orange arrows show, the unselected hair appears in red.

Display the unselected hair in red with the Overlay mode

Then set the following options:

  1. Check the Smart Radius box (marker 1).
  2. In this example, increase the Radius value to 10 pixels (marker 2).
  3. Adjust the Shift Edge value according to the image to process (marker 3).
  4. Check the Decontaminate Colors box (marker 4) to remove reflections of the background on the hair.
  5. In the Output To option, select New Layer with Layer Mask (marker 5).

Set Smart Radius and Output To in the Properties panel

With the Refine Edge Brush Tool selected (marker 1), click the Refine Hair button.

Turn on Refine Hair with the Refine Edge Brush Tool

In this example, the tool works correctly. The screenshot below shows the photo before using Refine Hair.

Observe the hair before applying Refine Hair

The screenshot below shows the photo after applying Refine Hair.

Observe the hair after applying Refine Hair

If needed, refine the hair selection further with the Refine Edge Brush Tool, then click the OK button.

Confirm the refined selection with the OK button

In the screenshot below, the hair displayed on a transparent background appears well cut out.

Check the hair cutout on a transparent background

To check the result, insert a pink layer under the Background copy 2 layer.

Check the cutout with a pink layer placed under the subject

Select hair with channels

Duplicate the Background layer [Windows shortcut: Ctrl + J] [Mac shortcut: Cmd + J].

Duplicate the Background layer before working with channels

Display the Channels panel: Window → Channels.

Display the Channels panel from the Window menu

In this example, select the Blue channel, because it offers a good contrast between the subject and the background.

Select the Blue channel, the most contrasted between subject and background

Duplicate the Blue channel: right-click the channel, then choose Duplicate Channel….

Choose Duplicate Channel in the context menu of the Blue channel

A new channel, Blue copy, appears in the Channels panel.

Locate the Blue copy channel in the Channels panel

Adjust the levels of the channel: Image → Adjustments → Levels… [Windows shortcut: Ctrl + L] [Mac shortcut: Cmd + L].

Open the Levels command in the Adjustments submenu

Move the shadows slider (marker 1) to the right and the highlights slider (marker 2) to the left. Then adjust the midtones slider according to the image, to darken the hair and lighten the background without losing details.

Adjust the Levels sliders to contrast the hair and the background

Invert the tones of the copy of the blue channel: Image → Adjustments → Invert [Windows shortcut: Ctrl + I] [Mac shortcut: Cmd + I].

Invert the tones of the channel with the Invert command

Select the Brush Tool (marker 1) [Windows shortcut: B] [Mac shortcut: B]. Set the foreground color to white (marker 2), then adjust the size of the tool according to the size of the image.

Select the Brush Tool with white as the foreground color

Paint the inside of the person in white, without touching the edges of the hair.

Paint the inside of the person in white on the Blue copy channel

Create a selection: click the thumbnail of the Blue copy channel while holding down the Ctrl key (Windows) or the Cmd key (Mac) [Windows shortcut: Ctrl + click] [Mac shortcut: Cmd + click].

Load the selection by clicking the thumbnail of the Blue copy channel

Select all the channels again.

Display all channels again in the Channels panel

With the Background copy layer selected in the Layers panel, create a layer mask from the selection: click the Add Layer Mask icon.

Create a layer mask from the hair selection

Then create a fill layer: Layer → New Fill Layer → Solid Color….

Choose Solid Color in the menu of fill layers

The Solid Color fill layer appears in the Layers panel. Place it under the Background copy layer so that it does not hide it.

Place the fill layer under the Background copy layer

The hair selection is now visible.

Observe the cut-out hair on the blue background of the fill layer

Hide the fill layer and the Background layer to display the hair on a transparent background.

Check the cut-out strands in close-up on a transparent background

To improve the selection, click the thumbnail of the mask of the Background copy layer again and retouch it.

Click the mask thumbnail to improve the hair selection

The final result is shown on a beige background.

Compare the final cutout result on a beige background

🟡 Work on selections

Once created, a selection can be modified, transformed, inverted and saved without being drawn again. This chapter presents these four actions.

Modify a selection

The command Select → Modify offers five options to adapt an existing selection: Expand, Contract, Feather, Border and Smooth.

Duplicate the Background layer [Windows shortcut: Ctrl + J] [Mac shortcut: Cmd + J].

Select the objects of the scene: Select → Subject.

Choose the Subject command to select the objects of the scene

To enlarge the selection, choose Select → Modify → Expand…. In the Expand Selection dialog box, enter 20 pixels in the Expand By field, then click OK. In this example, this high value makes the effect visible. The selection outline moves away from the subject.

Choose the Expand command in the Modify submenu

Enter 20 pixels in the Expand By field

Observe the expanded outline moving away from the subject around the straw and the jar

To shrink the selection, choose Select → Modify → Contract…, enter 20 pixels in the Contract By field, then click OK. The outline moves toward the center of the subject. On a real cutout, a value of 2 to 3 pixels is enough to remove fringes from the background.

Choose the Contract command in the Modify submenu

Enter 20 pixels in the Contract By field

Observe the contracted outline moving toward the center of the subject

To soften the edges of the selection, choose Select → Modify → Feather… [Windows shortcut: Shift + F6] [Mac shortcut: Shift + F6]. In this example, enter 30 pixels in the Feather Radius field, then click OK.

Choose the Feather command in the Modify submenu

Enter 30 pixels in the Feather Radius field

To view the effect, create a Hue/Saturation adjustment layer: Layer → New Adjustment Layer → Hue/Saturation…. Then move the Hue slider. The color change applies to the objects with a gradual transition toward the background.

Locate the adjustment layer icon at the bottom of the Layers panel

Choose Hue/Saturation to change the color of the orange and the juice

Notice the color change of the objects with a soft transition toward the background

To select only the outline of an object, choose Select → Modify → Border…. In the Border Selection dialog box, enter 30 pixels in the Width field, then click OK. The Border option turns the outline into a band whose width you define, which lets you retouch only the outline of an object.

Choose the Border command in the Modify submenu

Enter 30 pixels in the Width field of the Border Selection dialog box

Observe the selection band following the outline of the bottle cap

The Smooth option rounds irregular edges, for example after a selection made with the Magic Wand Tool.

Transform a selection with Transform Selection

The Transform Selection command modifies only the outline of the selection, without touching the pixels of the image. It resizes, moves or rotates an existing selection without drawing it again.

Select the Elliptical Marquee Tool, then draw an ellipse around the orange. In this example, the resulting selection is slightly too small and offset from the orange.

Choose the Elliptical Marquee Tool in the toolbar

Draw an ellipse around the orange, too small and offset from the fruit

Choose Select → Transform Selection. A frame with handles appears around the selection.

Choose the Transform Selection command in the Select menu

Display the transformation frame with handles around the selection

Drag a handle to change the size of the selection, then drag the inside of the frame to move it. For a precise adjustment, enter values in the X, Y, W and H fields of the options bar.

Adjusting with the handles remains limited. To refine the position of the outline, right-click inside the selection, then choose Warp. Then adjust the anchor points so that the outline follows the shape of the orange. When the placement is finished, click the Done button in the contextual bar of the Warp option.

Choose the Warp option in the context menu of the transformation frame

Display the warp grid around the orange

Adjust the anchor points to follow the shape of the orange

Invert a selection

Inverting a selection swaps the selected and unselected areas. This command is useful when the background is easier to select than the subject, or to retouch the background without touching the subject.

Invert the selection: Select → Inverse [Windows shortcut: Shift + Ctrl + I] [Mac shortcut: Shift + Cmd + I]. Photoshop now selects the background. The dotted lines surround both the objects at the center of the scene and the edges of the image.

Choose the Inverse command in the Select menu

Notice that the inverted selection surrounds the background and the edges of the image

Create a Hue/Saturation adjustment layer: Layer → New Adjustment Layer → Hue/Saturation…. In this example, move the Hue slider to change the color of the background. The mask of the adjustment layer is created from the selection.

Choose Hue/Saturation to change the color of the background

Notice that the background color changes while the objects stay intact

Save and reuse a selection

Saving a selection in an Alpha Channel lets you reload it later without drawing it again.

Save the selection: Select → Save Selection…. In the Save Selection dialog box, enter a name in the Name field. In this example, enter Orange et jus d’orange, then click OK.

Choose the Save Selection command in the Select menu

Name the selection in the Save Selection dialog box

Display the Channels panel: Window → Channels. A new Alpha Channel named Orange et jus d’orange appears: white areas match the selection, black areas match the unselected areas.

Choose Channels in the Window menu

Locate the created alpha channel in the Channels panel

Deselect the area [Windows shortcut: Ctrl + D] [Mac shortcut: Cmd + D]. To reload the selection, choose Select → Load Selection…. In the Load Selection dialog box, choose Orange et jus d’orange in the Channel list, then click OK.

Choose the Load Selection command in the Select menu

Choose the alpha channel in the Channel list of the dialog box

Obtain the reloaded selection around the objects of the scene

You can also reload the selection by clicking the thumbnail of the alpha channel [Windows shortcut: Ctrl + click] [Mac shortcut: Cmd + click].

To keep the alpha channel after the document is closed, save the file in PSD or TIFF format. The JPEG format does not keep alpha channels.

🟡 Apply selection methods according to the case

Apply the subject selection method

In the example presented in this chapter, the subject is clearly identifiable: it is the two apples placed on a sufficiently contrasted background. In this type of situation, use the command Select → Subject, which lets Photoshop automatically identify the main subject of the image.

The goal of this exercise is to select the green apple to change its color and obtain a second red apple.

Run the Subject command on the image of the two apples

Obtain the selection of the two apples detected automatically

To remove the red apple from the selection, activate the Polygonal Lasso Tool (marker 1 in the figure below), then select the Subtract from Selection option (marker 2 in the figure below). This option removes an area from an existing selection. Then draw an outline around the red apple to exclude it from the selection and keep only the green apple.

Activate the Polygonal Lasso Tool in subtraction mode

Then select the red apple with the Polygonal Lasso Tool, as shown below. Thanks to the Subtract from Selection option activated previously, the delimited area is removed from the existing selection. At the end of this operation, only the green apple remains selected.

Surround the red apple to remove it from the selection

Now only the green apple is selected. This selection can be used to apply targeted changes, such as a color adjustment, without affecting the red apple or the other elements of the image. Check that the selection outline surrounds only the green apple before continuing the exercise.

Open the Select and Mask workspace [Windows shortcut: Alt + Ctrl + R] [Mac shortcut: Option + Cmd + R]. This tool refines the edges of the selection and improves the quality of the cutout before applying changes to the image.

Open the Select and Mask workspace to refine the green apple

In the Select and Mask workspace, apply the following settings to refine the edges of the selection:

  • In the Edge Detection section, enter the value 8 px in the Radius field (marker 1).
  • In the Global Refinements section, enter the value 1.5 px in the Feather field (marker 2).
  • In the Global Refinements section, enter the value +21% in the Shift Edge field (marker 3).
  • Once the settings are applied, confirm the changes by clicking the OK button (marker 4).

These parameters give more natural edges and improve the quality of the selection before the color retouching of the green apple.

Set Radius, Feather and Shift Edge, then confirm

Create a new Hue/Saturation adjustment layer to change the color of the selected apple without permanently altering the original image: Layer → New Adjustment Layer → Hue/Saturation.

Using an adjustment layer allows non-destructive changes and keeps the ability to adjust the settings at any time.

Create a Hue/Saturation adjustment layer to recolor the green apple

Confirm the creation of the new adjustment layer by clicking the OK button. A Hue/Saturation layer is then added to the Layers panel.

Because a selection of the green apple was active when the adjustment layer was created, a layer mask is generated automatically. The color changes applied afterward therefore affect only the green apple, without changing the rest of the image.

Obtain a Hue/Saturation layer whose mask is limited to the apple

Then apply the settings of the Hue/Saturation layer to obtain the desired hue, saturation and lightness. Change the values of the Hue, Saturation and Lightness parameters until you obtain a realistic red color for the green apple.

Set Hue, Saturation and Lightness to obtain a realistic red apple

Apply the Magic Wand selection method

As the example below shows, the command Select → Subject fails to identify the main subject of the image correctly. In this type of situation, when the contrast between the subject and the background is insufficient or several elements have similar characteristics, it is better to use another selection method.

Illustrate an incorrect selection obtained with the Subject command

In this case, it is better to use the Magic Wand Tool (marker 1), because the command Select → Subject does not produce a sufficiently precise result.

Set the tool with the following parameters:

  • Turn on the Add to Selection option (marker 2) to be able to add several areas to the same selection.
  • Select the 31 by 31 Average option (marker 3), which lets the tool analyze a wider area around the clicked pixel and obtain a more uniform selection.
  • Enter the value 25 in the Tolerance field (marker 4). This value determines the color difference allowed during the selection.
  • Turn off the Contiguous option (marker 5). Photoshop then selects all the areas of the image with similar color characteristics, even if they are not adjacent.

These settings give a more precise selection when several areas of the image share the same colors or brightness levels.

Set the Magic Wand with a Tolerance of 25 and Contiguous turned off

Click three different locations on the black background to select it. Thanks to the Add to Selection option activated previously, each click adds a new area to the existing selection. This technique gradually includes all the background areas that were not selected by the previous clicks.

Click three places on the black background to add it to the selection

Switch to Quick Mask mode [Windows shortcut: Q] [Mac shortcut: Q]. This mode displays a visual preview of the selection as a colored mask, which makes it easier to identify the areas that are correctly selected and those that need corrections.

Display the selection as a colored mask with Quick Mask mode

Invert the selection to select the flower rather than the background. To do so, use the command Select → Inverse.

After the inversion, the areas previously unselected become selected and, conversely, the selected areas are excluded from the selection. In this example, the flower becomes the selected element, which lets you apply changes or a cutout to it without affecting the background.

Invert the selection with Inverse to select the flower

Obtain the selection of the flower without the background

Create a new Hue/Saturation adjustment layer to change the colors of the flower in a non-destructive way: Layer → New Adjustment Layer → Hue/Saturation.

Create a Hue/Saturation adjustment layer to change the colors of the flower

Name and confirm the new Hue/Saturation adjustment layer

Then apply the settings of the Hue/Saturation layer to enhance the flower. Adjust the Hue, Saturation and Lightness parameters according to the desired result.

Slightly increasing the saturation generally intensifies the colors of the flower, while a moderate lightness adjustment can improve its visibility and its contrast with the background. Test different values until you obtain a visually balanced and natural result.

Thanks to the layer mask linked to the adjustment layer, the changes apply only to the flower, without affecting the background of the image.

Intensify the colors of the flower with Hue, Saturation and Lightness

The image below compares the result before and after the change. The original image is displayed on the left, while the modified image is displayed on the right. This comparison quickly shows the impact of the settings applied to the flower and the improvements in color, saturation and lightness.

Compare the flower before and after the color change

🟢 Choose the right selection method

No selection method suits every image. The right choice depends on the shape of the subject, its contrast with the background and the fineness of its edges. This chapter summarizes the methods presented in this document and offers an approach to choose.

Ask three questions before selecting

  1. What is the shape of the subject: simple and geometric, or irregular?
  2. Does the subject stand out from its background by its color, its brightness or its outline?
  3. Does the subject have fine details, such as hair, branches or foliage?

The answers guide the choice of tool, as the table below shows.

Match each situation to a method

Situation Recommended method Level
Simple geometric shape (rectangle, circle) Rectangular Marquee Tool or Elliptical Marquee Tool 🟢
Irregular outline, medium precision Lasso Tool or Polygonal Lasso Tool 🟢
Sharp, contrasted outline Magnetic Lasso Tool 🟢
Sharp outline, maximum precision Pen Tool, then Load Path as a Selection 🟡
One or several distinct objects Object Selection Tool with Object Finder 🟢
Area of uniform color (plain background) Magic Wand Tool 🟢
Main subject in one click Select → Subject 🟢
Subject to select by painting Quick Selection Tool 🟢
Precise color or tone (greens, shadows, highlights) Color Range 🟡
Sky Select → Sky 🟢
Retouching an existing selection with the brush Quick Mask 🟡
Hair or fur Select and Mask with Refine Hair; otherwise, Channels 🔴
Fine branches or foliage on a contrasted background Channels or Calculations 🔴
Vegetation Color Range, then Select and Mask 🔴

Combine several methods

A single method is rarely enough. Proceed in stages:

  1. Start with the fastest method suited to the image, for example Subject, Object Selection Tool or Magic Wand Tool.
  2. Correct the selection with Add to Selection [Windows shortcut: Shift + click] [Mac shortcut: Shift + click] and Subtract from Selection [Windows shortcut: Alt + click] [Mac shortcut: Option + click].
  3. Refine the edges with Select and Mask or the Quick Mask mode.

Check the quality of the selection

Before applying an adjustment or a mask, check the selection. In the Select and Mask workspace, the Overlay and On Black display modes highlight defects. You can also insert a color layer under the cut-out subject to spot irregular edges or forgotten areas.

Practice on a photo

On a photo containing a sky, a person and grass, the most suitable method differs for each area.

Duplicate the Background layer [Windows shortcut: Ctrl + J] [Mac shortcut: Cmd + J].

Analyze the image with the three questions. In this example, select the sky with Sky, the person with Subject and the grass with Color Range.

Select the sky: Select → Sky. Photoshop automatically detects the sky area.

Open the Select menu and choose the Sky command

Wait for the Sky command to finish analyzing the image

Obtain the sky selection that follows the silhouette of the mountain

Deselect [Windows shortcut: Ctrl + D] [Mac shortcut: Cmd + D], then select the person: Select → Subject. If the edges are approximate, refine them with Select and Mask.

Open the Select menu and choose Subject to detect the person

Wait for the subject detection in the image to finish

Observe the person selected on the meadow with the Subject command

Deselect [Windows shortcut: Ctrl + D] [Mac shortcut: Cmd + D], then select the grass: Select → Color Range….

Choose the Color Range command in the Select menu

In the Select list, choose Greens, then click OK.

Select Greens in the drop-down list of Color Range

Obtain the grass selection with the Greens preset

If the selection is partial, choose Sampled Colors and click the grass with the eyedropper. The Fuzziness value then becomes adjustable.

To check the selection, create a Hue/Saturation adjustment layer: click the adjustment layer icon at the bottom of the Layers panel (marker 1), then choose Hue/Saturation… (marker 2). In this example, move the Hue slider. The adjustment applies only to the selected grass.

Click the adjustment layer icon, then choose Hue/Saturation

Notice that the hue change applies only to the grass

Each area was selected with the method suited to its content.

Remember the key points

  • Analyze the shape, the contrast and the fine details of the subject before choosing a tool.
  • Start with the fastest method, then correct with the add and subtract modes.
  • Refine with Select and Mask or Quick Mask.
  • Keep Channels and Calculations for very fine edges.