Before you start:
* Choose a good image: A portrait with a clear distinction between the subject and the background works best. Images with similar colors or textures between the subject and the background will be more challenging.
* Duplicate your layer: Always work on a copy of your original layer. This way, you can always revert back if you make a mistake. Go to `Layer > Duplicate Layer...` or press `Ctrl+J` (Windows) / `Cmd+J` (Mac).
Steps:
1. Select the Magnetic Lasso Tool:
* In the Photoshop toolbar, look for the Lasso Tool (it might be showing as the regular Lasso or Polygonal Lasso).
* Click and hold the Lasso Tool icon to reveal a fly-out menu.
* Select the Magnetic Lasso Tool. It looks like a lasso with a little magnet.
2. Adjust the Tool Settings (in the Options Bar at the top):
* Width: This determines the detection range of the tool. A smaller width (e.g., 5-10 pixels) is better for fine details. A larger width (e.g., 20-40 pixels) can be helpful for faster tracing on areas with more contrast. Start with a moderate value (like 20) and adjust as needed.
* Contrast: Higher contrast will help the tool stick to defined edges. If you're tracing a low-contrast edge, lower the contrast setting. A setting of 10% is a good starting point.
* Frequency: This controls how often the tool places anchor points along the edge. Higher frequency creates a more detailed selection but also more anchor points to potentially adjust. A value between 57-100 should be a good starting point.
* Pen Pressure: Check this option if you are using a graphic tablet with pressure sensitivity.
3. Trace Around the Subject:
* Click once on the edge of your subject to create your first anchor point.
* Slowly move your mouse or pen along the edge of the subject you want to select. The Magnetic Lasso Tool will automatically snap to the edge.
* If the tool makes a mistake:
* To manually place an anchor point: Click along the edge.
* To delete the last anchor point: Press the `Delete` or `Backspace` key.
* Don't be afraid to undo: If you go too far off track, press `Ctrl+Z` (Windows) or `Cmd+Z` (Mac) to undo. Sometimes it's better to undo a bit and try again.
* Complete the Selection: When you reach your starting point, the cursor will change to include a small circle. Click to close the selection. Photoshop will now have a selection around your subject.
4. Refine the Selection (Very Important!) The Magnetic Lasso is rarely perfect. Use these techniques to improve your selection:
* Select and Mask: Go to `Select > Select and Mask...` (This is available in newer versions of Photoshop; older versions have "Refine Edge").
* View: Experiment with different view modes (Overlay, On White, On Black) to best see the selection edges. "Overlay" (press `O`) is often a good starting point.
* Edge Detection:
* Radius: This helps smooth out jagged edges. Start with a small value (e.g., 1-2 pixels) and increase it until the edges look smoother.
* Smart Radius: Turn this ON for variable edge sharpness. It's usually helpful.
* Global Refinements:
* Smooth: Reduces irregularities in the border outline. Use sparingly.
* Feather: Blurs the edges of the selection. Use sparingly if you want a slightly softer transition.
* Contrast: Sharpens the edges of the selection. Be careful not to create hard edges.
* Shift Edge: Moves the selection boundary inward or outward. Negative values contract the selection (good for removing fringing), and positive values expand it. Experiment to see what works best.
* Output To: Change the "Output To" dropdown to "New Layer with Layer Mask". This will create a new layer with your refined selection as a layer mask. Click "OK".
* Using Brush Tool to Refine Mask (Alternate Method): If you don't have "Select and Mask" or prefer manual control:
* Make sure your layer mask is selected (click on the thumbnail next to your layer).
* Select the Brush Tool (B).
* Foreground Color:
* White: Paints on the mask, making areas visible (unmasking).
* Black: Paints on the mask, making areas transparent (masking).
* Brush Hardness: A soft brush (0% hardness) creates a feathered edge, while a hard brush (100% hardness) creates a sharp edge. Adjust this based on the edges you're refining.
* Zoom in to see the details. Use the `[` and `]` keys to adjust the brush size.
* Paint along the edges: Use white to bring back areas of the subject that were accidentally masked out, and use black to mask out areas of the background that were accidentally included. Use a small brush size for precision.
* Hold X to quickly switch between black and white foreground colors. This allows you to quickly add or remove areas from the mask.
5. Invert the Selection:
* Press `Ctrl+Shift+I` (Windows) or `Cmd+Shift+I` (Mac) to invert the selection. Now the background is selected instead of the subject.
* *Or* click on the layer mask you created in the Select and Mask process and press `Ctrl+I` (Windows) or `Cmd+I` (Mac) to invert the layer mask
6. Apply the Blur:
* Go to `Filter > Blur > Gaussian Blur...`
* Adjust the Radius slider to control the amount of blur. A higher radius will create a stronger blur. Experiment to find a value that looks natural and pleasing. Values between 2 and 10 pixels are often a good starting point.
* Click "OK".
7. Optional: Add a Color Adjustment:
* You might want to adjust the colors in the background to make it blend better with the blurred effect. You can add a color adjustment layer clipped to the blurred background. For example:
* Select the blurred background layer.
* Go to `Layer > New Adjustment Layer > Hue/Saturation...`
* In the Properties panel for the Hue/Saturation layer, click the clipping mask icon (the square with a down-pointing arrow). This makes the adjustment only affect the layer below it (the blurred background).
* Adjust the Hue, Saturation, and Lightness sliders to fine-tune the background color.
Tips and Troubleshooting:
* Zoom in! Don't try to do this on a small image. Zoom in to at least 100% or more to see the edges clearly.
* Practice makes perfect: The more you use the Magnetic Lasso Tool and refine your selections, the better you'll become at it.
* Consider the Pen Tool: For more complex selections or images with difficult edges, the Pen Tool might be a better choice. It allows you to create precise vector paths that can be converted to selections.
* Layer Masks are Non-Destructive: Working with layer masks means you can always adjust the selection later without affecting the original image data.
* Vary the Blur Amount: You can create a more realistic effect by applying different amounts of blur to different parts of the background. For example, you might blur the areas furthest from the subject more than the areas closer. To do this, select a portion of the mask, then go to `Filter > Blur > Gaussian Blur...`.
* Clean Up Stray Pixels: After applying the blur, examine the edges of your subject closely. You might see some stray pixels or artifacts. Use the Brush Tool on the layer mask to clean these up.
* Check for Halos: Watch out for halos (light or dark fringes) around the subject, especially if you've used a large radius for the Gaussian Blur. If you see halos, you'll need to refine your selection more carefully or try using the "Defringe" option in the Select and Mask dialog (if you have it).
By following these steps and taking your time, you can create a beautiful blurred background effect in Photoshop, making your portraits stand out! Good luck!