Steps:
1. Open your image in Photoshop: Go to `File > Open` and select your portrait image.
2. Duplicate the Background Layer: In the Layers panel (usually on the right-hand side), right-click on the "Background" layer and choose "Duplicate Layer." Name the new layer (e.g., "Subject"). This protects the original image.
3. Select the Magnetic Lasso Tool: In the Tools panel (usually on the left-hand side), find the Lasso Tool icon (it looks like a lasso). Click and hold on it to reveal a fly-out menu. Select the "Magnetic Lasso Tool."
4. Adjust Magnetic Lasso Tool Settings (Important!): In the options bar at the top of the screen, adjust these settings to suit your image:
* Width: Determines how far away from the edge the tool will "snap" to. A higher value allows for more tolerance, but can also lead to inaccurate selections. Start with something between 5 and 20 pixels, then adjust as needed.
* Contrast: Determines how much difference in contrast is needed for the tool to identify an edge. A higher value requires a strong contrast edge. Adjust to match the level of contrast between your subject and the background. Start around 10% and go higher if you have high contrast areas.
* Frequency: Determines how often the tool places "fastening points" along the edge. Higher values create a more detailed selection, but can also slow down your workflow. Start around 50, but lower values for smoother edges.
* Tablet Pressure: Uncheck this. It's unlikely you'll be using tablet pressure for the magnetic lasso.
5. Create the Selection:
* Zoom In: Use `Ctrl + +` (Windows) or `Cmd + +` (Mac) to zoom in on the image, especially around the edges of the subject. This will help you make a more accurate selection.
* Start at a distinct point on the subject's edge: Click to place the first fastening point.
* Move the Mouse Along the Edge: Slowly move the mouse along the edge of the subject. The Magnetic Lasso Tool will automatically "snap" to the edge. You don't need to hold down the mouse button.
* Click to Add Fastening Points Manually: If the tool isn't snapping to the edge correctly, you can manually add fastening points by clicking along the edge. This is especially useful in areas with low contrast or complex details.
* Use the Delete/Backspace Key: If the tool makes a mistake, press the `Delete` or `Backspace` key to remove the last fastening point and reposition the tool.
* Close the Selection: When you reach the starting point, hover over it. A small circle will appear next to the cursor, indicating that you can close the selection. Click to complete the selection.
6. Refine the Selection (Important!): The Magnetic Lasso Tool is rarely perfect. Use the "Select and Mask" workspace to refine the selection:
* Go to `Select > Select and Mask...`
* View Mode: Experiment with different view modes (Overlay, On Black, On White, etc.) to best see the selection edges.
* Global Refinements:
* Smooth: Slightly smooths the selection edge. Increase gently.
* Feather: Softens the edge of the selection, which will help blend the subject with the blurred background. Use a very small amount (0.5 to 2 pixels) depending on your image resolution.
* Contrast: Increase to sharpen the edge of the selection if it appears too blurry.
* Shift Edge: Move the edge inward or outward. A slight negative value can help remove any remaining background halo.
* Refine Edge Brush Tool (Important): On the left toolbar inside Select and Mask, select the "Refine Edge Brush Tool" (it looks like a brush with hair). Use this tool to paint over complex areas like hair or fur. Photoshop will attempt to identify and refine the selection in those areas. Zoom in and out as needed and make the brush size smaller or larger.
* Output Settings: In the Output Settings section at the bottom, choose "Layer Mask" from the "Output To" dropdown. Click "OK."
7. Invert the Selection (Important): The current layer mask is masking *the subject*. You want to blur the *background*, so you need to invert the layer mask. Select the "Subject" layer's mask (the black and white thumbnail), and then press `Ctrl + I` (Windows) or `Cmd + I` (Mac) to invert the mask. The subject should now be visible, and the background should be masked.
8. Blur the Background:
* Select the Background Layer: Click on the "Background" layer (or the duplicated "Background copy" layer if you didn't duplicate the "Subject" layer earlier). Make sure you are selecting the *layer* and not a layer mask.
* Apply a Blur Filter: Go to `Filter > Blur > Gaussian Blur...`
* Adjust the Radius: In the Gaussian Blur dialog box, adjust the "Radius" slider until you achieve the desired level of blur. A small radius (e.g., 2-5 pixels) will create a subtle blur, while a larger radius will create a more dramatic blur. Experiment until you are satisfied with the result. Click "OK."
9. Fine-Tune (Optional):
* Adjust Layer Mask: If you notice any areas where the selection isn't quite right (e.g., a halo around the subject), you can edit the layer mask:
* Select the layer mask thumbnail for the "Subject" layer.
* Choose the Brush Tool.
* Set the foreground color to black to hide areas (remove them from the mask to show the blurred background).
* Set the foreground color to white to reveal areas (add them to the mask to hide the blurred background).
* Use a soft-edged brush for smoother transitions.
* Adjust Blur Strength: If the blur is too strong or too weak, you can adjust the opacity of the blurred background layer.
Tips and Considerations:
* Practice: Mastering the Magnetic Lasso Tool and refining selections takes practice. Don't be discouraged if your first attempt isn't perfect.
* High-Resolution Images: Higher-resolution images will allow for more detail in the selection and a more realistic blur.
* Subject Complexity: The more complex the subject's edges (e.g., hair blowing in the wind), the more challenging this method will be. For very complex edges, consider using more advanced selection techniques like Channels or specialized masking tools.
* Feathering: Use feathering sparingly. Too much feathering can make the subject look like it's glowing or poorly integrated with the background.
* Alternative Tools: For more complex selections, explore other selection tools such as the Quick Selection Tool, the Pen Tool, or dedicated masking tools like those found in plugins.
* Don't Overdo It: A subtle blur is often more effective than an extreme blur. The goal is to create a pleasing depth of field effect, not to completely obscure the background.
By following these steps and tips, you can successfully blur the background of a portrait using the Magnetic Lasso Tool in Photoshop. Good luck!