How to Blur a Background in Photoshop

Started by vodanhphd, 04-29-2021

How to Blur a Background in Photoshop
  04-29-2021, 03:32 AM

How to Create a Photoshop Action to Blur the Background in a Photograph
Step 1
Open your photo (I used this one). Use any selection tool to select the part of the image that is supposed to stay sharp. Here I used the Magnetic Lasso Tool with Refine Edge option (Select > Refine Edge). It's really important to make a precise selection for this action.

If you want to learn how to create precise selections, even including hair, try this tutorial:
Step 2
Create a New Layer and fill the selection with any color using the Paint Bucket Tool (G). Name the layer mask 1.
Step 3
Create a New Layer below and paint a black and white gradient on it using the Gradient Tool (G). The black part marks the area that will stay sharp. The white one will be blurred. The grey gradient between them will be a transition of these two. Adjust the angle and the position of the colors to the effect that you want to create. Name this layer mask 2.
Step 4
Click somewhere outside of the layers. Open the Actions (Windows > Actions) panel and click the white card icon to create a new action. Give it a name. From now on, your actions will be recorded.
Step 5
Go to Image > Image Size and make the image 5000 px wide. This will allow us to achieve similar results in all photos.
Step 6
Select the whole canvas (Control-A), and then go to Edit > Copy Merged (Control-Shift-C). Go to the Channels tab, Create a New Channel, and paste the selection. Go back to the RGB channel and go to the Layers tab.
Step 7
Hide both masks. Select the background layer and duplicate it (Control-J). Then go to Filter > Blur > Lens Blur. A new window will open. Set the Source to Alpha 1, which is the name of the new channel that we've just created. Then change the settings to achieve the result you want.
Step 8
The background is blurred, but our character in the foreground looks unnaturally sharp. Let's do something about it. Hold Control and click mask 1 to create a selection out of it. Then go to Select > Modify > Expand and Expand by 10 px.
[Image: how-to-blur-background-in-photoshop-8.jpg]
Step 9
Select the copied background and go to Layer > New > Layer via Copy to duplicate the selection. Then go to Filter > Blur > Gaussian Blur. When adjusting the blur, pay attention to the edges of the character. We want to blend them softly with the background.
[Image: how-to-blur-background-in-photoshop-9.jpg]
Step 10
Again, hold Control and create a selection of this layer. Then go to Select > Modify > Contract and Contract by 15 pixels. If you press Delete now, you'll remove most of the blur, leaving only a nicely blended edge.
[Image: how-to-blur-background-in-photoshop-10.jpg]
Step 11
But there's one more problem. The soft edge has been applied to the whole body, even to the part that is actually in focus. To fix it, show mask 2 for a moment and go to the Channels tab. Use the Control key to create a selection out of the RGB channel, and then go back to the layers, hide the mask, and add a New Layer Mask to Layer 1.
[Image: how-to-blur-background-in-photoshop-11.jpg]
[Image: how-to-blur-background-in-photoshop-12.jpg]
Step 12
Finally, click Stop Recording to save the action.
[Image: how-to-blur-background-in-photoshop-13.jpg]
Step 13
If you want to use this action on any other photo, just create the two masks and click Play. Photoshop will repeat all your steps, blurring the background automatically in every photo. That's the magic of Photoshop actions!
[Image: how-to-blur-background-in-photoshop-sample-3.jpg]
[Image: how-to-blur-background-in-photoshop-sample-1.jpg]
[Image: how-to-blur-background-in-photoshop-sample-2.jpg]

« Next Oldest | Next Newest »

Possibly Related Threads…
Thread Author Replies Views Last Post
10 Top Bokeh Effects to Add Beautiful Blur to Photos in Photoshop vodanhphd 2 155 09-07-2021, 01:17 AM
Last Post: Tricky
How to Brighten a Photo in Photoshop vodanhphd 1 129 06-05-2021, 12:39 AM
Last Post: carwel
How to Create a Photo to Pencil Drawing Effect in Photoshop vodanhphd 1 100 05-23-2021, 08:54 PM
Last Post: s_smurf
What Makes Photoshop Better Than Free Alternatives? vodanhphd 0 103 05-05-2021, 05:44 AM
Last Post: vodanhphd
How to Install Brushes in Photoshop vodanhphd 0 96 05-05-2021, 05:38 AM
Last Post: vodanhphd
How to Create a Dreamy Glow Effect Photoshop Action vodanhphd 0 88 04-29-2021, 11:37 AM
Last Post: vodanhphd
How to Make a Soft Light Photoshop Action to Create a Backlight Effect vodanhphd 0 73 04-29-2021, 11:34 AM
Last Post: vodanhphd
How to Create a Kaleidoscope Effect in Adobe Photoshop vodanhphd 0 64 04-29-2021, 11:30 AM
Last Post: vodanhphd
How to Create a Light Leak Photoshop Color Effect vodanhphd 0 73 04-29-2021, 11:27 AM
Last Post: vodanhphd
Make a Trendy Double Exposure Effect in Adobe Photoshop vodanhphd 0 76 04-29-2021, 11:19 AM
Last Post: vodanhphd

1 Guest(s)