Skip to content
Tutorials Center
My learning

Topics

Lesson 14 of 37 ยท Layers and Selections

Quick Selection, Select Subject and Refine Edge

Select people, objects and hair quickly with Quick Selection, Object Selection and Select Subject, then polish edges in the Select and Mask workspace.

Marquees and wands are fine for geometric shapes and flat colours, but real photographs have hair, fur, shadows and soft edges. Photoshop's modern selection tools use edge detection and machine learning to do most of the work in a click, and the Select and Mask workspace handles the tricky edges. Getting a clean selection is the foundation of cut-outs, background changes and local adjustments.

Photoshop is not available on this site, so these are instructions for your own copy. Some tools (Select Subject, Object Selection, Select Sky) analyse your picture with Adobe's models, and you should check results by eye every time. The stand-ins below model the logic of edges and refinement, nothing more.

Quick Selection tool (W)

The Quick Selection tool works like a brush that grows a selection to the nearest edges. Choose a brush size that fits the area, and drag or click inside the object. Photoshop expands the selection until it detects a boundary. Then:

  • Hold Alt/Option (or choose the minus brush) to subtract mistakes.
  • Use a smaller brush near thin or detailed edges.
  • Tick Auto-Enhance to smooth the edge automatically (it also makes the edge slightly less accurate).
  • Tick Sample All Layers if the subject is spread over several layers.

It is quick and good for objects with clear contrast against the background, such as a mug on a table.

Object Selection tool (W)

The Object Selection tool lets you drag a rough rectangle (or a loose lasso) around an object and it works out the object's outline inside it. Turn on Object Finder and simply hover; Photoshop highlights detected objects and you click to select them. Use Add, Subtract and Intersect modes just like other selections. It works well on separate objects (cars, bottles, people) but can merge things that touch.

Select Subject, Select Sky and the Contextual Task Bar

  • Select > Subject finds the main subject automatically. It is a fast first pass for portraits and product shots; then correct with the Quick Selection tool.
  • Select > Sky finds the sky and makes a selection that you can use for a replacement or a separate adjustment.
  • Select > Focus Area selects the in-focus region of a shallow-depth-of-field photo.
  • The Contextual Task Bar (a floating bar near your selection or document in recent versions) offers buttons such as Select subject, Remove background and Generative Fill. Remove background applies a mask for you without deleting pixels.
  • Select > Color Range selects by colour you sample, with a Fuzziness slider and the ability to target Highlights, Midtones and Shadows or presets like Skin Tones. It is ideal when the Wand is too crude because the selection is based on colour across the whole image.

A selection workflow

First pass Select Subject, Object Selection or Quick Selection.
Correct Add and subtract with Shift and Alt/Option.
Refine Select and Mask for hair and edges.
Output Layer mask, not a hard delete.

Always check at 100 percent.

1 / 2

The Select and Mask workspace

Click Select and Mask in the options bar (or Select > Select and Mask, Ctrl/Cmd + Alt/Option + R). A dedicated workspace opens with its own tools and a Properties panel. The key controls:

View Mode shows the selection in different ways: Onion Skin, Marching Ants, Overlay, On Black, On White, Black & White and On Layers. Switch between on white and on black to spot halos. Press F to cycle through modes and X to see the original.

Tools: Quick Selection, Refine Edge Brush (paint over hair and fuzzy edges so Photoshop works out semi-transparent pixels), Brush (paint to add or subtract manually), Object Selection, Lasso, Hand and Zoom.

Global Refinements sliders:

  • Smooth: removes jaggies (0-100).
  • Feather: softens the edge by a number of pixels.
  • Contrast: tightens a soft, fuzzy edge.
  • Shift Edge: moves the edge in (negative) or out (positive), which is the fix for a dark or light halo around a cut-out.

Edge Detection: Radius sets how wide a band around the edge Photoshop analyses; Smart Radius adapts the radius to hard and soft parts of the edge.

Output Settings: Decontaminate Colors replaces fringe colours at the edge with nearby subject colours (it needs a new layer or document as output), and Output To offers Selection, Layer Mask (recommended), New Layer, New Layer with Layer Mask, or New Document.

Outputting to a layer mask keeps everything editable, as covered in the Masks and Compositing chapter of the Photoshop course.

When the subject has hair, set the view to On Black or On White first, then paint with the Refine Edge Brush along the hair, and use Shift Edge at -10 to -20% to kill halos.

How an edge detector thinks

To make the idea of "growing to the nearest edge" concrete, this stand-in finds an object boundary in a row of brightness values by looking for the largest jump between neighbours, and then grows a selection from a click until it meets that jump. It is a simplified stand-in, not Photoshop's algorithm.

JS Stand-in: grow until an edge

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The three clicks pick the dark left region (0 to 3), the bright subject (4 to 8) and the dark right region (9 to 11). This is the intuition behind Quick Selection: stay inside similar regions, stop at strong contrast.

Shift Edge and Contrast, in numbers

Refinement sliders act on the selection's greyscale mask. Contrast pushes the soft edge values towards 0 or 1, and Shift Edge moves the threshold. This stand-in shows both on a soft edge profile.

JS Stand-in: contrast and shift edge

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Higher contrast makes the ramp steeper, so the transition occupies fewer pixels. Shifting down removes the outermost semi-transparent pixels, which is exactly why Shift Edge removes halos. Photoshop's actual maths differ, so treat these as a mental model.

Choosing the right tool

Situation Try first
Product on a plain background Select Subject or Magic Wand on the background, then invert
Person with hair Select Subject, then Select and Mask with Refine Edge Brush
Clear-edged object Object Selection (rectangle) or Quick Selection
Sky Select > Sky
Colour-based, scattered areas (red flowers) Color Range
Geometric shapes Marquee or Polygonal Lasso
Precise vector outline Pen tool, then Make Selection

The Pen tool route, explained in the drawing lessons of this course, gives crisp, perfectly smooth edges for hard objects, and the path stays editable.

Common mistakes

  • Trusting the first result. Zoom in and check edges against a contrasting background, such as a bright colour fill layer under the cutout.
  • Leaving halos. Use Shift Edge, Decontaminate Colors or a slight Contract (Select > Modify > Contract) before masking.
  • Over-feathering, which makes the subject look pasted with a glow.
  • Deleting the background instead of masking it, which is irreversible.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which Select and Mask tool helps with hair and fuzzy edges?

    The Refine Edge Brush lets Photoshop calculate partial transparency along fine detail.
  2. 2. A cut-out shows a thin dark halo. Which control helps most?

    A negative Shift Edge contracts the mask so the halo pixels are excluded.
  3. 3. What is the recommended output of Select and Mask for a non-destructive result?

    A layer mask keeps the original pixels and lets you fix the edge later.
  4. 4. Which command selects pixels by colour across the whole image with a Fuzziness slider?

    Color Range samples colours and uses fuzziness to widen or narrow the selection.

Summary

  • Quick Selection, Object Selection and Select Subject build selections from edges and learned object detection.
  • Select > Sky, Focus Area and Color Range cover special cases.
  • Select and Mask refines edges: Refine Edge Brush, Smooth, Feather, Contrast, Shift Edge and Decontaminate Colors.
  • Output to a layer mask, never delete background pixels.
  • Check cut-outs on contrasting backgrounds at 100%.

Next: Smart Objects and Layer Groups