Understanding the Process
The general process involves:
1. Selecting the Subject: Precisely outlining the subject (the person in the portrait) using the Magnetic Lasso Tool.
2. Inverting the Selection: Changing the selection to focus on the background instead of the subject.
3. Applying the Blur: Using a blur filter on the selected background to create the desired depth of field effect.
Step-by-Step Instructions
1. Open Your Image in Photoshop:
* Launch Photoshop.
* Go to `File > Open` and select the portrait image you want to edit.
2. Duplicate the Layer (Non-Destructive Editing):
* In the Layers panel (usually on the right side), right-click on the background layer (often named "Background").
* Select `Duplicate Layer...`.
* Name the duplicate layer something descriptive (e.g., "Portrait_Layer") and click `OK`. This allows you to work non-destructively, meaning you can always revert to the original.
3. Select the Magnetic Lasso Tool:
* In the Tools panel (usually on the left side), find the Lasso Tool. It might be visible directly, or you might need to click and hold on the Lasso Tool icon to reveal a flyout menu.
* From the flyout menu, select the Magnetic Lasso Tool. It looks like a lasso with a small magnet attached.
4. Adjust Magnetic Lasso Tool Settings (Crucial for Accuracy):
* Look at the Options Bar at the top of the screen. These settings are important for getting a good selection. Here's a breakdown of key settings and recommended starting points:
* Width: Controls how far the Magnetic Lasso Tool searches for an edge. Start with a value between 5-10 pixels. Adjust this based on the contrast between the subject and the background. Higher contrast = lower width; lower contrast = higher width.
* Contrast: How sensitive the tool is to changes in color and brightness. Start with 10% - 20%. Increase if the edges are well-defined; decrease if they are less defined.
* Frequency: How often the tool places anchor points along the edge. A higher frequency (e.g., 50-60) creates more anchor points and a more precise selection, but also requires more processing power. A lower frequency (e.g., 10-20) is faster but might be less accurate. Start in the middle and adjust as needed.
* Pen Pressure: If you're using a graphics tablet, this allows you to control the width of the tool with pen pressure. Leave it unchecked unless you're using a tablet and want this feature.
* Anti-alias: Make sure this is checked to smooth the edges of your selection and avoid jaggedness.
5. Create the Selection:
* Start at a clear edge: Click once on the edge of the subject where it meets the background. This creates your starting anchor point.
* Move the Cursor Along the Edge: Slowly and steadily move the cursor along the edge of your subject. The Magnetic Lasso Tool will automatically snap to what it perceives as the edge. DO NOT CLICK unless you need to manually add an anchor point. The tool is constantly trying to find the edge based on the settings you've configured.
* Adding Anchor Points Manually (If Needed): If the tool struggles with a section (e.g., low contrast, complex details), click manually to place an anchor point. This forces the tool to adhere to that specific point.
* Correcting Mistakes:
* Press the `Delete` or `Backspace` key: This will remove the last anchor point you placed (either automatically or manually). Keep pressing to undo several points if needed.
* Release and Restart: If the selection goes completely wrong in a section, just let go of the mouse button. This will stop the current selection path. You can then click again a little further back to start a new segment.
* Close the Selection: When you've traced all the way around the subject, hover the cursor back over your starting anchor point. A small circle will appear next to the cursor. Click to close the selection. You should now see the "marching ants" (a dashed line) indicating your selection.
6. Refine the Edge (Important for a Realistic Look):
* Go to `Select > Select and Mask...` (formerly `Refine Edge`). This is crucial for getting a clean, realistic separation between the subject and the blurred background, especially around hair and other fine details.
* View: Choose a view mode that helps you see the edge clearly (e.g., `Onion Skin`, `Overlay`, `On White`).
* Global Refinements:
* Smooth: Slightly smooth the selection edge. A value of 1-3 is often good.
* Feather: Soften the edge. Start with a low value, like 0.5-1 pixels. Too much feathering will make the selection look blurry.
* Contrast: Increase contrast to sharpen the edge. A value of 5-15 can be useful.
* Shift Edge: Adjust the selection inward or outward. A negative value (-1 to -3) can help remove any background halo; a positive value might be needed if you accidentally cut off part of the subject.
* Edge Detection:
* Radius: This is where the magic happens, especially for hair. Check the "Smart Radius" box. Then, adjust the Radius slider *slowly*. A radius of 1-5 pixels is often a good starting point, but it depends on the image. The goal is to have the selection accurately follow the hair strands without introducing artifacts.
* Show Original: Toggle this option on and off to see how your adjustments are affecting the original selection.
* Output Settings:
* Output To: Choose `New Layer with Layer Mask`. This is the safest option as it creates a new layer with a mask based on your refined selection, keeping the original intact.
* Click `OK`.
7. Invert the Selection:
* In the Layers panel, select the *original* duplicate layer (the one you created in step 2, before using Select and Mask).
* Go to `Select > Inverse`. This will select everything *except* the subject (i.e., the background).
8. Apply the Blur:
* Go to `Filter > Blur > Gaussian Blur...` (Gaussian Blur is a common and effective choice).
* In the Gaussian Blur dialog box, adjust the Radius slider. This controls the amount of blur. Start with a low value (e.g., 2-5 pixels) and gradually increase it until you achieve the desired level of background blur. Pay attention to how the blur looks around the edges of the subject.
* Click `OK`.
9. Fine-Tune the Blur (Optional):
* If the blur is too strong in some areas, you can use a Layer Mask on the duplicate layer (the one you blurred). Add a layer mask to that layer (if you haven't already in the `Select and Mask` step).
* Use a soft-edged brush with black as the foreground color to paint on the mask and reduce the blur in specific areas (e.g., if you want to keep a part of the background slightly sharper). Use white to restore the blur.
10. Save Your Work:
* Go to `File > Save As...`
* Choose a file format that preserves layers (e.g., Photoshop PSD or TIFF) so you can edit the image later if needed.
* You can also save a flattened version (e.g., JPEG) for sharing.
Tips for Better Results
* Zoom In: Zoom in to at least 100% while using the Magnetic Lasso Tool for greater precision.
* Practice Makes Perfect: The Magnetic Lasso Tool can be a bit finicky. Don't get discouraged if your first few attempts aren't perfect. The more you practice, the better you'll become at using it.
* Consider Alternative Tools: For very complex selections (especially around hair), consider using other tools like the Pen Tool (more precise but more time-consuming), Channels (based on color differences), or plugins specifically designed for masking. Photoshop has significantly improved its selection capabilities over the years.
* Non-Destructive Workflow: 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 Edges: The quality of your selection is crucial for a realistic blur effect. Spend time refining the edges to avoid halos or jagged lines. The `Select and Mask` workspace is essential.
* Subtlety is Key: Don't overdo the blur. A subtle blur is usually more effective than a very strong one. Consider the aperture you're trying to simulate.
* Vary the Blur: In some cases, you might want to use different levels of blur in different areas of the background to create a more realistic depth of field. You can achieve this by using multiple blurred layers with different masks.
By following these steps and practicing, you can effectively blur the background of your portraits in Photoshop using the Magnetic Lasso Tool and achieve a professional-looking result. Remember that the best settings will depend on the specific image you're working with, so experiment to find what works best.