I. Preparation
1. Open Your Image: Open the portrait image you want to edit in Photoshop (File > Open).
2. Duplicate the Background Layer (Important): Go to the Layers panel (Window > Layers if it's not visible). Right-click on the "Background" layer and choose "Duplicate Layer..." This creates a copy of your original image. Name it something like "Layer 1" or "Subject Selection" so you know what it is for. This is a non-destructive editing technique, protecting your original image.
II. Selecting the Subject with the Magnetic Lasso Tool
1. Select the Magnetic Lasso Tool: Find the Lasso Tool in the Tools panel (usually on the left side of the screen). Click and hold on the Lasso Tool icon to reveal a flyout menu. Select the "Magnetic Lasso Tool."
2. Adjust Magnetic Lasso Settings (In the Options Bar at the top of the screen):
* Width: Determines how far the lasso will look for an edge. Start with a smaller value (e.g., 5-10 pixels) and increase it if needed. Too high of a value can cause the lasso to snap to unwanted edges.
* Contrast: Adjusts the sensitivity of the lasso to contrast. Higher contrast values make the lasso more sensitive to changes in color and brightness, so use higher values when you have good separation between your subject and background. Lower contrast values are good for low contrast areas.
* Frequency: Controls the number of anchor points placed as you trace around the subject. Higher frequency means more anchor points, creating a more precise (but potentially more jagged) selection. Lower frequency means fewer anchor points, creating a smoother (but potentially less accurate) selection. Start with a moderate value (e.g., 50) and adjust as needed.
* Tablet Pressure for Size: If you're using a graphics tablet, you can check this box to control the width of the lasso based on pen pressure.
* Other considerations: Keep "Anti-Alias" checked. This will smooth out the selection and prevent jagged edges.
3. Start Tracing: Find a clear starting point on the edge of your subject. Click once with the Magnetic Lasso Tool to set the initial anchor point.
4. Trace Around the Subject: Slowly move your mouse cursor along the edge of the subject. You don't need to click repeatedly. The Magnetic Lasso Tool will automatically try to snap to the edge based on the contrast. Let it do its job!
5. Correcting Mistakes (Very Important):
* Backspace/Delete Key: If the lasso snaps to the wrong area, press the Backspace or Delete key to remove the last anchor point. Then, reposition your mouse and continue tracing.
* Click to Add Anchor Points: If you're in an area where the edge is unclear, click to manually add an anchor point, forcing the lasso to stick to that spot.
6. Close the Selection: When you've traced all the way around the subject, bring your mouse cursor back to the starting anchor point. You'll see a small circle appear next to the cursor. Click on the starting anchor point to close the selection. You should now see the "marching ants" outline around your subject.
III. Refining the Selection (Crucial for a Realistic Result)
1. Select and Mask Workspace: With the subject selected, go to the "Select" menu at the top of the screen and choose "Select and Mask..." This opens the Select and Mask workspace, which provides powerful tools for refining selections, especially around hair and other fine details.
2. Select Tool: Ensure that the "View" dropdown menu is set to "Overlay". You should now see your selection masked in red, or a color of your choice.
3. Refine Edge Brush Tool (Important): In the Tools panel of the Select and Mask workspace, choose the "Refine Edge Brush Tool" (it looks like a paintbrush with hair flowing from it).
4. Brush Over Edges: Carefully brush along the edges of your subject, especially around hair, fur, or other areas with fine details. The Refine Edge Brush Tool will analyze the image and try to identify and select the fine details that might have been missed by the Magnetic Lasso Tool. Zoom in to work more precisely.
5. Adjust Settings (In the Properties Panel on the right):
* Radius: Adjust the radius to define the area around the edge that the Refine Edge Brush Tool will analyze. A smaller radius is good for sharp edges; a larger radius is good for soft edges and hair.
* Smooth: Smooths out the selection edge.
* Feather: Softens the selection edge, blending it more naturally with the background.
* Contrast: Increases the contrast between the selection and the background.
* Shift Edge: Moves the selection edge inward or outward. A negative value shrinks the selection; a positive value expands it.
6. Decontaminate Colors (Optional, but Often Helpful): Check the "Decontaminate Colors" box at the bottom of the Properties panel. This helps remove color fringing or color spill from the background onto the subject's edges.
7. Output Settings:
* In the "Output To" dropdown menu, choose "New Layer with Layer Mask." This will create a new layer with a layer mask based on your selection. This is the recommended option because it's non-destructive.
* Click "OK."
IV. Blurring the Background
1. Select the Background Layer: In the Layers panel, click on the original "Background" layer (or the layer you duplicated *before* the subject selection). This is the layer you'll be blurring.
2. Apply Gaussian Blur:
* Go to the "Filter" menu at the top of the screen, then choose "Blur" > "Gaussian Blur..."
3. Adjust the Radius: In the Gaussian Blur dialog box, adjust the "Radius" slider to control the amount of blur. A small radius will create a subtle blur; a larger radius will create a more dramatic blur. Experiment to find the right amount of blur for your image and desired effect.
4. Click OK: Once you're happy with the blur, click "OK."
V. Final Adjustments (Optional)
* Adjust Mask Density: If the edge between the subject and the blurred background looks too harsh, you can adjust the density of the layer mask. In the layers panel, select the mask (the black and white thumbnail on the "Subject Selection" layer). Then, in the Properties panel (Window > Properties if it's not visible), adjust the "Density" slider. Lowering the density makes the mask more transparent, blending the subject with the background slightly.
* Color Correction: You might need to adjust the colors of the subject or the background to make them blend together better. Use adjustment layers (Layer > New Adjustment Layer) like Curves, Levels, or Color Balance.
* Sharpening: You might want to selectively sharpen the subject slightly to make them stand out more against the blurred background. Use the Sharpen Tool or a High Pass filter on a separate layer (carefully!) to sharpen only the subject.
Troubleshooting Tips and Considerations
* Poor Edge Contrast: If the contrast between the subject and the background is weak, the Magnetic Lasso Tool might struggle. Consider using the Pen Tool for a more precise selection.
* Complex Subjects (Hair, Fur): The Refine Edge Brush Tool is essential for handling complex edges like hair or fur. Take your time and zoom in to work accurately.
* Over-Blurring: Be careful not to over-blur the background, as it can look unnatural. Subtle blurring often works best.
* Non-Destructive Editing: Always work on duplicated layers and use layer masks. This allows you to make changes without affecting your original image.
* Practice: The more you practice with the Magnetic Lasso Tool and the Select and Mask workspace, the better you'll become at making accurate and natural-looking selections.
By following these steps, you can effectively blur the background of a portrait using the Magnetic Lasso Tool and other selection refining techniques in Photoshop, creating a professional and visually appealing result. Good luck!