Understanding the Process
The Magnetic Lasso Tool is a good option for selecting subjects that have clearly defined edges and contrast with the background. We'll use it to create a selection around the subject, invert the selection to target the background, and then apply a blur filter.
Steps:
1. Open Your Image in Photoshop:
* Launch Photoshop and go to `File > Open` and select the portrait you want to edit.
2. Duplicate the Layer (Optional, but Recommended):
* In the Layers panel (usually on the right side of your screen), select your Background layer.
* Press `Ctrl + J` (Windows) or `Cmd + J` (Mac) to duplicate the layer. This is a good practice as it allows you to work non-destructively, preserving the original image. Rename the duplicated layer something like "Portrait Layer" to keep things organized.
3. Select the Magnetic Lasso Tool:
* In the Tools panel (usually on the left side), find the Lasso Tool. It might be hidden behind the regular Lasso Tool or the Polygonal Lasso Tool. Click and hold on the Lasso Tool icon to reveal the other options, then select the Magnetic Lasso Tool. You can also press the `L` key repeatedly until the Magnetic Lasso Tool is selected.
4. Adjust Magnetic Lasso Tool Settings (Important):
* In the options bar at the top of the screen, you'll see settings for the Magnetic Lasso Tool. Here's what to adjust:
* Width: This controls how far the tool searches for edges. Start with a value of 5-10 pixels. Adjust as needed based on the complexity of the edge you're tracing. A lower width is better for detailed areas, while a higher width can work on smoother edges.
* Contrast: This determines how much contrast the tool needs to detect an edge. Start with 10-20%. Increase it if the edge is very distinct, or decrease it if the edge is subtle.
* Frequency: This controls how often the tool places anchor points along the selection. A higher frequency creates a more precise selection, but also more anchor points to potentially adjust later. Start with 50-60. Increase if the tool isn't following the edge closely enough, and decrease if it's adding too many points in smooth areas.
* Tablet Pressure for Size: Make sure this is unchecked unless you are using a graphics tablet with pressure sensitivity.
5. Start Making the Selection:
* Click once on the edge of the subject where you want to start the selection. This sets the first anchor point.
* Slowly move your cursor along the edge of the subject. The Magnetic Lasso Tool will automatically "snap" to the edge as you move. You *don't* need to click and drag. Just guide the cursor.
* If the tool snaps to the wrong edge, press the `Delete` key (Windows) or `Backspace` key (Mac) to remove the last anchor point. You can then reposition the cursor and try again.
* To manually add an anchor point, click with the mouse. This is useful in areas where the edge is very faint or complex.
* To switch temporarily to a regular Lasso Tool (freehand drawing), hold down the `Alt` key (Windows) or `Option` key (Mac). Release the key to switch back to the Magnetic Lasso Tool. This is useful for small areas where the Magnetic Lasso tool is struggling.
* Continue tracing the entire subject until you reach the starting point.
* When you hover the cursor over the starting point, you'll see a small circle appear next to the cursor. Click to close the selection.
6. Refine the Selection (Critically Important):
* Even with the Magnetic Lasso Tool, the selection might not be perfect. This is where the Select and Mask workspace comes in.
* Go to `Select > Select and Mask...`. This opens a dedicated workspace for refining selections.
* Key Select and Mask Settings to Adjust:
* View Mode: Choose a view mode that helps you see the selection clearly (e.g., Overlay, On Black, On White).
* Edge Detection:
* Radius: Increase the radius slightly (e.g., 1-3 pixels) to have Photoshop look for edges more broadly. This can help smooth out jagged edges.
* Smart Radius: Check this box. Photoshop will intelligently adjust the radius along the selection edge.
* Global Refinements:
* Smooth: Increase slightly (e.g., 1-5) to smooth the selection boundary.
* Feather: Increase slightly (e.g., 0.5-2 pixels) to soften the edges of the selection, creating a more natural transition between the subject and the blurred background. Too much feather will make the subject look blurry.
* Contrast: Increase slightly (e.g., 1-5) to sharpen the edges. Use this carefully as it can also create a halo effect.
* Shift Edge: Use this to expand or contract the selection slightly. A negative value will contract the selection (useful for removing unwanted background pixels around the subject), while a positive value will expand it. Experiment with small values.
* Tools within Select and Mask:
* Refine Edge Brush Tool (R): This is the most important tool in this workspace. Use it to paint along the edges of the subject, especially in areas where the hair or fine details blend into the background. It helps Photoshop better define the edges in these tricky areas.
* Brush Tool (B): Use this to manually add or subtract from the selection.
* Lasso Tool (L) and Polygonal Lasso Tool (L): Use these to make larger adjustments to the selection boundary.
* Output Settings:
* In the "Output Settings" section, choose "Output To: Selection" and click "OK." This will return you to the main Photoshop workspace with the refined selection.
7. Invert the Selection:
* Go to `Select > Inverse`. This inverts the selection, so now the *background* is selected instead of the subject. You can also use the shortcut `Shift + Ctrl + I` (Windows) or `Shift + Cmd + I` (Mac).
8. Apply a Blur Filter:
* Go to `Filter > Blur > Gaussian Blur`. Gaussian Blur is a good all-purpose blur filter.
* In the Gaussian Blur dialog box, adjust the "Radius" slider to control the amount of blur. A larger radius will create a stronger blur. Experiment to find a blur that looks natural and pleasing. Typically, a radius of 5-15 pixels is a good starting point, but it depends on the resolution of your image and the desired effect.
* Click "OK" to apply the blur.
9. (Optional) Add Noise (If Needed):
* Sometimes, blurring the background can make it look unnaturally smooth, which can be a giveaway that it's been edited. To combat this, you can add a very small amount of noise to the blurred background to match the noise level in the rest of the image.
* Go to `Filter > Noise > Add Noise...`
* Adjust the "Amount" slider to add a subtle amount of noise (e.g., 1-3%). Make sure "Monochromatic" is checked to prevent colored noise.
* Click "OK".
10. (Optional) Adjust Blur Gradient:
* If you want a more realistic depth-of-field effect, you can create a gradient blur where the blur is stronger further away from the subject.
* After applying the initial blur, add a layer mask to the "Portrait Layer" (the one you duplicated). Click the "Add Layer Mask" icon at the bottom of the Layers panel (it looks like a rectangle with a circle inside).
* Select the Gradient Tool (G) in the Tools panel.
* In the options bar at the top, make sure the gradient is set to "Black to White."
* Click and drag across the layer mask, starting near the subject and dragging towards the edge of the image. This will create a gradient that controls the visibility of the blur. Black areas of the mask hide the blur, while white areas reveal it. You can adjust the gradient by dragging again until you achieve the desired effect. A short drag creates a sharper transition, while a long drag creates a more gradual transition.
11. Save Your Image:
* Go to `File > Save As...` and choose a suitable file format (JPEG for general use, or PSD to preserve layers for future editing).
Tips for Best Results:
* Take your Time with the Selection: A clean and accurate selection is crucial for a realistic-looking result. Don't rush the selection process. Use Select and Mask aggressively to refine the edges.
* Choose the Right Blur: Gaussian Blur is a good starting point, but other blur filters (like Field Blur or Iris Blur) can offer more control over the blur effect.
* Subtlety is Key: Avoid overdoing the blur. A subtle blur will look more natural than an excessively blurred background.
* Pay Attention to Edges: The edges between the subject and the background are where most editing errors become obvious. Use the Refine Edge Brush in Select and Mask to blend the edges seamlessly.
* Consider Depth of Field: In a real photograph, the blur typically increases with distance from the subject. Try to mimic this effect for a more realistic look. The gradient blur technique described above helps with this.
* High-Resolution Images: Working with high-resolution images generally produces better results because you have more detail to work with.
Why Magnetic Lasso Isn't Always the Best:
* Complex Edges: The Magnetic Lasso Tool can struggle with subjects that have complex edges, like hair blowing in the wind or areas with low contrast. In these cases, consider using:
* Quick Selection Tool/Object Selection Tool: These tools are often faster for making initial selections.
* Channels: Creating selections using the color channels (especially the one with the most contrast between the subject and background) can be very effective, particularly for difficult edges like hair.
* Pen Tool: The Pen Tool provides the most precise control for creating selections, but it requires more skill and time to master.
* Time Commitment: Depending on the complexity of the subject, creating a good selection using the Magnetic Lasso Tool and Select and Mask can be time-consuming.
By following these steps and experimenting with the different settings and techniques, you can effectively blur the background of your portraits in Photoshop using the Magnetic Lasso Tool and create professional-looking results. Remember to practice and be patient – the more you work with these tools, the better you'll become at using them.