1. Open Your Image in Photoshop:
* Go to `File > Open` and select the portrait image you want to edit.
2. Select the Magnetic Lasso Tool:
* In the toolbar on the left, find the Lasso Tool icon. Click and hold on it (or right-click) to reveal a dropdown menu.
* Choose the Magnetic Lasso Tool. Its icon looks like a lasso with a small magnet.
3. Adjust Magnetic Lasso Tool Settings:
* Look at the top options bar (under the main menu). Adjust these settings before you begin tracing:
* Width: Determines the "search area" the lasso uses to find edges. A higher value means it looks further from your cursor. Start with a value like `5-10 px` and adjust as needed. For higher-resolution images, you may need a slightly larger width. If it's sticking to the wrong edges, reduce the width.
* Contrast: Affects how sensitive the tool is to changes in color or brightness. A higher value makes it more likely to stick to strong edges. Start with something like `10%` and increase if you're having trouble with the lasso finding the edge.
* Frequency: Controls how often the tool places anchor points along the selection. More points provide a more detailed selection but can make the path more complex to edit. Start with a value of `50` and adjust based on the complexity of the edge. If the lasso is wandering off, increase the frequency.
* Tablet Pressure for Size: If you are using a drawing tablet, you can check this option to allow the pen pressure to influence the width of the selection.
* Edge Detection Options (Newer Photoshop Versions): Some newer versions might have more advanced edge detection options to fine-tune the selection. Experiment with these if they're available.
4. Create the Selection:
* Start Tracing: Click once on the edge of the subject where you want to begin your selection.
* Guide the Lasso: Slowly move your mouse or pen along the edge of your subject. The Magnetic Lasso Tool will automatically "snap" to the edge. You don't need to click constantly.
* Add Anchor Points Manually: If the lasso is having trouble finding the edge in certain areas (due to low contrast or similar colors), click to manually add an anchor point. This forces the lasso to stick at that point.
* Correct Mistakes:
* Backspace/Delete: Press Backspace (or Delete on Mac) to remove the last anchor point if you made a mistake. You can repeatedly press it to remove several points.
* Close the Selection: To complete the selection, move your mouse back to the starting point. A small circle will appear next to the cursor. Click to close the selection. Alternatively, double-click anywhere within the image to automatically close the selection with a straight line connecting the current point to the starting point. This can sometimes create an undesirable selection.
5. Refine the Selection (Crucial Step!):
* The Magnetic Lasso Tool is good, but it rarely creates a perfect selection. Use the "Select and Mask" workspace (previously "Refine Edge") to improve it:
* Go to `Select > Select and Mask...` (or, with the selection active, look in the Options Bar and click the "Select and Mask" button).
* In the Select and Mask workspace:
* View Mode: Choose a view mode that makes it easy to see the selection (e.g., "Overlay" with a contrasting color, or "On Black/White").
* Global Refinements:
* Smooth: Reduces jagged edges. Use a small value (1-3).
* Feather: Blurs the selection edge. Start with a very small value (0.5-1 px) and increase gradually. Too much feathering can make the selection look blurry.
* Contrast: Sharpens the edges. Use sparingly.
* Shift Edge: Positive values expand the selection, negative values contract it. Use this to fine-tune whether you're including or excluding parts of the subject.
* Tools:
* Refine Edge Brush Tool (Second Tool in the Toolbar - looks like a brush with hair): This is the most important tool here. Use it to paint along the edges of hair, fur, or other complex areas. It tries to intelligently separate the foreground from the background. Paint over the edges where you want to improve the selection. Adjust the brush size using the `[` and `]` keys.
* Brush Tool (First Tool): Add to or subtract from the selection manually. Hold `Alt/Option` to subtract.
* Output Settings:
* Output To: Choose "Selection" if you want to return to the main Photoshop interface with a refined selection. Choose "New Layer with Layer Mask" to create a new layer with the subject and a mask automatically. This is the recommended option, as it is non-destructive.
* Click "OK" to exit Select and Mask.
6. Blur the Background:
Now you have a selection (or a layer mask) isolating the subject. There are a couple of ways to proceed:
* Method 1: If you ended up with a Selection (instead of a Layer Mask)
1. Inverse the Selection: Go to `Select > Inverse`. This selects the background.
2. Apply the Blur: Go to `Filter > Blur > Gaussian Blur...`
3. Adjust the Radius: In the Gaussian Blur dialog, adjust the "Radius" slider until you achieve the desired level of blur. A higher radius creates a stronger blur. Be careful not to overdo it; a subtle blur often looks more natural.
4. Click "OK".
* Method 2: If you output a New Layer with Layer Mask (Recommended)
1. Select the Background Layer: In the Layers panel, select the original background layer (the one that is *not* the layer with the mask).
2. Apply the Blur: Go to `Filter > Blur > Gaussian Blur...`
3. Adjust the Radius: As above, adjust the "Radius" slider to control the blur amount.
4. Click "OK".
7. Optional: Refine the Blur (with Layer Mask)
* If you created a Layer Mask, you can refine the blur further:
* Select the Layer Mask: In the Layers panel, click on the Layer Mask thumbnail (the black and white rectangle next to the layer thumbnail).
* Use the Brush Tool:
* Black Brush: Paint with black on the mask to *hide* the blur in certain areas (making the original background visible). For example, you might want to partially reveal the background near the subject's hair to make the transition more natural.
* White Brush: Paint with white on the mask to *reveal* the blur.
* Opacity: Adjust the brush's opacity (in the Options Bar) for subtle transitions. A lower opacity creates a more gradual effect.
8. Adjustments for Realism (Optional):
* Color Adjustments: Sometimes blurring the background can change the perceived color relationship between the subject and the background. Use adjustment layers (e.g., Color Balance, Curves) to subtly adjust the color of the background to better match the overall scene.
* Depth of Field: A true shallow depth of field often has a gradual blur transition. You can simulate this by using different blur amounts in different parts of the background. Use Layer Masks and the Gaussian Blur filter repeatedly to achieve this. Create a more blurred area closer to the camera, and a slightly less blurred area farther away.
* Lens Effects (Optional - Use Sparingly): Photoshop has lens effects (e.g., `Filter > Blur Gallery > Iris Blur`) that can simulate bokeh (the aesthetic quality of out-of-focus areas). These can add a more realistic touch, but be careful not to overdo it.
Tips for Success:
* Zoom In: Zoom in closely when using the Magnetic Lasso Tool, especially around complex edges like hair.
* Patience is Key: Take your time, especially when refining the selection. The better the selection, the better the final result.
* Non-Destructive Editing: Always use layer masks instead of directly deleting or modifying pixels. This allows you to make changes later without damaging the original image.
* Practice: The Magnetic Lasso Tool can be tricky to master. Practice on different images to get a feel for how the settings affect the selection.
* Consider Alternatives: For very complex selections, especially hair, consider using more advanced selection techniques like color range selection or dedicated hair selection plugins (e.g., Topaz Mask AI). The pen tool is also very accurate, but more time-consuming.
* High-Resolution Images: Work with the highest-resolution version of your image possible. This will provide more detail and allow for more accurate selections.
* Experiment: Don't be afraid to experiment with different settings and techniques to find what works best for your specific image.
* Subtle is Best: A subtle blur often looks more natural than an exaggerated one.
By following these steps and tips, you can effectively blur the background of a portrait using the Magnetic Lasso Tool in Photoshop and create a professional-looking result. Remember that refinement is key! Good luck!