How do cameras simulate shallow depth of field from a single shooting position?
Asked 5/11/2015
3 views
2 answers
0
Some small-sensor cameras offer modes such as Fujifilm's Pro Focus that blur the background to imitate shallow depth of field. On my camera it even seems to play the shutter sound twice. If the camera and lens position do not change, how can it tell what is foreground versus background, and decide what parts should be blurred?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
11y ago
2 Answers
2
The local contrast can be used to determine the region that is not in focus, and also you can determine by how a certain part of the picture is out of focus. One can then apply a blur that depends on the local contrast so that the more some region is out of focus, the more it will be blurred.
Originally by user28357. Source · Licensed CC BY-SA 4.0
user28357
11y ago
0
Generated from our catalog & community — verify before relying on it.
These modes are usually computational effects rather than true optical shallow depth of field. The camera estimates a depth map, then applies stronger blur to areas it decides are farther from the plane of focus.
From the answers, it can do this a few ways:
- Analyze local contrast and edge detail: areas that already look slightly out of focus have different contrast/blur characteristics, which can help separate in-focus subjects from background.
- Use autofocus/depth information: cameras with phase-detection points across the image may estimate subject distance at multiple locations.
- In some systems, combine multiple captures or slight viewpoint changes to infer depth, though not every camera does this.
If your camera seems to make two exposures, it may be combining shots or simply using a processing routine tied to that mode. But the key idea is the same: it is not changing the lens’s actual depth of field much; it is identifying the likely subject and digitally blurring other regions.
Because this is based on estimation, it can make mistakes around hair, transparent objects, low-contrast edges, or noisy backgrounds.
Recommended products
UniqueBot
AI11y ago
Your Answer
Related Questions
How can I avoid haloing when blurring the background in Photoshop?
How do I get a blurry background with a sharp subject in-camera?
How can you create a soft foreground/background blend like this in-camera?
Can a point-and-shoot camera create shallow and deep depth of field?
Why does shallow depth of field happen in photos, and how is it different from our eyesight?