Understanding the Goal:
The goal is to precisely select the subject (the person in the portrait) using the Magnetic Lasso Tool, then invert the selection to select the background, and finally apply a blur filter to that background.
Step-by-Step Guide:
1. Open Your Image in Photoshop:
* Launch Photoshop and go to `File > Open` and select the portrait image you want to edit.
2. Duplicate the Background Layer (Non-Destructive Editing):
* In the Layers panel (usually on the right side), right-click on the "Background" layer.
* Choose "Duplicate Layer..."
* Name the duplicated layer (e.g., "Subject"). This allows you to work on a copy without affecting the original image. If something goes wrong, you still have the original.
3. Select the Magnetic Lasso Tool:
* In the Tools panel (usually on the left side), find the Lasso Tool icon. Click and hold on the icon to reveal a flyout menu.
* Choose the "Magnetic Lasso Tool."
4. Adjust Magnetic Lasso Tool Settings (Optional but Recommended):
* In the options bar at the top of the screen, you'll see settings for the Magnetic Lasso Tool. Adjust these to fine-tune its behavior:
* Width: This determines how far the Magnetic Lasso Tool will search for edges. Start with a smaller value (e.g., 5-10 pixels) and increase it if the tool is having trouble finding edges. A larger value can be helpful for softer edges, but can also be less accurate.
* Contrast: This determines how much contrast is needed for the tool to identify an edge. Higher contrast values will stick to strong edges more tightly, but might miss subtle edges. Lower contrast values will be more forgiving of subtle edges, but might be more prone to snapping to unwanted areas. Experiment to find what works best for your image. A range of 10-20% is a good starting point.
* Frequency: This sets the number of fastening points (anchors) placed along the edge. Higher frequency means more points, resulting in a more precise selection, but it can also make the path more complex to edit. A value of 50-60 is a good starting point.
5. Start Tracing the Subject:
* Click once on the edge of your subject to begin the selection. It's often easiest to start at a point with a clear, defined edge.
* Slowly move your mouse along the outline of the subject. The Magnetic Lasso Tool will automatically try to "snap" to the edge.
* If the tool doesn't snap to the correct edge, click to manually place a fastening point (anchor). This forces the tool to lock onto that specific point.
6. Correcting Mistakes (Adding and Deleting Points):
* Deleting Points: If the Magnetic Lasso Tool makes a mistake and snaps to the wrong area, press the Delete key or Backspace key to remove the last fastening point. Continue moving your mouse along the edge.
* Adding Points: Sometimes, the Magnetic Lasso Tool misses parts of the edge or snaps to the wrong area. Click to manually add more fastening points at critical areas that you want to specify the border.
7. Completing the Selection:
* Once you've traced the entire subject, move the cursor back to the starting point. A small circle will appear next to the cursor, indicating you're about to close the selection.
* Click on the starting point to close the selection. A selection outline (marching ants) will appear around the subject.
8. Refine the Selection:
* In the top menu go to Select > Select and Mask. This opens a workspace dedicated to refining the selection.
* View Mode: Set the View Mode to "Overlay" (default) or another mode that allows you to clearly see the edge of your selection.
* Global Refinements:
* Smooth: Increase the Smooth value slightly to soften jagged edges. A value between 1-5 is usually sufficient.
* Feather: Add a small amount of Feather to slightly soften the edge of the selection and blend it with the background. A value between 0.5-1.5 pixels is often a good starting point.
* Contrast: Adjust the contrast to sharpen the edges. Increase to make the edges more defined. Be careful not to overdo it or you will see halos.
* Shift Edge: This is useful for expanding or contracting the selection slightly. Use a negative value to contract the selection (e.g., -1% to -5%) if you see a fringe around the subject. A positive value will expand the selection.
* Refine Edge Brush Tool: This tool allows you to manually refine the edge of the selection.
* Select the "Refine Edge Brush Tool" (it's on the left side of the Select and Mask workspace).
* Paint along the edge of your subject to let Photoshop recalculate and improve the selection in that area. This is especially useful for hair and other complex edges. You can adjust the brush size using the bracket keys (`[` and `]`).
* Output Settings:
* Output To: Choose "New Layer with Layer Mask." This will create a new layer with a mask based on your refined selection. This is the recommended non-destructive approach.
* Click "OK" to exit the Select and Mask workspace.
9. Select the Background:
* In the Layers panel, select the layer you named "Subject" (the one with the layer mask).
* Go to `Select > Inverse`. This inverts the selection, so now the *background* is selected, not the subject.
10. Apply the Blur Filter:
* Go to `Filter > Blur > Gaussian Blur`.
* In the Gaussian Blur dialog box, adjust the "Radius" slider to control the amount of blur. A higher radius will create a stronger blur. Start with a low value (e.g., 2-3 pixels) and gradually increase it until you achieve the desired effect. The appropriate radius will depend on the resolution of your image and the desired level of blur.
* Click "OK" to apply the blur.
11. (Optional) Adjust Blur Intensity:
* If the blur is too strong or too subtle, you can adjust the layer's opacity. In the Layers panel, select the "Subject" layer and adjust the "Opacity" slider. Lowering the opacity will reduce the intensity of the blur.
12. Save Your Image:
* Go to `File > Save As...`
* Choose a file format that supports layers (e.g., PSD for Photoshop's native format, or TIFF for a more universally compatible format that preserves layers). If you're finished editing and want a smaller file size, you can flatten the image and save as a JPEG, but you won't be able to edit the layers later.
Important Tips and Considerations:
* Zoom In: Zoom in (Ctrl/Cmd + plus key) for greater precision when using the Magnetic Lasso Tool, especially around tricky areas like hair or clothing with similar colors to the background.
* Practice: The Magnetic Lasso Tool takes practice. Don't be discouraged if you don't get perfect results right away.
* Alternative Selection Tools: Consider using other selection tools like the Quick Selection Tool or the Pen Tool (for more precise, controlled selections) for more complex images, especially those with difficult edges. The Pen Tool provides the most control, but it also has a steeper learning curve.
* Layer Masks are Key: Using layer masks ensures you can adjust your blur later without damaging the original image. If you didn't use the "Select and Mask" output to "New Layer with Layer Mask" you can right click on the blurred layer and choose "Add Layer Mask". Then you can refine your selection by painting on the mask with black (to hide the blurred layer where you don't want it) or white (to reveal the blurred layer).
* Feathering: Experiment with different Feather values to achieve a natural transition between the subject and the blurred background.
* Blurring Strategically: Consider using different blur techniques (e.g., field blur, iris blur) for a more realistic depth-of-field effect. Gaussian blur is a good starting point. You can also vary the amount of blur in different areas of the background (e.g., more blur further away from the subject).
* Non-Destructive Editing: Always work on a duplicate layer so you can easily revert to the original if needed.
By following these steps and tips, you should be able to successfully blur the background of your portraits using the Magnetic Lasso Tool in Photoshop, creating a more professional and visually appealing image. Remember to practice and experiment to find the techniques that work best for you and your images.