scroll-to-target-tracking#onClick" data-label="Scroll to top" data-target-selector="#page-body"> Scroll to top Monika Zagrobelna Dec 30, 2019 What You"ll Be CreatingA blurred background is a great way to bring attention to the objects in the foreground, If your photo has a large depth of field, you can still get the photo effect of a blurred background by using " /> scroll-to-target-tracking#onClick" data-label="Scroll to top" data-target-selector="#page-body"> Scroll to top Monika Zagrobelna Dec 30, 2019 What You"ll Be CreatingA blurred background is a great way to bring attention to the objects in the foreground, If your photo has a large depth of field, you can still get the photo effect of a blurred background by using " />

How to get background blur using deep learning?

      7
post-promotion-placement#checkSidebarAdDisplayCondition" data-controller="scroll-position sticky-ad post-promotion-placement ">
scroll-to-target-tracking#onClick" data-label="Scroll to top" data-target-selector="#page-body"> Scroll to đứng đầu
*
Monika Zagrobelna Dec 30, 2019
*
*
*
What You"ll Be Creating

A blurred background is a great way khổng lồ bring attention lớn the objects in the foreground. If your photo has a large depth of field, you can still get the photo effect of a blurred background by using Photoshop. Today I"ll show you how khổng lồ create an action in Photoshop lớn blur the background with a single click. This Photoshop kích hoạt will work like a filter that you can use on various photos lớn create special effects for pictures.

Bạn đang xem: How to get background blur using deep learning?

Follow along with us over on our Envato Tuts+ YouTube Channel:


*


How khổng lồ Create a Photoshop kích hoạt to Blur the Background in a Photograph

Step 1

Open your photo (I used this one). Use any selection tool to lớn select the part of the image that is supposed khổng lồ stay sharp. Here I used the Magnetic Lasso Tool with Refine Edge option (Select > Refine Edge). It"s really important lớn make a precise selection for this action.

If you want to lớn learn how khổng lồ create precise selections, even including hair, try this tutorial:

*
*
*

Step 2

Create a New Layer and fill the selection with any màu sắc using the Paint Bucket Tool (G). Name the layer mask 1.

*
*
*

Step 3

Create a New Layer below & paint a black and white gradient on it using the Gradient Tool (G). The đen part marks the area that will stay sharp. The trắng 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 khổng lồ the effect that you want to lớn create. Name this layer mask 2.

*
*
*

Step 4

Click somewhere outside of the layers. Open the Actions (Windows > Actions) panel and click the white thẻ 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 & make the image 5000 px wide. This will allow us to lớn achieve similar results in all photos.

*
*
*

Step 6

Select the whole canvas (Control-A), & then go to Edit > Copy Merged (Control-Shift-C). Go to lớn the Channels tab, Create a New Channel, và paste the selection. Go back to the RGB channel and go to lớn the Layers tab.

Xem thêm: Phần Mềm Reset Máy Tính Win 7 Về Mặc Định Không Cần Đĩa, Khôi Phục Cài Đặt Gốc Cho Máy Tính Chạy Windows 7

*
*
*

Step 7

Hide both masks. Select the background layer và duplicate it (Control-J). Then go lớn Filter > Blur > Lens Blur. A new window will open. Phối the Source to Alpha 1, which is the name of the new channel that we"ve just created. Then change the settings lớn achieve the result you want.

*
*
*

Step 8

The background is blurred, but our character in the foreground looks unnaturally sharp. Let"s vì chưng something about it. Hold Control and click mask 1 to create a selection out of it. Then go lớn Select > Modify > Expand and Expand by 10 px.

*
*
*

Step 9

Select the copied background & go to Layer > New > Layer via Copy to duplicate the selection. Then go to Filter > Blur > Gaussian Blur. When adjusting the blur, pay attention khổng lồ the edges of the character. We want to blend them softly with the background.

*
*
*

Step 10

Again, hold Control and create a selection of this layer. Then go khổng lồ Select > Modify > Contract & Contract by 15 pixels. If you press Delete now, you"ll remove most of the blur, leaving only a nicely blended edge.

*
*
*

Step 11

But there"s one more problem. The soft edge has been applied khổng lồ the whole body, even to lớn the part that is actually in focus. Khổng lồ fix it, show mask 2 for a moment and go to lớn the Channels tab. Use the Control key to lớn create a selection out of the RGB channel, and then go back khổng lồ the layers, hide the mask, and add a New Layer Mask khổng lồ Layer 1.

*
*
*
*
*
*

Step 12

Finally, click Stop Recording khổng lồ save the action.

*
*
*

Step 13

If you want to lớn use this kích hoạt on any other photo, just create the two masks và click Play. Photoshop will repeat all your steps, blurring the background automatically in every photo. That"s the magic of Photoshop actions!

*
*
*
*
*
*
*
*
*

Photoshop Actions With Special Photo Effects

Disperse Photo Effect

Photoshop actions are very powerful, but it"s quite time-consuming to lớn create one. If you want lớn save time, you can use actions created by professionals on Envato Elements. For example, this action creates a disperse photo effect. The selected part of the photo turns into a cloud of glitter, which looks very natural. You just need lớn paint the mask và click Play.

*
*
*
Disperse photo effect

Crystal Photo Effect

Here"s another magical photo effect created with an action. Select an area và let Photoshop create a beautiful crystal background, reflecting the subject in a realistic way. This kích hoạt creates chất lượng results with every photo you use!

*
*
*
Crystal photo effect

Double Exposure Photo Effect

This Photoshop action creates a trendy double exposure effect. Open two photos và let the action combine them with a series of adjustments and filters. The photo is turned into an artwork, & all this with a single click!

*
*
*
Double exposure photo effect

Glitch Photo Effect

This Photoshop kích hoạt is very simple, too. You don"t have lớn paint any mask, because the whole photo is used here. Through a series of complex adjustments, your image gets a neat glitch look.

*
*
*
Glitch photo effect

Good Job!

Now you know how to lớn create and use a Photoshop kích hoạt to blur a background in Photoshop. If you"re interested in creating Photoshop actions, you may also lượt thích these tutorials: