Before You Start:
* Open Your Image: In Photoshop, go to `File > Open` and select your portrait image.
* Duplicate the Layer: This is a good practice for non-destructive editing. Right-click on your background layer in the Layers panel (usually named "Background") and select `Duplicate Layer...`. Name the duplicate something like "Portrait" or "Subject". We'll be working on this duplicate.
Steps:
1. Select the Magnetic Lasso Tool: In the Tools panel (usually on the left side of your screen), find the Lasso Tool icon. Click and hold on the icon to reveal the flyout menu, and then select the `Magnetic Lasso Tool`.
2. Adjust Tool Settings (Important): In the Options bar at the top of the screen, adjust the following settings for the Magnetic Lasso Tool. These settings are crucial for a good selection:
* Width: This controls the area around the cursor that the Magnetic Lasso Tool searches for edges. A value between `5 px` and `20 px` is a good starting point. Adjust it based on the complexity of the edges in your image. Smaller for fine details, larger for less distinct edges.
* Contrast: This controls how sensitive the tool is to changes in color and tone. Higher contrast values will cause the tool to snap to edges more aggressively, even if they are subtle. A value between `10%` and `25%` is a good starting point. Increase the value if the tool isn't picking up the edges or decrease it if it is picking up things you don't want.
* Frequency: This controls how often the tool places anchor points (the little dots that define the selection). A higher frequency will result in a more detailed selection but may also make the selection process slower. Values between `50` and `75` are generally good.
* Pen Pressure (Tablet Users): If you are using a graphics tablet, you can check the `Pen Pressure` box to control the width with your pen pressure. This is an advanced feature but can be very helpful.
3. Start Tracing the Subject: Find a clear, well-defined edge on your subject (e.g., the side of their face, shoulder, or hair). Click to create your first anchor point.
4. Move Along the Edge: Slowly move your cursor along the edge of the subject. The Magnetic Lasso Tool will automatically snap to the edge. If the tool drifts off the edge, you can:
* Manually Add Anchor Points: Click to add an anchor point at the correct location. This forces the tool to stay on track.
* Undo an Anchor Point: Press the `Delete` or `Backspace` key to remove the last anchor point.
5. Zoom In for Detail: Use the Zoom Tool (magnifying glass icon) or the keyboard shortcuts `Ctrl + +` (Windows) or `Cmd + +` (Mac) to zoom in for better precision, especially around hair or other complex areas. Zooming in and out while working is very common.
6. Complete the Selection: Continue tracing the edge of your subject until you reach the starting point. When your cursor is near the starting point, a small circle will appear next to the cursor. Click on the starting point to close the selection. You should now have a "marching ants" outline around your subject.
7. Refine the Selection (Important!): The Magnetic Lasso Tool is good, but rarely perfect, especially with hair. You'll use the `Select and Mask` workspace to refine the edges.
* Go to `Select > Select and Mask...` This opens the Select and Mask workspace.
* View Mode: In the Properties panel on the right, choose a View Mode that helps you see the edges of your selection. `Overlay` (default) or `On Black` are often good choices.
* Global Refinements: Adjust these sliders first:
* Smooth: Slightly smooths the selection edge. Start with a small value, like `1` or `2`.
* Feather: Blurs the selection edge slightly. Very small values like `0.5 px` to `1 px` can help blend the selection. *Be very careful with feathering*. Too much will look blurry and unprofessional.
* Contrast: Increases the contrast of the edge, useful for sharper edges.
* Shift Edge: Moves the selection edge inward or outward. A slight negative value (e.g., `-1%`) can help remove fringes of the background color.
* Refine Edge Brush Tool (Crucial for Hair): This tool is your best friend for hair. Select the `Refine Edge Brush Tool` (looks like a paintbrush with hair strands).
* Paint along the edges of the hair with the Refine Edge Brush Tool. Photoshop will attempt to separate the hair from the background. Adjust the brush size as needed using the `[` and `]` keys.
* Be patient and make small strokes.
* Output Settings: At the bottom of the Properties panel, under "Output Settings", change the `Output To` dropdown to "New Layer with Layer Mask". This creates a new layer with a mask based on your refined selection. This is the best option for preserving the original image.
* Click `OK`.
8. Blur the Background: Now that you have your subject isolated on a new layer with a layer mask, you can blur the background.
* Select the Original Background Layer: Click on the original "Background" layer in the Layers panel to make it the active layer.
* 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 amount of blur. A value between `5 px` and `20 px` is a good starting point, but it depends on the resolution of your image and how much blur you want.
* Click `OK`.
9. Fine-Tune (Optional):
* Adjust the Layer Mask: If you see any halos or areas where the selection is imperfect, you can edit the layer mask on the "Subject" layer.
* Click on the layer mask thumbnail (the black and white rectangle) next to the "Subject" layer.
* Select the Brush Tool (B).
* Set your foreground color to black to hide areas (erase) or white to reveal areas (add).
* Paint on the layer mask to refine the selection. Use a soft-edged brush for smoother transitions.
* Adjust Opacity: You can adjust the opacity of the "Subject" layer to subtly blend it with the background.
Important Tips and Considerations:
* Practice: The Magnetic Lasso Tool takes practice to master. Don't be discouraged if your first attempts aren't perfect.
* High-Resolution Images: The higher the resolution of your image, the more detailed your selection needs to be.
* Complex Edges: If the subject has very complex edges (e.g., extremely fine hair), the Magnetic Lasso Tool might not be the best choice. Consider using other selection methods, such as the Pen Tool or Channels.
* Non-Destructive Editing: Using layer masks allows you to edit the selection later without permanently altering the original image data.
* Blur Type: While Gaussian Blur is a common choice, experiment with other blur filters like Lens Blur or Field Blur for different effects. Lens Blur can simulate the bokeh of a real camera lens. Field Blur allows you to vary the amount of blur at different points in the background.
* Feathering: Use feathering sparingly. Too much feathering will make the subject look pasted in. Small amounts are okay for a natural blend.
By following these steps and practicing, you'll be able to effectively blur the background of your portraits using the Magnetic Lasso Tool in Photoshop. Remember to experiment with different settings and techniques to achieve the best results for your specific image. Good luck!