Before You Start:
* Image Quality: The better the image quality, the easier it will be to make a clean selection.
* Image Resolution: A high-resolution image will allow for more detailed and accurate selection.
* Photoshop Version: This guide assumes you are using a relatively recent version of Photoshop. The interface might vary slightly in older versions, but the core principles are the same.
Steps:
1. Open Your Image:
* Launch Photoshop.
* 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 the screen), right-click on your background layer.
* Select `Duplicate Layer`. This creates a copy of your image. Working on a copy keeps the original intact in case you make a mistake. You can name the copy (e.g., "Portrait Selection").
3. Select the Magnetic Lasso Tool:
* In the Tools panel (usually on the left side of the screen), find the Lasso Tool. It may be visible as a standard Lasso, a Polygonal Lasso, or a Magnetic Lasso.
* Click and *hold* down on the Lasso Tool icon. A fly-out menu will appear.
* Select the Magnetic Lasso Tool.
4. Adjust Magnetic Lasso Settings (Important):
* At the top of the Photoshop window (the Options Bar), you'll see settings for the Magnetic Lasso Tool. Adjust these settings to suit your image:
* Width: This controls how far away from the edge the Magnetic Lasso will "snap." Start with a value between 5-15 pixels. Adjust based on the complexity of the edges in your image. A higher value is better for well-defined edges, while a lower value is better for softer edges or areas with low contrast.
* Contrast: This setting determines how much difference in color or brightness the Lasso needs to see before it snaps to an edge. Start with a value between 10-20%. Increase it if the Lasso isn't sticking to the edge properly; decrease it if it's snapping to the wrong areas.
* Frequency: This controls how often the Magnetic Lasso places anchor points along the selection path. Higher frequency means more anchor points, which can result in a more precise selection, but can also make the path harder to edit. Start with a value between 50-60.
* Feather: Leave this at 0 for now. We can add feathering later if needed.
* Mode: Make sure it is set to "New Selection".
5. Make the Selection:
* Click once on a point on the edge of the subject you want to isolate. This sets the starting point.
* Carefully move the mouse cursor along the edge of your subject. The Magnetic Lasso Tool will automatically snap to what it thinks is the edge.
* If the Lasso goes wrong:
* Press the Delete (or Backspace) key to remove the last anchor point. Move the cursor back a bit and try again.
* You can manually add an anchor point by clicking with the mouse. This is useful if the Lasso is struggling to find the edge.
* Continue tracing around the entire subject.
* When you get back to the starting point, hover the cursor over the starting point circle will appear next to the cursor. Click to close the selection. The selection will now be active (indicated by a dotted line around the subject).
6. Refine the Selection (Very Important, especially for Hair):
* Go to `Select > Select and Mask...` (This feature may be called `Refine Edge` in older versions of Photoshop, it will still work).
* View Mode: Choose a view mode that allows you to clearly see the selection (e.g., "Overlay" or "On Black").
* Global Refinements:
* Smooth: Slightly increase the Smoothness slider to smooth out jagged edges. Don't overdo it, or you'll lose detail.
* Feather: Add a small amount of feathering (0.5 - 1.5 pixels) to blend the selection with the background and avoid a harsh edge. Increase if needed.
* Contrast: Increasing the contrast can help sharpen the edges of the selection.
* Shift Edge: Use the Shift Edge slider to expand or contract the selection. A negative value will contract the selection (useful for removing unwanted edge artifacts), while a positive value will expand it.
* Refine Edge Brush Tool (Crucial for Hair):
* Select the Refine Edge Brush Tool (it looks like a paintbrush with hair on it).
* Paint along the edges of the hair or other areas where the selection is inaccurate. The tool will attempt to detect and include the fine details of the hair in the selection. Use short, overlapping strokes.
* Adjust the brush size as needed using the `[` and `]` keys.
* Output Settings:
* In the "Output To" dropdown, choose `New Layer with Layer Mask`. This will create a new layer containing only the selected subject, and a layer mask that controls its visibility.
* Click "OK."
7. Blur the Background:
* In the Layers panel, select the *original* background layer (or the duplicated layer *below* the "Portrait Selection" layer you just created).
* 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 until you achieve the desired effect. A common starting point is between 5-15 pixels, but this depends on the image and the desired look.
* Click "OK."
8. (Optional) Adjust the Background Brightness/Contrast:
* You may want to adjust the brightness and contrast of the blurred background to further separate the subject.
* With the background layer still selected, go to `Image > Adjustments > Brightness/Contrast...`
* Make small adjustments to the brightness and contrast until the background complements the subject.
9. (Optional) Add a color grade:
* Add a color grade on a new adjustment layer to make the edit more natural
10. Save Your Work:
* Go to `File > Save As...`
* Choose a format that preserves layers (e.g., Photoshop .PSD or .TIFF) if you want to edit the image later. If you are finished, save it as a .JPG for general use.
Troubleshooting Tips:
* The Magnetic Lasso is snapping to the wrong areas: Reduce the "Contrast" setting and make sure the "Width" is appropriate for the edges you're trying to follow. Manually add anchor points by clicking in difficult areas.
* The selection is too jagged: Increase the "Smoothness" setting in the `Select and Mask` dialog.
* The selection has a hard edge: Increase the "Feather" setting in the `Select and Mask` dialog.
* The hair looks unnatural: Spend more time refining the selection with the Refine Edge Brush Tool. Experiment with different brush sizes and settings. You may also want to try the "Decontaminate Colors" option in the `Select and Mask` dialog.
* Blur looks artificial: Reduce the blur radius or add some noise to the blurred background to make it look more natural.
Alternative Techniques:
* Quick Selection Tool: This tool is often faster than the Magnetic Lasso for selecting subjects with well-defined edges.
* Pen Tool: The Pen Tool offers the most precise control over the selection path, but it requires more skill and practice.
* Channels: Advanced users sometimes use channels to create complex selections based on color or brightness differences.
* Depth Maps (if available): Some cameras create depth maps that can be used to create realistic blur effects.
By following these steps and experimenting with the settings, you should be able to effectively blur the background of your portraits using the Magnetic Lasso Tool and the `Select and Mask` feature in Photoshop. Remember to practice and refine your technique to achieve the best results. Good luck!