1. Open Your Image in Photoshop
* Open Photoshop and go to File > Open.
* Navigate to the image you want to edit and select it.
2. Select the Magnetic Lasso Tool
* In the Tools panel (usually on the left side of your screen), find the Lasso Tool.
* Click and hold on the Lasso Tool icon until a fly-out menu appears.
* Select the Magnetic Lasso Tool. (The icon looks like a small magnet.)
3. Adjust Magnetic Lasso Tool Settings (Important!)
Before you start tracing, adjust these settings in the options bar at the top of the screen:
* Width: This controls how far the tool will "search" for edges. A smaller value (e.g., 5-10 px) is good for sharp edges. A larger value (e.g., 20-40 px) can be useful for softer edges, but can also be less accurate. Adjust as needed for your image.
* Contrast: This determines how much contrast the tool needs to detect an edge. A higher value (e.g., 50-70%) makes the tool more sensitive to changes in contrast, helping it stick to sharp edges. A lower value (e.g., 10-30%) can be better for areas with subtle edges. Experiment to see what works best.
* Frequency: This controls how often the tool places "anchor points" along the edge. A higher frequency (e.g., 60-80) creates more anchor points, resulting in a more precise selection, but can also make the selection process slower. A lower frequency (e.g., 20-40) is faster but might be less accurate.
* Tablet Pressure for Width: If you're using a graphics tablet, you can check this box to control the width based on the pressure you apply with your pen. Leave it unchecked if you're using a mouse.
* Edge Detection Mode: Choose `Normal` for most scenarios. `Sample All Layers` can be useful if you're working with multiple layers.
4. Trace the Subject's Outline
* Start at a Distinct Point: Click on a clear point on the edge of your subject where it meets the background. This creates your first anchor point.
* Move the Mouse (or Pen) Along the Edge: Slowly and steadily move your mouse or pen along the outline of your subject. The Magnetic Lasso Tool will automatically attempt to snap to the edge.
* If the Tool Makes a Mistake:
* Add an Anchor Point Manually: Click to force the tool to add an anchor point at a specific location. This is useful for correcting errors or when the tool is struggling to find the edge.
* Delete the Last Anchor Point: Press the Delete or Backspace key to remove the last anchor point if the tool strayed.
* Zoom In: Use Ctrl + + (Cmd + + on Mac) to zoom in for more accurate tracing in difficult areas (like hair). Use Ctrl + - (Cmd + - on Mac) to zoom out. Use the Spacebar to temporarily activate the Hand Tool to pan around the image.
* Close the Selection: When you reach the starting point, hover the mouse cursor over the initial anchor point. A small circle will appear next to the cursor. Click to close the selection. You now have a selection of your subject.
5. Refine the Selection (Very Important!)
Magnetic Lasso is good but rarely perfect. You'll likely need to refine the selection, especially around hair or complex edges.
* Select and Mask: Go to Select > Select and Mask. This opens a specialized workspace for refining selections. (Older versions of Photoshop may call this "Refine Edge.")
* View Mode: In the Select and Mask workspace, choose a view mode (e.g., Overlay, On White, On Black) that allows you to clearly see the selection edge and any areas that need improvement.
* Refine Edge Brush Tool (Usually the First Tool): This is the most important tool for refining hair and other complex edges.
* Brush Size: Adjust the brush size in the options bar to match the area you're working on.
* Paint Along the Edge: Paint along the edges of the hair or other details you want to include in the selection. The tool will attempt to detect and include these fine details.
* Adjust Edge: Use the sliders on the right side to further refine the selection:
* Smooth: Smooths out the selection edge.
* Feather: Softens the selection edge. A very small feather can help blend the subject into the blurred background.
* Contrast: Increases the sharpness of the selection edge.
* Shift Edge: Moves the selection edge inwards or outwards. A slightly negative value can help remove unwanted fringes from the background.
* Brush Tool (Hard Round): Use a hard round brush (the regular Brush tool) to paint in or out areas that are obviously incorrect. Hold `Alt/Option` while painting to subtract from the selection, and paint normally to add to the selection.
* Output Settings: In the "Output Settings" section at the bottom, set the "Output To" to "New Layer with Layer Mask". This creates a new layer with a mask based on your refined selection. This is non-destructive, meaning your original image remains untouched.
* Click OK: Close the Select and Mask workspace.
6. Blur the Background
Now that you have a layer with your subject isolated (using the layer mask), you can blur the background on the layer *below* it.
* Select the Background Layer: Click on the layer in the Layers panel that contains your original image (the background).
* Apply Blur Filter: Go to Filter > Blur > Gaussian Blur.
* Adjust the Radius: In the Gaussian Blur dialog box, adjust the Radius slider to control the amount of blur. Start with a low value (e.g., 2-3 pixels) and gradually increase it until you achieve the desired level of background blur. Be careful not to over-blur, as it can look unnatural. A good starting point is to blur just enough so that details aren't distracting.
* Click OK.
7. Optional: Fine-Tune Blending
* Layer Mask Edges: Sometimes, even with careful refinement, there might be a slight halo around the subject. You can address this by:
* Feathering the Layer Mask: Select the layer mask in the Layers panel (click on the black and white thumbnail). Go to Filter > Blur > Gaussian Blur and apply a very small blur (0.5 - 1 pixel) to the mask. This will soften the edges of the mask, helping to blend the subject more smoothly into the blurred background.
* Adjusting Mask Density: Click the `Properties` panel (if not visible, Window > Properties). With the layer mask selected, you can adjust the `Density` slider to control the opacity of the mask. Reducing the density slightly can soften the effect.
8. Final Adjustments (Optional)
You might want to make further adjustments to the image:
* Color Correction: Adjust the colors, brightness, and contrast of the subject layer or the blurred background layer to make them blend together seamlessly.
* Sharpening: Slightly sharpen the subject layer (Filter > Sharpen > Unsharp Mask) to make it stand out against the blurred background. Be very careful with sharpening; over-sharpening will look unnatural.
9. Save Your Work
* Go to File > Save As.
* Choose a file format that preserves layers (e.g., PSD for Photoshop's native format, or TIFF). This will allow you to edit the layers later if needed.
* You can also save a flattened copy as a JPEG for easy sharing (File > Save a Copy > JPEG).
Important Tips and Considerations:
* Practice Makes Perfect: The Magnetic Lasso Tool and Select and Mask require practice. Don't get discouraged if your first few attempts aren't perfect.
* Image Resolution: High-resolution images give you more flexibility and control over the selection and blurring process.
* Non-Destructive Editing: Always use non-destructive techniques like layer masks, so you can easily undo or modify your edits later without affecting the original image.
* Alternative Selection Tools: For images with very complex backgrounds or intricate details (especially hair), consider using more advanced selection techniques like:
* Channels: Using the Channels panel to create selections based on color information.
* Pen Tool: Creating precise vector paths with the Pen Tool and converting them to selections.
* Adobe Sensei AI-Powered Selection: Photoshop's Object Selection Tool and Subject Select (Select > Subject) can often make accurate selections automatically, saving you time.
* Experiment with Different Blur Filters: While Gaussian Blur is common, you can also try other blur filters like Field Blur or Iris Blur for different effects. Iris Blur lets you create a graduated blur, focusing on the subject and blurring the background around it.
By following these steps and practicing, you can effectively blur the background of your portraits using the Magnetic Lasso Tool and other techniques in Photoshop. Good luck!