Important Note: The Magnetic Lasso Tool is best suited for images where the subject has a clear, defined edge against the background. If the edges are fuzzy (e.g., hair blowing in the wind, semi-transparent objects), you might be better off using other selection methods like Quick Selection, Select and Mask, or Channels (for more advanced edge refinement).
Here's the process:
1. Open Your Image in Photoshop:
* Launch Photoshop.
* Go to File > Open... and select the portrait image you want to edit.
2. Select the Magnetic Lasso Tool:
* In the Tools panel (usually on the left), find the Lasso Tool icon. It looks like a lasso rope.
* Click and *hold* the Lasso Tool icon to reveal a flyout menu.
* Select the Magnetic Lasso Tool (it looks like a lasso with a little magnet).
3. Configure the Magnetic Lasso Tool Options:
* At the top of the screen, you'll see options for the Magnetic Lasso Tool. Here's a breakdown of the most important settings:
* Width: This setting determines how far the Magnetic Lasso will "search" for edges. A higher value means it will look further away from your cursor. Start with a medium value (e.g., 10-20 pixels) and adjust as needed. If the lasso is snapping to the wrong edges, reduce the width.
* Contrast: This controls how sensitive the tool is to differences in contrast. Higher contrast values mean it will only snap to strong edges. Lower contrast values will make it more likely to snap to subtle edges. Start with a medium value (e.g., 10-20%) and adjust as needed.
* Frequency: This determines how often the tool places anchor points (the little dots that define the selection). Higher frequency means more anchor points, which can create a more detailed selection, but also makes the selection more complex to edit. Lower frequency means fewer anchor points, which can result in a less accurate selection, but easier editing. Start with a medium value (e.g., 5-7) and adjust as needed. For more detailed edges (like hair) you may need to increase the frequency.
* Tablet Pressure: Check this box if you are using a graphics tablet. This setting will use pen pressure to control the width of the selection.
* Edge Detection: This setting determines how the tool detects edges. 'Normal' is the default. Experiment with other options if you're not getting good results.
4. Create the Selection:
* Start Point: Click once on the edge of your subject to set the starting point. This will be the anchor point that you eventually close the loop with.
* Trace the Edge: Move your cursor slowly and deliberately along the edge of the subject. The Magnetic Lasso Tool will automatically "snap" to the edge based on the width, contrast, and frequency settings you configured. *Don't click while tracing unless you need to manually add an anchor point.*
* Manual Anchor Points: If the Magnetic Lasso starts going astray, or if you need to define a specific point, click to manually add an anchor point.
* Correcting Mistakes: If the Lasso Tool snaps to the wrong area, press the Delete key (or Backspace on Mac) to remove the last anchor point and retrace the edge. You can do this repeatedly to undo several points.
* Zoom In: Use Ctrl + + (Cmd + + on Mac) to zoom in for more precise selections, especially around tricky areas like hair or clothing details. Zoom out with Ctrl + - (Cmd + - on Mac).
* Panning: Hold down the Spacebar key to temporarily activate the Hand Tool, which allows you to click and drag to pan around the image while zoomed in.
* Closing the Selection: When you've traced all the way around the subject, move your cursor back towards the starting point. When you're close enough, a small circle will appear next to the cursor. Click to close the selection. A "marching ants" outline will appear around your subject.
5. Refine the Selection (Optional but Recommended):
* Even with careful tracing, the selection might not be perfect. Use these techniques:
* Add to Selection: If you missed a part of the subject, hold down the Shift key. The cursor will change to a Lasso with a plus (+) sign. Trace around the area you want to add to the selection.
* Subtract from Selection: If you accidentally included part of the background, hold down the Alt key (or Option key on Mac). The cursor will change to a Lasso with a minus (-) sign. Trace around the area you want to remove from the selection.
* Select and Mask Workspace: For more advanced refinement, especially around hair, go to Select > Select and Mask.... This opens a dedicated workspace with tools for refining edges, feathering, and more. Experiment with the "Refine Edge Brush Tool" to improve the selection around hair. Output the selection to a selection.
6. Invert the Selection (Select the Background):
* To blur the *background* instead of the subject, you need to *invert* the selection.
* Go to Select > Inverse. Now the "marching ants" will surround the *background*.
7. Apply the Blur:
* Go to Filter > Blur > Gaussian Blur...
* A Gaussian Blur dialog box will appear. Adjust the Radius slider to control the amount of blur. Start with a low radius (e.g., 2-5 pixels) and gradually increase it until you achieve the desired effect. Watch the preview to see the results. A subtle blur is often more realistic than an extreme blur.
* Click OK to apply the blur.
8. Deselect:
* Go to Select > Deselect (or press Ctrl+D / Cmd+D) to remove the selection outline.
9. Save Your Work:
* Go to File > Save As...
* Choose a file format that preserves layers (e.g., PSD or TIFF) if you want to be able to edit the image further later. If you're finished editing, you can save as a JPEG.
* Choose a new file name to avoid overwriting your original image.
Tips for Better Results:
* Take Your Time: Don't rush the selection process. Careful tracing is key to a realistic-looking result.
* Zoom In: Zoom in, especially for detailed areas.
* Adjust Settings: Experiment with the Magnetic Lasso Tool options to find the settings that work best for your image.
* Use Select and Mask: The Select and Mask workspace is a powerful tool for refining edges, especially around hair.
* Subtle Blur: A subtle blur is often more realistic than an extreme blur. Err on the side of less blur.
* Consider Depth of Field: When blurring the background, think about how depth of field works in real-world photography. The further away an object is from the subject, the more blurred it will be. You can create a more realistic effect by applying different amounts of blur to different parts of the background (using layers and masks).
* Feather the Selection (Alternative to Select and Mask): Before applying the Gaussian blur, you can feather the selection slightly to create a smoother transition between the subject and the blurred background. Go to Select > Modify > Feather... and enter a small value (e.g., 1-3 pixels). This can help to eliminate harsh edges.
* Use a Smart Object (Non-Destructive Editing): Convert the background layer (the layer you're blurring) to a Smart Object *before* applying the Gaussian Blur. This allows you to adjust the blur radius later without permanently altering the image. To convert a layer to a Smart Object, right-click on the layer in the Layers panel and choose "Convert to Smart Object."
Troubleshooting:
* Lasso Snapping to Wrong Areas: Reduce the Width and/or increase the Contrast of the Magnetic Lasso Tool.
* Jagged Edges: Feather the selection slightly before blurring. Use the Select and Mask workspace to refine the edge.
* Unnatural-Looking Blur: Use a smaller blur radius. Consider adding different amounts of blur to different parts of the background.
By following these steps and tips, you should be able to create a nicely blurred background for your portrait photos using the Magnetic Lasso Tool in Photoshop. Remember to practice and experiment to find the techniques that work best for you. Good luck!