6
\$\begingroup\$

Is it possible to get "bokeh balls" using an cellphone camera? I'm using an iPhone but the question could apply to any cameraphone. bI'm sure there are a lot of apps which allow you to insert fake ones, but I am referring to "real" ones generated using the cameras optical system.

\$\endgroup\$
1

6 Answers 6

13
\$\begingroup\$

Yes, it is possible - however, a quick experiment shows that it's a little tricky and that the results aren't as good as what you can from a bigger camera.

The bokeh discs are just out of focus lights - so all you have to do is place some lights and "defocus" them.

Here's what you do:

  1. You need an iPhone 3GS or later, earlier models are not capable of changing focus and so can't make anything out-of-focus.

  2. You need lights, Christmas lights often used for this, you need to place the lights as far away from you as possible (the farther away they are the bigger the bokeh disc) and you need them to be much brighter than the background (that last part is easy, just make sure the background isn't acting like a big reflector directing light into the camera and you'll be fine).

  3. You need to focus on an object that is very close to the phone, something like 5-10cm (2-4inch) from the phone, maybe even closer - anything farther and the lights will be in focus - this means your subject has to be quite small to be this close and still not fill the frame (just place your subject in front of the phone and tap on it on the screen to make the phone focus on it)

This will be easier if you can use something to hold the phone (and the subject) since any movement will make the phone refocus and bring the lights back into focus.

\$\endgroup\$
2
  • \$\begingroup\$ This is true, with the exception that cell phone cameras have vanishingly small (nearly true pinhole size) entrance pupils. That is going to put a very tight limit on how large background blur circles can get...regardless of how distant the "background" gets. \$\endgroup\$
    – jrista
    Commented Jun 5, 2013 at 13:05
  • \$\begingroup\$ @Nir: title changed (now: cellphone, not only iPhone). You may want to edit the answer accordingly. \$\endgroup\$ Commented Dec 5, 2013 at 13:24
9
\$\begingroup\$

Instead of trying to describe it by mere words, I'm posting this to show the size of those bokeh balls. They are quite small, as you can see. Bright ones are made of several overlapping "balls" but some dim ones appear individual. Actually all background blur is made of these circles, but only those created by a point light come up visible.

Click to large size

Photo taken with a Nokia smartphone. 1/50 sec, focal length 4,7 mm, f/2.8, ISO 79

Click for original size photo.

\$\endgroup\$
4
  • 1
    \$\begingroup\$ I think this answer is important, as it is the only one to touch on a VERY important concept: The ENTRANCE PUPIL is the key limiting factor that affects the maximum size of a blur circle. The entrance pupil in a cell phone camera is TINY...a few millimeters at most, less than a millimeter on average. That is going to severely limit anyone's capability to create truly "pleasing" boke or blur circles of any meaningful size. It probably is NOT possible to produce nice, big, spherical blur circles like you get from a DSLR (where entrance pupils can be inches in size.) \$\endgroup\$
    – jrista
    Commented Jun 5, 2013 at 13:04
  • \$\begingroup\$ @jrista - Yes, quite impossible I should say. \$\endgroup\$ Commented Jun 5, 2013 at 13:11
  • \$\begingroup\$ I believe it's possible to edit the question itself, changing "iPhone" to "cellphone". That'd make more sense. I'm trying to do this right now. \$\endgroup\$ Commented Dec 4, 2013 at 18:07
  • \$\begingroup\$ @EsaPaulasto: title changed (now: cellphone, not only iPhone). You may want to edit the answer accordingly. \$\endgroup\$ Commented Dec 5, 2013 at 13:25
5
\$\begingroup\$

Bokeh is the name for out-of-focus highlight, so its presence is enhanced when the depth of field is shallow (so that you have a lot of the background out of focus) and when there are bright highlights. You could try to focus on an object as close as possible to the phone, with bright spots in the background (typical set up: focus on a flower like if you were doing a macro picture and the light passing through the leaves of the tress in the "distant" background will possibly give rise to bokeh).

This blog post recommends using a macro iPhone lens and provides an example of the results, so that you can appreciate if it's something that could satisfy your needs.

\$\endgroup\$
5
\$\begingroup\$

While there are a lot of answers that offer how to go about blurring the background with a cell phone camera, it should be pointed out that technically speaking, getting "pleasing background blur", especially that with nice big blur circles, is NOT going to be possible with a cell phone.

Background blur, specifically the amount of blur and the upper limit on the size of a "blur circle", is explicitly determined by the size of the ENTRANCE PUPIL. This is most commonly referred to as the "physical aperture", however that term is actually not really accurate and largely irrelevant...it is difficult to know the actual physical diameter of the aperture in any given lens without knowing explicit details about it's design. What we normally call physical aperture is really the aperture as viewed through the front of the lens. The proper term for that is entrance pupil.

The larger the entrance pupil, the larger background blur circles can get relative to the frame. The smaller the entrance pupil, and you will run into that upper limit faster. In a DSLR, entrance pupils can be quite large. In a fast normal to short tele prime (50mm to 135mm), entrance pupils can be as much as a couple inches in diameter. On a supertelephotp f/4 prime, the entrance pupil can get as large as six inches!

This is in stark contrast to cell phone cameras...where entrance pupils may only be a couple millimeters for the best phones with the absolute largest apertures. On average, cell phone entrance pupils may only be a millimeter in diameter...if that. This makes cell phone cameras the closest thing to a true pinhole camera, and will intrinsically limit the amount and quality of background blur.

An iPhone, while it may be capable of slightly blurring the background when you focus on something EXTREMELY CLOSE, you will not realize anything quite the same as you can get out of a DSLR. You wont' see those nice, big, smooth, soft, and maybe even spherical background blur circles that I suspect you are after. From a physical standpoint, while you might get a speckling of small blur circles when you focus on something sufficiently close...all you'll really see is general blur, and not much else. Very similar to what Esa Paulasto shared in his answer.

\$\endgroup\$
4
  • \$\begingroup\$ Something to consider: The size of the sensor in cell phone cameras is very small. So, relative to the motive, a 1mm bokeh ball would appear just as large as a 1cm one on a sensor 100 times (10×10) as large. Anyhow, what's the formula for calculating bokeh ball size? \$\endgroup\$
    – feklee
    Commented Jun 5, 2013 at 15:48
  • \$\begingroup\$ Relative to the scene, really, which would ultimately have to do with focal length. Focal length in cell phones is wider, so those 1mm blur circles are relative to a very large scene. \$\endgroup\$
    – jrista
    Commented Jun 5, 2013 at 23:56
  • \$\begingroup\$ @Johann3s' answer provides the information I have been looking for. \$\endgroup\$
    – feklee
    Commented Jun 6, 2013 at 12:15
  • \$\begingroup\$ Yeah, according to Johann's answer, boke balls will never be more than 0.5% (HALF A PERCENT) of your image width. Accordingto Johann, that is 5 pixels (out of thousands on either the horizontal or vertical axis). In other worlds, not enough to be useful or meaningful in any realistic context. \$\endgroup\$
    – jrista
    Commented Jun 7, 2013 at 15:02
3
\$\begingroup\$

Yes, you can.

The size of the balls depends on four parameters:

  • Aperture
  • Focal length
  • Distance between subject and camera
  • Distance between subject and background

There is an online calculator which can calculate the size of your bokeh balls as a percentage of the image width, based on the crop-factor, subject, aperture and focal length. In the graph below, the iphone is compared with a 20mm f/2.8 lens on a crop dslr, for a very small subject of 10cm high. (smaller subject=bigger bokeh) As you can see the blur size of the iphone is really small in comparison.

graph

If the background is far enough away, the bokeh bubbles will be 5px in width when the image is shown at 1000px width. Note that this is an extreme situation, and the bokeh is still very small. In general you will never see the bokeh. The comparison shown above can be visited with this link.

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

iPhone 3Gs and laters have the ability called AE/AF Lock (Auto Exposure/Auto Focus Lock) just like on modern DSLRs. Focus on a very close subject by tapping on it on the Camera screen app and hold for 1-2 secs, you will see the focus square pop 3 times and the message AE/AF Lock appear at the bottom of the screen, from now the focus and exposure reading will be locked on the spot that you tapped. Now move the camera to the area you want to snap bokeh and take the photo.

\$\endgroup\$
1
  • \$\begingroup\$ This only works if there isn't a subject that isn't very close that you also want in focus. \$\endgroup\$
    – Michael C
    Commented Apr 23, 2013 at 16:03

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