Use the lens blur filter to simulate shallow depth of field
Sometimes we capture that perfect moment with our camera and then realize that the subject is not isolated enough from the background and the background is really distracting. Now what? Well, you can use the lens blur feature in Photoshop to keep the subject in focus while blurring the distracting background, simulating a shallower depth of field. Alternately, you could blur the foreground and make the background clear. The possibilities are endless.
The Lens Blur feature is not new, but the new algorithm now uses your computer's GPU to create nice blurry edges on objects in the foreground, more realistic bokeh, correct color handling for CMYK and LAB color modes, and more colorful specular highlights in your photos.
Here are 3 different methods that you might choose to set the blur from foreground to background. I will demonstrate option 2 in the tutorial.
OPTION 1- Easy (if you have the capability on your phone)
Enable the depth map on your mobile phone if it is supported. When you open your photo in photoshop, the depth map will be available in the lens blur options. In case you are interested in trying this, this link shows how to configure the camera in Lightroom mobile on a capable iPhone: Depth capture mode (Technology Preview)
OPTION 2- Intermediate
Use a gradient as a depth map to determine which areas are blurred. Create a simple gradient in the Alpha channel from white at the top to black on bottom and select it from the lens blur options.
OPTION 3- Advanced
Use an alpha channel depth map to describe the foreground, middle ground, and background. You can make several layers from selections, combine them or create a smart object, and copy the result to the Alpha layer. You can then select it from the lens blur options. This might be a good option for a portrait where the background needs varying degrees of blurring, but you want the subject to remain in focus.
Layer1: a selection of the subject in the foreground filled with black
Layer 2: a selection of the middle ground filled with grey
Layer 3: background area filled with white.
The Lens Blur filter uses the depth map from your phone camera or the alpha channel you create to determine the position of pixels in an image. The depth map is just an illustration of depth from black to white. Black areas are at the foreground at the front of the photo, and white areas are in the background.
OK, let's create a simple gradient and use the lens blur filter to change our photo.
❶ Import a photo
❷ Create an alpha channel
❸ Blur the photo
I would use Dimension
Thanks Pattie. It's useful to know when things change.
In this instance I had to go the other way and use Photoshop to simulate a depth of field not available when taking the shot, because of needing to balance available light and flash. So everything this side of the cue ball is fake, and the background a composite. It's all Photoshop working for us though. As is always the case with projects like this, I look at it now and see things I'd have done differently.
Lense blur is good but sometimes we get color banding due to lens blur.
Web link removed by Moderator.
This is very useful! Thanks for sharing Patti-F!