Before You Start:
* Image Quality: The success of this method depends largely on the quality of your portrait. Clear separation between the subject and background will yield better results.
* Photoshop Version: This guide assumes you're using a relatively modern version of Photoshop (CS6 or later). Features and menu locations might vary slightly in older versions.
* Non-Destructive Editing (Important!): We'll use methods that allow you to easily undo or adjust the blur later. This is *crucial*.
Steps:
1. Open Your Image:
* In Photoshop, go to `File > Open...` and select your portrait image.
2. Duplicate the Background Layer:
* This is your safety net. If you make mistakes, you can easily revert.
* In the Layers panel (usually on the right side of the screen), right-click on the "Background" layer.
* Select "Duplicate Layer..."
* Name the new layer something like "Subject Layer" or "Selected Subject".
3. Select the Subject with the Magnetic Lasso Tool:
* Select the Magnetic Lasso Tool: Find it in the Tools panel on the left (it might be nested with the Lasso Tool and Polygonal Lasso Tool - long press to choose it).
* Set Magnetic Lasso Options (Important): At the top of the Photoshop window, look for the options bar for the Magnetic Lasso Tool. Adjust these settings based on your image:
* Width: This controls how far the tool will search for an edge (in pixels). Start with a value between 5 and 10 pixels and adjust as needed. A higher value is useful for softer edges but can make the selection less accurate.
* Contrast: This determines how much contrast the tool needs to detect an edge. A higher contrast setting is useful for images with well-defined edges. Try a value around 10-20%. Adjust according to your photo.
* Frequency: This controls how often the tool places fastening points (the little anchor points along the selection line). A higher frequency is better for complex edges, but it can also make the selection process slower. Start around 50 and adjust.
* Feather: Set this to 0 for now. We'll deal with feathering later.
* Add to Selection/Subtract from Selection: These buttons are crucial if you need to refine your selection.
* Begin the Selection:
* Click on the edge of your subject to create the starting point.
* Slowly move the cursor along the edge of the subject. The Magnetic Lasso Tool will try to "snap" to the edge based on contrast and the settings you chose.
* Pay close attention to detail, especially around hair, clothing edges, and other intricate areas.
* If the tool makes a mistake and snaps to the wrong place, you can press the `Delete` or `Backspace` key to remove the last fastening point and reposition the cursor.
* For straight lines, click to manually create a fastening point.
* When you reach the starting point, click on it to close the selection.
4. Refine the Selection (Absolutely Critical):
* The Magnetic Lasso Tool is rarely perfect. Use these methods to improve the selection:
* Select and Mask (Recommended):
* Go to `Select > Select and Mask...` (This replaces the old "Refine Edge" dialog).
* View Mode: Choose a view mode that helps you see the selection clearly (e.g., "Overlay" or "On Black").
* Global Refinements:
* Smooth: Increases the smoothness of the selection boundary.
* Feather: Softens the edges of the selection. A subtle feather (0.5 - 2 pixels) can help blend the subject and background naturally. Use sparingly.
* Contrast: Sharpens the edges of the selection.
* Shift Edge: Moves the selection boundary inward or outward. A negative value can help remove unwanted background fringes.
* Edge Detection:
* Radius: This is the most important setting. It tells Photoshop to search for edges within the specified radius. A small radius (1-2 pixels) is often sufficient. For complex hair, you might need a larger radius, but use it sparingly.
* Smart Radius: Usually, leave this checked. It allows Photoshop to dynamically adjust the radius based on the image content.
* Refine Edge Brush Tool (the brush icon on the left):
* This is your best friend! Use this brush to paint along the edges of the hair or other difficult areas. Photoshop will try to separate the foreground and background. Experiment with the brush size and settings. Holding `Alt` (or `Option` on Mac) while brushing will *remove* from the selection.
* Output Settings:
* Output To: Choose "New Layer with Layer Mask". This creates a new layer with a mask that represents your selection. This is non-destructive.
* Click "OK".
* Manual Refinement (if Select and Mask isn't enough):
* After making your initial selection with the Magnetic Lasso, use the regular Lasso Tool (or Polygonal Lasso Tool) in conjunction with the `Shift` and `Alt/Option` keys.
* Hold `Shift` while using the Lasso Tool to *add* to the selection. Draw around areas that should be included in the subject.
* Hold `Alt` (or `Option` on Mac) while using the Lasso Tool to *subtract* from the selection. Draw around areas that should be excluded from the subject. This is useful for removing stray background pixels.
* Quick Mask Mode (Q): Press `Q` to enter Quick Mask mode. Your selection will be represented by a red overlay. You can then use the Brush Tool (B) with black to paint away areas you want to *remove* from the selection, and white to paint in areas you want to *add*. Press `Q` again to exit Quick Mask mode.
5. Blur the Background:
* Option 1: Blur the Background Layer Directly (Less Flexible):
* Make sure the duplicated "Subject Layer" (the one with the layer mask) is selected.
* Hide the "Subject Layer" by clicking the eye icon next to its name in the Layers panel.
* Select the *original* "Background" layer.
* Go to `Filter > Blur > Gaussian Blur...`
* Adjust the "Radius" slider until you achieve the desired level of blur. Start with a small radius (e.g., 2-5 pixels) and increase it gradually. Keep an eye on the edges of the subject to make sure the blur isn't too strong and doesn't create a halo.
* Click "OK".
* Unhide the "Subject Layer" (click the eye icon again).
* Problem with this approach: It's destructive. If you want to change the blur later, you have to undo and redo the filter.
* Option 2: Smart Object with Blur (More Flexible - Recommended):
* Make sure the "Subject Layer" (the one with the layer mask) is selected.
* Hide the "Subject Layer" by clicking the eye icon next to its name in the Layers panel.
* Select the *original* "Background" layer.
* Right-click on the "Background" layer in the Layers panel and choose "Convert to Smart Object".
* Go to `Filter > Blur > Gaussian Blur...`
* Adjust the "Radius" slider until you achieve the desired level of blur. Start with a small radius (e.g., 2-5 pixels) and increase it gradually.
* Click "OK".
* Unhide the "Subject Layer" (click the eye icon again).
* Benefit of Smart Objects: The Gaussian Blur is now a "Smart Filter". You can double-click on "Gaussian Blur" under the "Background" layer in the Layers panel to adjust the blur radius at any time without losing quality. You can also mask the blur by double clicking the Smart Filter Mask.
* Option 3: Create a Separate Blurred Layer (Most Flexible):
* Make sure the "Subject Layer" is selected.
* Press `Ctrl+J` (Windows) or `Cmd+J` (Mac) to duplicate the "Subject Layer". This creates a new layer with the layer mask applied.
* Right-click on this *new* duplicated layer and choose "Apply Layer Mask". This makes the mask permanent and cuts out the subject from the new layer.
* Drag this new layer *below* the original "Subject Layer" in the Layers panel.
* Apply Gaussian Blur to this *new* layer (either directly or by converting it to a Smart Object first, as described above).
* Benefit of this approach: You have complete control over the blurred background. You can adjust the blur, the opacity, or even apply other effects to the background without affecting the subject. You can also easily add a background color.
6. Clean Up Edges (If Necessary):
* Even with careful selection and masking, you might still see a slight halo or fringe around the subject's edges.
* Clone Stamp Tool (S): Use the Clone Stamp Tool to carefully blend the edges. Sample from the background near the edge and paint over the halo. Use a soft brush and a small diameter.
* Burn and Dodge Tools (O): Use the Burn Tool (set to "Midtones" or "Shadows") to darken the edges of the background slightly, or the Dodge Tool (set to "Midtones" or "Highlights") to lighten the edges of the subject slightly. This can help to blend the two together. Use these tools *very* subtly.
* Healing Brush Tool (J): This can sometimes be used to blend textures from the background into the edge to get a more natural transition.
7. Adjust Colors and Tones (Optional):
* Sometimes, after blurring the background, the colors and tones of the subject and background might not quite match.
* Use adjustment layers (e.g., Curves, Levels, Color Balance) to fine-tune the colors and tones. Clip the adjustment layers to either the subject layer or the blurred background layer to affect only that area. To clip, create an adjustment layer, and in the Layers panel, right-click the adjustment layer and select "Create Clipping Mask" (or `Alt/Option + click` between the adjustment layer and the layer below it).
8. Save Your Work:
* `File > Save As...`
* Save as a `.PSD` file to preserve layers and allow for future editing.
* Save a copy as a `.JPG` or `.PNG` for sharing.
Tips and Considerations:
* Non-Destructive Workflow is Key: Always work with layers and layer masks. Avoid making permanent changes to your original image data.
* Start with High-Resolution Images: Working with high-resolution images gives you more flexibility and detail for selections and blurring.
* The Right Tool for the Job: The Magnetic Lasso Tool is good for clearly defined edges, but for complex selections (especially hair), consider these alternatives:
* Pen Tool: The most accurate selection tool, but requires practice to master.
* Quick Selection Tool: Good for quickly selecting large areas, then refining with Select and Mask.
* Channels: Use image channels to create masks based on luminance or color differences (more advanced).
* Consider Depth of Field: When blurring the background, think about the natural depth of field in a photograph. The blur should be more pronounced further away from the subject. You can simulate this by applying different levels of blur to different parts of the background (using multiple blurred layers and masks).
* Avoid Over-Blurring: Too much blur can look unnatural. Aim for a subtle and pleasing effect.
* Experiment: Don't be afraid to experiment with different techniques and settings to find what works best for your specific image.
Example Scenario:
Let's say you have a portrait of a person standing in front of a busy street scene.
1. You'd use the Magnetic Lasso Tool to select the person.
2. Refine the selection with Select and Mask, paying close attention to hair and clothing edges.
3. Duplicate the Subject Layer, Apply the Layer Mask, and move the duplicated layer below the original.
4. Convert the background layer to a Smart Object.
5. Apply Gaussian Blur to the background layer.
6. Adjust the blur radius until the street scene is blurred enough to draw attention to the person, but not so much that it looks artificial.
7. Clean up any halo effects around the person's edges using the Clone Stamp or Healing Brush tool.
8. If necessary, adjust the colors and tones to make the subject blend seamlessly with the blurred background.
By following these steps and tips, you can effectively blur the background of a portrait using the Magnetic Lasso Tool in Photoshop, creating a more visually appealing and professional-looking image. Remember, practice makes perfect!