Important Considerations:
* Image Quality: A high-resolution image will make the process easier and produce better results.
* Complexity of Subject: The more intricate the edges of your subject (hair, fine details), the more time and effort will be required for a precise selection.
* Blur Type: Gaussian Blur is commonly used, but you can experiment with others.
* Layering is Key: Working non-destructively on layers is essential for flexibility and error correction.
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 (Window > Layers if it's not visible), select the "Background" layer.
* Press `Ctrl+J` (Windows) or `Cmd+J` (Mac) to duplicate the layer. This creates a new layer named "Layer 1" (or similar). You'll be working on this duplicated layer.
* Rename "Layer 1" to something descriptive like "Subject Layer" or "Original Copy". This is helpful for staying organized.
3. 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 it to reveal the options.
* Choose the Magnetic Lasso Tool.
4. Adjust Magnetic Lasso Settings (Crucial for Accuracy):
* Look at the options bar at the top of the Photoshop window. You'll see settings for the Magnetic Lasso. Adjust these based on your image:
* Width: This controls how far the tool "looks" for edges. Start with a value like `5-10 pixels`. Increase it if you're having trouble finding edges; decrease it for more precision. Adjust as you go.
* Contrast: This determines how much contrast the tool needs to detect an edge. Try a setting like `10-20%`. Increase it if edges are being missed; decrease it if it's grabbing onto unwanted areas.
* Frequency: This sets how often the tool places anchor points. A higher frequency creates more points, leading to a more accurate, but potentially "jagged," selection. Start around `50-60`. Adjust as needed.
* Tablet Pressure: Leave this unchecked unless you're using a graphics tablet.
* W: This is the tool width that you can adjust with your bracket keys `[` and `]`. These are a quick way to make on-the-fly adjustments.
5. Create the Selection:
* Start Clicking: Click once near an edge of your subject (the person you want to keep in focus). This sets the first anchor point.
* Move Along the Edge: Slowly move your mouse along the edge of the subject. The Magnetic Lasso will attempt to snap to the edge.
* Correcting Mistakes:
* If the tool incorrectly snaps to the wrong area, press the `Delete` or `Backspace` key to remove the last anchor point(s) and reposition the mouse.
* Adding Anchor Points Manually: If the tool is struggling in a particular area, click manually to add anchor points where you want them.
* Switching to Other Lasso Tools (If Necessary): For very tricky areas, you can temporarily switch to the regular Lasso Tool or the Polygonal Lasso Tool (hold `Shift` while selecting to add to the existing selection).
* Close the Selection: Once you've traced the entire subject, bring the cursor back to the starting anchor point. A small circle will appear next to the cursor. Click on the starting point to close the selection.
6. Refine the Selection (Extremely Important!)
* Go to `Select > Select and Mask` (or click the "Select and Mask" button in the Options Bar after creating the selection). This opens a dedicated workspace for refining selections.
* View Mode: Choose a view mode that helps you see the edge clearly (e.g., "Overlay" or "On Black").
* Global Refinements:
* Smooth: Increases the smoothness of the selection edge. A small amount (1-3) often helps.
* Feather: Softens the selection edge. Use a very small amount (0.5-1.0) to avoid a blurry halo around the subject. This is important for a realistic blur.
* Contrast: Sharpens the selection edge. Be careful not to create jagged edges.
* Shift Edge: Move the selection edge inward or outward. Negative values contract the selection (helpful for removing halos); positive values expand it.
* Refine Edge Brush Tool (Important for Hair): This is the key tool for dealing with tricky edges like hair.
* Select the Refine Edge Brush Tool (looks like a brush with hair strands).
* Paint along the edges of the hair (or any complex edge). The tool will intelligently try to extract the hair from the background. Use small, overlapping strokes. Experiment with the brush size (bracket keys `[` and `]`).
* Output Settings:
* Output To: Choose "New Layer with Layer Mask." This is the best option because it's non-destructive. It creates a new layer where the selected area is visible and the rest is hidden by a mask.
* Click "OK."
7. Blur the Background:
* In the Layers panel, select the original duplicated layer (the one you renamed earlier, like "Subject Layer"). *Make sure you select the layer, not the layer mask*. If the layer is selected you should see the layer thumbnail highlighted in the layers panel.
* Go to `Filter > Blur > Gaussian Blur`.
* Adjust the Radius slider to control the amount of blur. A subtle blur (e.g., 5-15 pixels) is often more realistic. The exact value depends on the image and the desired effect. Preview the effect on your image.
* Click "OK."
8. Fine-Tuning (If Needed):
* Mask Adjustments: If you see any imperfections around the edges of the subject, you can refine the layer mask directly.
* Select the layer mask (click on the white or black rectangle next to the layer thumbnail in the Layers panel).
* Use the Brush Tool (set to black to hide, white to reveal). Use a soft-edged brush and a low opacity (e.g., 10-20%) for subtle adjustments.
* Paint with black on the mask to hide areas, or with white to reveal areas.
* Blur Adjustments: You can always double-click on "Gaussian Blur" under the layer in the layers panel to readjust the blur.
* Add additional blur filters: You can try other blur types, such as lens blur, to further improve the effect.
9. Save Your Work:
* Go to `File > Save As`.
* Save a copy of your image as a Photoshop (.PSD) file to preserve the layers in case you need to make further edits.
* You can also save a flattened copy as a JPEG for sharing (File > Save As > JPEG).
Tips for Success:
* Zoom In: Zoom in to 200-300% to see the edges clearly and create a more accurate selection.
* Patience is Key: Don't rush the selection process. Take your time to get it right.
* Practice: The Magnetic Lasso Tool takes some practice to master. Experiment with different images and settings.
* Feather the Mask Subtly: A very slight feather (0.5-1.0 pixels) on the layer mask can help blend the edges more smoothly.
* Use the Refine Edge Brush Tool: This is *essential* for dealing with hair and other complex edges.
* Non-Destructive Editing: Working with layers and masks allows you to make changes without permanently altering the original image data.
* Don't Over-Blur: Excessive blur can look unnatural. A subtle blur is usually more effective.
* Consider Depth of Field: Think about how depth of field works in real photography. Objects further away should be more blurred than objects closer to the subject. You might want to apply different levels of blur to different parts of the background.
By following these steps and tips, you should be able to successfully blur the background of your portrait using the Magnetic Lasso Tool in Photoshop. Good luck!