• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • News
  • Reviews
  • Organizing
  • Editing
  • Explainers
  • Photo-editing A-Z
  • About

Life after Photoshop

  • Lightroom Classic
  • Capture One
  • Nik Collection
    • Analog Efex
    • Color Efex
    • Silver Efex
    • HDR Efex
    • Viveza
    • Sharpener
    • Dfine
    • Perspective Efex (retired)
  • DxO PureRAW
  • ON1 Photo RAW
  • Exposure X

Can you create digital bokeh, and is it as good as the real thing?

May 9, 2022 by Life after Photoshop

If you want the short answer, it’s yes and no. Yes, you can create digital bokeh, and no, it’s not as good as the real thing. You can, however, create a reasonably convincing bokeh ‘look’.

This simulated depth of field (or ‘bokeh’) blur is clearly optically incorrect, but as an effect, well, it’s probably fine.

But let’s clarify one thing early on. Lots of people (and lots of software programs) use the word ‘bokeh’ to mean shallow depth of field. They’re not the same thing at all.

Shallow depth of field means foreground or background blur in front of or behind the plane of sharp focus. ‘Bokeh’ is actually the appearance of out of focus areas. For purists, there’s ‘good’ bokeh and ‘bad’ bokeh, perfect disk-shaped highlights versus nasty distorted, diaphragm-shaped or ‘onion skin’ bokeh.

So this guide isn’t about good bokeh versus bad bokeh, but how to simulated shallow depth of field in software. And it’s a lot harder than you might think, largely because you’re trying to separate objects in three dimensions when they’ve already been flattened into two.

Here’s an example. This fairground truck makes a striking composition, but the background is as sharp as the front of the truck and makes the picture look muddled and messy. But what if I could keep the front of the truck sharp and blur the background. Should be easy enough, right?

Let’s see. I’m using Exposure X7, which has some of the best bokeh/blur tools around (they all work in much the same way).

1. A vertical ellipse

digital bokeh effect

My first attempt uses Exposure’s elliptical bokeh too, which I’ve sized and positioned vertically over this truck’s grille. Inside the center part of the ellipse the image is completely sharp, between the center and the outer edge the sharpness fades away, and beyond the outer edge the image is blurred.

So this has achieved a nice, progressive blur effect that works quite well, but any photographer will immediately see the flaw – with ‘real’ background blur, the full width of the front of the truck would be sharp and not blurred at the edges.

2. A horizontal ellipse

Digital bokeh effect

So here I’ve swapped the ellipse round so that it’s horizontal and the headlamps are sharp, Now, though, the top of the grille is blurred. I could enlarge the blur marquee to include the top of the grille too, but then it would be so large that only. the corners of the image would be blurred.

This is an example of how you have to compromise with ‘digital bokeh’, or ‘digital depth of field’. You have to settle for an image that simply has an effective look, because you’re not going to get technical accuracy.

But let’s keep going anyway.

3. Linear blur

Digital bokeh effect

Here, I’ve swapped to Exposure X’s linear blur tool, given that the front of the truck is more or less a horizontal subject. This linear blur tool is very effective at creating a miniature ‘diorama’ effect, but only when you’re subject is on a receding plane at an angle to the camera – not when it’s completely front-on, as here.

4. Manual masking

Digital bokeh effect

So what about masking the area manually? The software can’t work out the 3D depth in the picture but we can do it by eye. Here, I’ve used the polygon selection tool in Exposure X7 to manually select the background area for blurring. It takes a little longer to do, so is it worth the effort?

5. Manual mask refinement

Digital bokeh effect

Well, it’s worked up to a point. The trouble with manual selections is that they produce a hard edge, so that when you apply a blur effect, the transition from sharp to blurred looks completely unnatural. So I’ve had to go in with the mask Erase tool set to a medium flow value and low hardness to paint away at the edges of the mask to blend it in more gently. I’ve also had to reduce the blur value to make it look anywhere near natural.

After all that, there’s still one more problem. Once you’ve made a selection or a mask, only that area will be blurred. HOWEVER, the blur is generated using areas both inside and outside the mask. This means that some of the bright metalwork in the truck radiator finds its way into the blur effect around its edges.

Digital bokeh is a ‘look’ not a simulation

Digital bokeh effect
Here’s my completed ‘bokeh’ effect. The blur still doesn’t look right around the front of the radiator, but this is as good as I can get it without spending a whole lot longer making incremental progress. The thing is, the quick and dirty bokeh effect at the top of this article is probably as good as it needs to be. It’s meant to be an evocative ‘look’, not an optical simulation.

If you want shallow depth of field, use a longer focal length or a wider lens aperture. It’s an effect you can ONLY achieve optically at the moment of capturing a 3D scene.

You CAN, however, achieve something of the ‘look’ of shallow depth of field digitally, and it can be quite evocative and satisfying in its own way. But you should accept that it’s never going to be technically correct, and if you try to get that through more sophisticated masking, feathering and blurring techniques you’re just going to disappear down a rabbit hole.

I do quite like digital bokeh/blur effects, but I long ago accepted that it’s all about the overall ‘look’, and chasing a technically accurate simulation of shallow depth of field is pointless.

Read more

  • Add zoom blur with a twist
  • Create a tilt-shift effect with Snapseed
  • 6 tips for getting an authentic analog film effect
  • How to use the Nik Collection Analog Efex Pro Camera Kit

Exposure X7

Exposure X7: $129
Exposure X7 bundle: includes Blow Up 3 and Snap Art 4: $149

Exposure X7 is also available as a full 30-day trial

Get Exposure X7

Related

Filed Under: TutorialsTagged With: Exposure X

Life after Photoshop is owned and run by photographer and journalist Rod Lawton. Rod has been a photography journalist for nearly 40 years, starting out in film (obviously) but then migrating to digital. He has worked as a freelance journalist, technique editor and channel editor, and is now Group Reviews Editor on Digital Camera World. Life after Photoshop is a personal project started in 2013.

Primary Sidebar

Subscribe to this site

Enter your email address to subscribe to Life after Photoshop and receive notifications of new posts by email.

Adobe Lightroom: what is it, where do you get it, what does it cost in 2025?

Adobe Lightroom is not one program but three. You could … [Read More...] about Adobe Lightroom: what is it, where do you get it, what does it cost in 2025?

The best photo editing software for organizing, editing, RAW and effects

Choosing the best image editing software used to be easy. … [Read More...] about The best photo editing software for organizing, editing, RAW and effects

Layers explained

Layers explained: what they do and how to use them

Layers are a central part of many photo editing processes, … [Read More...] about Layers explained: what they do and how to use them

BAN adjustments… Basic And Necessary image corrections to do first

Photo editing software does two quite different jobs. It can … [Read More...] about BAN adjustments… Basic And Necessary image corrections to do first

More Posts from this Category

Mission statement

Life after Photoshop is not anti-Photoshop or anti-subscriptions. It exists to showcase the many Photoshop alternatives that do more, go further, or offer more creative inspiration to photographers.

Affiliate links

Life after Photoshop is funded by affiliate links and may be paid a commission for downloads. This does not affect the price you pay, the ratings in reviews or the software selected for review.

Contact

Email lifeafterphotoshop@gmail.com

Copyright © 2025 Life after Photoshop · News Pro on Genesis Framework · WordPress · Log in

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OK