I. Preparation
1. Open Your Image: Open the portrait image you want to edit in Photoshop.
2. Duplicate the Layer (Important!): Go to `Layer > New > Layer via Copy` or press `Ctrl/Cmd + J`. This creates a duplicate of your original image layer. This protects your original and allows non-destructive editing. Work on the copied layer.
3. Rename Layers (Optional but Recommended): Double-click on the layer names in the Layers panel and rename them to something like:
* "Background Original" (the original untouched layer)
* "Portrait Focus" (the copy we'll be working on)
II. Select the Subject (Portrait)
1. Select the Magnetic Lasso Tool: In the Tools panel (usually on the left), find the Lasso Tool. Click and hold on it to reveal a fly-out menu. Choose the Magnetic Lasso Tool.
2. Magnetic Lasso Tool Settings (Adjust as needed): At the top of the Photoshop window, you'll see options for the Magnetic Lasso Tool. Here's what they generally do, and suggested starting points:
* Width: Determines how far the tool searches for an edge. Start with a value between `5` and `20` pixels. Increase if the edge detection is failing, decrease if it's sticking to the wrong areas.
* Contrast: Controls the sensitivity to contrast changes. Higher values are better for images with distinct edges; lower values are better for images with subtle edges. Start with `10-20%`.
* Frequency: Determines how often the tool places anchor points (the little dots along the selection). Higher frequency means more anchor points and a potentially more accurate selection, but it can also make the selection process slower and more prone to errors if the edge isn't well-defined. Start with a value of `50-60`. Adjust based on the complexity of the edge.
* Tablet Pressure for Size: If you're using a graphics tablet, you can enable this option to control the width of the tool dynamically with pen pressure. Very useful for fine details.
3. Start Tracing:
* Click once on the edge of your subject (the portrait) where you want to start the selection.
* Slowly move the mouse cursor along the edge of the subject. The Magnetic Lasso Tool will automatically try to "snap" to the edge.
* If the tool is straying, you can click manually to add anchor points. This forces the selection to follow your clicks.
* Correcting Mistakes:
* If the Magnetic Lasso adds an anchor point in the wrong place, press the `Delete` key (or `Backspace` on some keyboards) to remove the last anchor point and continue tracing.
* Closing the Selection: When you've traced all the way around the subject and are back at your starting point, hover the mouse cursor over the starting anchor point. A small circle will appear next to the cursor. Click to close the selection.
III. Refine the Selection (Crucial for a Good Result!)
1. Refine Edge (Select and Mask): Go to `Select > Select and Mask...` (In older versions of Photoshop, this might be `Select > Refine Edge`). This opens the Select and Mask workspace.
2. Select and Mask Settings: The settings here are *critical* to getting a good, clean selection, especially around hair:
* View Mode: Choose a view mode that helps you see the selection clearly (e.g., "On White," "On Black," or "Overlay"). "Overlay" (red overlay) is often a good starting point.
* Global Refinements:
* Smooth: Slightly smooths the selection edge. Start with a value of `1` to `3`.
* Feather: Softens the selection edge. A small amount of feathering is usually beneficial for portraits to prevent a harsh outline. Try `0.5` to `1` pixel.
* Contrast: Increases the contrast of the edge. Start with a value of `10%`.
* Shift Edge: This is important! It expands or contracts the selection. A *slightly negative* value (`-1%` to `-5%`) often helps to remove any fringing (color halos) around the subject's edges. Experiment! If you see a white outline on the subject when you blur the background, use a negative Shift Edge value.
* Refine Edge Brush Tool (The most important part for hair!):
* Select the Refine Edge Brush Tool (it's the brush icon in the Select and Mask toolbar).
* Paint along the *edges of the subject's hair* (or any other areas with fine details) where the selection isn't perfect. Photoshop will analyze the colors and try to reconstruct the hair strands. Use a brush size that is appropriate for the detail you're working on. Don't overdo it; a few strokes are often enough.
* Experiment with different brush sizes and pressures.
* Output Settings:
* Output To: Select "Layer Mask". This creates a layer mask on your current layer (the "Portrait Focus" layer) based on your refined selection.
* Click "OK".
IV. Blur the Background
1. Select the Background Layer: In the Layers panel, click on the "Background Original" layer (the one *below* the "Portrait Focus" layer). Make sure it is selected.
2. Apply Blur: Go to `Filter > Blur > Gaussian Blur...`
3. Adjust Blur Radius: In the Gaussian Blur dialog box, adjust the "Radius" slider until you achieve the desired level of blur. Higher values create a stronger blur. A value between `5` and `20` pixels is a good starting point, but it depends on the image and your desired effect.
4. Click OK.
V. Fine-Tune (If Necessary)
1. Adjust Layer Mask (if needed): If the selection isn't perfect (e.g., some background is still sharp, or part of the subject is blurred), you can edit the layer mask on the "Portrait Focus" layer.
* Select the layer mask thumbnail on the "Portrait Focus" layer (click on the black and white square next to the layer name).
* Choose the Brush Tool.
* Set the brush color to Black to *hide* parts of the "Portrait Focus" layer (reveal the blurred background).
* Set the brush color to White to *reveal* parts of the "Portrait Focus" layer (unblur areas that are incorrectly blurred).
* Use a soft-edged brush for smoother transitions. Adjust the brush size and opacity as needed.
2. Check for Halos: Look closely around the edges of the subject for any noticeable "halos" (light or dark outlines). If you see halos, try these solutions:
* Shift Edge in Select and Mask: Go back to `Select > Select and Mask...` on the "Portrait Focus" layer and adjust the "Shift Edge" slider further in the negative direction.
* Clone Stamp Tool (Carefully!): Select the "Portrait Focus" layer (not the mask). Choose the Clone Stamp Tool. Alt-click (Option-click on Mac) on an area *near* the halo that has the correct color. Then, paint over the halo to blend it in. Use a soft-edged brush and be very careful not to overdo it. This is a delicate process.
3. Adjust Blur Strength (Optional): If the blur is too strong or too weak, you can re-apply the Gaussian Blur filter to the "Background Original" layer.
Tips and Considerations:
* Practice Makes Perfect: The Magnetic Lasso Tool and refining selections takes practice. Don't get discouraged if your first attempt isn't perfect.
* High-Resolution Images: Work with high-resolution images whenever possible, as this gives you more detail to work with and makes the final result look better.
* Non-Destructive Editing: Always work on a duplicate layer and use layer masks. This allows you to make changes without permanently altering your original image.
* Pay Attention to Detail: The key to a convincing blur effect is to pay close attention to the edges of the subject. Take your time with the Refine Edge feature.
* Experiment! Don't be afraid to experiment with different settings and techniques to find what works best for your specific image.
* Save in a Format that Preserves Layers: Save your final image as a `.PSD` file (Photoshop Document) to preserve all of your layers and allow you to make further edits later. When you're ready to share or print, save a flattened copy as a `.JPEG` or `.PNG`.
* Use Smart Objects: If you convert your background layer to a Smart Object (`Layer > Smart Objects > Convert to Smart Object`) *before* applying the Gaussian Blur, the filter will be applied as a *Smart Filter*. This means you can adjust the blur radius later without losing image quality.
* Frequency Adjustment: If the lasso keeps attaching to the wrong things, lowering the frequency a bit can help. If the lasso misses too much of the detail, raise it.
* Manual Anchor Points: If the Magnetic Lasso is consistently failing in a particular area, add anchor points manually by clicking along the edge.
* Pen Tablet Advantage: Using a graphics tablet with pressure sensitivity can significantly improve the accuracy and control of your selections, especially when using the Refine Edge Brush Tool.
* More Modern Selection Tools: Photoshop has significantly improved selection tools like "Select Subject" and the "Object Selection Tool." These might provide a faster and better starting point for your selection. Use them first and then refine with "Select and Mask" if needed.
Good luck! Have fun!