6
\$\begingroup\$

Some cameras with small sensors can artificially blur image background provided there's an object in the foreground. FujiFilm calls it Pro Focus filter.

I'm not sure if the camera makes one or two shots consecutively, X-30 seems to play the "shot sound" twice.

As you don't change the lens position, how does the camera know what is background and should be blurred?

(The background is probably already very slightly blurred but it also contains a noise that may make it indistinguishable from foreground surfaces.)

Normal shot and a shot with the Pro Focus effect

\$\endgroup\$
1
  • \$\begingroup\$ The last part of the discussion here seems to conclude that it does something like the opposite of focus stacking, using up to three shots. \$\endgroup\$ Commented May 11, 2015 at 23:16

2 Answers 2

2
\$\begingroup\$

I asked a while ago how to do that in Photoshop better. It has, in current versions, a depth-mapped dof lens-effect simulator, and an automatic "select what's in focus". A fully automated thing would do it the same way but punt on the depth mapping.

A program for Android platform cameras has you move the camera up and over while it's looking, so it figures out distance from vision algorithms and generates the depth map from that. See the commercials where you focus where touched on the image, after the picture has been taken?

Finally, cameras that have phase-detection simultanious with imaging and at many points in the image can directly sense the distance of each out-of-focus focusing spot and use that, along with visual edge detection, to generate the depth map. (I don't know if they do, but the information is present in useful quantity in newer cameras).

\$\endgroup\$
2
\$\begingroup\$

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.

\$\endgroup\$
1
  • \$\begingroup\$ If it's taking two shots, it would maybe also take one at it's minimum focus distance as well, and somehow compare the results with the original image for more information? \$\endgroup\$ Commented May 11, 2015 at 22:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.