Sub topic 6
Starting from Select Subject
Select Subject is a one-click command that finds the most prominent subject in an image and turns it into a selection. This chapter covers where the command lives, what it analyzes, where it fails, and how to use its result as a starting point instead of a finished product.
This chapter assumes you can find the toolbar, Options bar, and Layers panel, and that you know the difference between a layer and the Background. It also assumes you know the add, subtract, and intersect modes from earlier chapters. Select Subject output is an ordinary selection, so everything you already know about editing selections applies to it.
What Select Subject does
Select Subject uses a trained machine-learning model to look at the image and decide which pixels belong to the main subject. Photoshop then builds a marching-ants selection from that decision. You don't click, paint, or draw anything.
The model recognizes categories such as people, animals, vehicles, and common objects. It also handles many things it was never explicitly trained on, by treating the visually dominant region as the subject. It does not know what you intended. It picks what looks most prominent, and that is sometimes not what you wanted.
The result is not a special object. It is the same kind of selection you get from any other tool. You can:
- add to it, subtract from it, or intersect it with another selection
- feather it, or grow, shrink, and smooth it with Select > Modify
- send it to Select and Mask
- save it, or convert it to a layer mask
Where to find it
The same command appears in several places. They all run the same analysis.
| Location | When it is useful |
|---|---|
| Select > Subject (menu bar) | Works with any tool active. |
| Select Subject button in the Options bar | Appears with the Object Selection tool and the Quick Selection tool. |
| Select Subject button in the contextual Task Bar | Shows up when you have an image open and no active selection, if the Task Bar is visible. |
| Select Subject button in Select and Mask | Lets you restart from a fresh subject guess while refining. |
| Remove Background in the Properties panel | Runs Select Subject and applies the result as a layer mask in one step. |
The exact set of buttons depends on your Photoshop version. If you don't see one, use Select > Subject. It is the most stable entry point.
Remove Background differs from the others in one important way. It doesn't leave you with a selection to review. It creates a layer mask right away. That is fast, but you can still correct it later, because a mask is editable. The final chapters cover masks in more detail.
How it picks pixels
Select Subject works on the pixels of the layer you have active. Three practical consequences follow.
- If the image is a single layer or the Background, there is nothing to think about. The command analyzes it directly.
- If the subject is spread across several layers, such as a person on one layer and a hat on another, the active layer may not contain the whole subject. A common fix is to make a merged copy of the visible layers (Ctrl+Alt+Shift+E on Windows, Cmd+Option+Shift+E on macOS), run Select Subject on that copy, and then delete or hide the copy once you've saved the selection. Check that this behaves the same in your version.
- Adjustment layers and layer effects are not part of the pixels the model sees unless they are merged into the layer being analyzed.
Some versions of Photoshop also offer a processing choice for the command, with a faster on-device option and a more detailed cloud option. If you see a Device and Cloud option near the Select Subject button, Cloud tends to give a more precise edge but needs a network connection and takes longer. If the option is not in your version, ignore this paragraph.
A worked example
Suppose you have a photo of a cyclist on a road, and you want to place the cyclist on a different background.
- Open the photo. Make sure the layer you want to analyze is active in the Layers panel. If it is the Background, that is fine.
- Choose Select > Subject. Wait a second or two. Marching ants appear around the cyclist.
- Press Q to enter Quick Mask mode. This shows the selection as a colored overlay, so you can see which areas are covered. By default the overlay covers the unselected areas. Press Q again to return to the marching ants.
- Look for three kinds of error: missing parts, extra parts, and rough edges. Typical misses are thin items like spokes and a trailing strap. Typical extras are the bicycle's shadow and a bit of road between the wheels. Rough edges show up at hair and the helmet's fuzzy foam.
- Fix the missing and extra parts with other tools. Use the Quick Selection or Object Selection tool in add mode for a missing area. Hold Alt (Windows) or Option (macOS) to subtract an extra area. Use the Lasso with Alt/Option held for a large unwanted region such as a shadow.
- Open Select and Mask for the rough edges, and send the result to a layer mask.
The key habit is step 3. Never trust the marching ants alone, because they hide small gaps and thin spurs. Quick Mask or the Select and Mask overlay shows them.
What it handles well and what it doesn't
Select Subject performs best when the subject is separated from the background by contrast, color, or depth of field. A person in sharp focus against a blurred background is the ideal case.
| Situation | Typical result | Better approach |
|---|---|---|
| Single clear subject, plain or blurred background | Accurate body, slightly soft edges | Accept, then refine edges in Select and Mask. |
| Several similar subjects, such as a group of people | May select all, some, or only the closest | Run it, then add or subtract individuals with Object Selection. |
| Subject holding or touching an object | Object may be included or excluded unpredictably | Fix with add or subtract using Quick Selection. |
| Subject with a strong shadow | Shadow often included | Subtract the shadow with the Lasso. |
| Low contrast, such as a gray cat on gray gravel | Edge drifts into the background | Use Object Selection with a rectangle, or Magnetic Lasso, then refine. |
| Thin structures, such as wires, fences, and spokes | Often filled in or dropped | Subtract the fill with the Lasso, or use Select and Mask. |
| Flat graphics, logos, text on a plain field | Can be erratic, because there is no photographic subject | Use Color Range or the Magic Wand. |
| Image where the "subject" is the whole frame, such as a landscape | Picks a single prominent feature | Use a different method. Select Subject is not meant for scenes. |
Edge quality
The edge Select Subject produces is not the same as a hand-traced edge. Two things stand out:
- It is smooth and often slightly rounded. Fine detail such as individual hairs is approximated, not traced.
- It can sit a pixel or two inside or outside the real edge. Inside leaves a thin halo of background color when you move the subject to a new backdrop. Outside includes a thin rim of the old background.
Both problems are best fixed in Select and Mask, using Shift Edge and Decontaminate Colors. A tiny Contract or Smooth under Select > Modify can also help, but use the smallest value that works. Large values destroy shape.
Combining Select Subject with other tools
Treat Select Subject as the first draft. Three patterns come up constantly.
Pattern 1: Select Subject, then subtract
Run the command, then switch to the Lasso or Polygonal Lasso and hold Alt/Option to carve away shadows, floor, or held objects. This is the fastest approach when the model's guess is too generous.
Pattern 2: Select Subject, then add
If the model missed part of the subject, switch to the Quick Selection tool or Object Selection tool. Hold Shift and drag over the missing part. With Object Selection, a rectangle drawn around the missed part is usually enough.
Pattern 3: Select Subject as an intersect guide
If you want only part of the subject, such as a person's jacket, draw a loose lasso around the area with Shift+Alt (Windows) or Shift+Option (macOS) held at the start of the drag. That intersects your loose outline with the subject, and you get a clean subject edge with a simple boundary where you drew. This works because the model supplies the precise edge and you only supply the rough region.
Common mistakes
- Running it on the wrong layer. The selection looks odd or covers nothing useful. Check which layer is highlighted in the Layers panel.
- Running it twice. If a selection is already active, the new result replaces it in the default mode. In most cases that is what you want, but if you were trying to add to a selection, use the add mode first.
- Judging it at zoomed-out size. At 25 percent, almost every selection looks correct. Zoom to 100 percent around hair, hands, and edges before you decide it is finished.
- Using it on non-photographic art. Illustrations with flat fills and hard edges are better served by the Magic Wand or Color Range.
- Over-feathering to hide problems. Feathering blurs the edge of a selection. It conceals jaggedness, but it also lets background bleed into the cutout. Fix the shape first.
Summary of the decision
Use Select Subject first when the image has one obvious subject and you want a quick base to work from. Skip it when the subject is a low-contrast, flat graphic, or a scene with no single focus. In those cases, start with Object Selection, Quick Selection, or a Lasso tool, which the following chapters compare directly.
Exercise
You run Select > Subject on a photo of a dog standing on grass, and the selection includes the dog's long shadow. Describe two ways to remove the shadow from the selection, and name the check you should make afterward.
Show answer
Option 1: choose the Lasso tool, hold Alt (Windows) or Option (macOS) to subtract, and draw around the shadow so only the shadow area is removed. Option 2: choose the Quick Selection or Object Selection tool, switch to subtract mode (Alt/Option), and paint or drag over the shadow. Afterward, press Q to view the selection in Quick Mask and zoom to 100 percent along the dog's paws, where the shadow touches the animal, to confirm no part of the dog was removed and no shadow remains.
Exercise
A colleague uses Remove Background on a portrait and finds hair edges look rough on a new backdrop. Why can they still fix this, and where would they do it?
Show answer
Remove Background applies the Select Subject result as a layer mask, not as a permanent deletion of pixels. The mask remains editable, so they can select the mask, open Select and Mask, and adjust edge settings such as Shift Edge and Decontaminate Colors, or paint on the mask with black and white to correct individual areas.
Exercise
You want only a person's jacket from a photo of a person in front of a wall. Explain how to use Select Subject together with the Lasso to get it, and which modifier keys you use.
Show answer
Run Select > Subject so the person is selected with a precise edge. Choose the Lasso tool, then hold Shift+Alt (Windows) or Shift+Option (macOS) and start dragging to draw a loose outline around the jacket. This sets the mode to intersect, so the final selection is the overlap of the subject and your outline. The jacket edge comes from the model, and the cut across the body comes from your outline. Release the keys once the drag has started, and finish the loop back at the starting point.