Camera: Thinner, Faster, Better Low-Light

Section by Brian Klug

The iPhone 4S represented probably the single biggest leap in camera performance for Apple in the progression of iPhone. The combination of an 8 MP CMOS with 1.4 micron square pixels, F/2.4 optics, and Apple’s own ISP resulted in a great overall performer for its class. We made the prediction early on that optical performance would remain roughly the same with the next iPhone, and that largely turned out to be the case. With the iPhone 5, Apple’s major design guideline seems to have been reducing z-profile, and probably one of the biggest obstacles to getting to that goal was reducing the thickness of the entire camera system. In fact, getting to a thinner optical system with the same performance characteristics is quite a challenge.

Superficially the iPhone 5 camera specifications are almost unchanged. We’re still talking about 1.4 micron pixels (roughly two waves in the red), not the smaller 1.1 micron pixels that are in the cards for the future. F-number remains at 2.4, and total pixel count is still 8 MP. Focal length is shorter, as expected (this is a thinner system, after all), resulting in a slightly wider field of view. I’ve made a table with the relevant specifications for the iPhone 5 cameras.

iPhone 4, 4S, 5 Cameras
Property iPhone 4 iPhone 4S iPhone 5 Rear iPhone 5 Front
CMOS Sensor OV5650 IMX145 IMX145-Derivative OmniVision
Sensor Format 1/3.2" (4.54 x 3.42 mm) 1/3.2" (4.54 x 3.42 mm) 1/3.2" ~1/6" (~2.6 x 1.6 mm)
Optical Elements 4 Plastic 5 Plastic 5 Plastic ?
Pixel Size 1.75 µm 1.4 µm 1.4 µm 1.75 µm
Focal Length 3.85 mm 4.28 mm 4.10 mm 2.2 mm
Aperture F/2.8 F/2.4 F/2.4 F/2.4
Image Capture Size 2592 x 1936 (5 MP) 3264 x 2448 (8 MP) 3264 x 2448 (8 MP) 1280 x 960 (1.2 MP)
Average File Size ~2.03 MB (AVG) ~2.77 MB (AVG) ~2.3 MB (AVG) ~420 KB (AVG)

That’s not to say that there haven’t been changes made to the rear facing camera performance, however. Apple talked about dramatically improved low light sensitivity thanks to a low light boost mode. As we’ll show later this does make a big change in overall sensitivity thanks to the combination of 2x2 pixel binning at ISO 3200 to keep noise under control, and better fixed pattern noise rejection on their ISP.

Apple claims that this is an entirely new ISP, oddly enough I found that the interface is still named the same (AppleH4CamIn ISP) as what I found on the 4S, but I don’t doubt that there have been at least some tweaks, though unfortunately this is still relatively opaque without lots of digging. During the keynote, Apple claimed that image capture is now 44 percent faster than the 4S thanks to this improved ISP. The improvement is actually hard to measure, the iPhone 5 doesn’t have a burst mode, instead capturing quickly requires tapping as fast as you can. Shot to shot latency is essentially zero on the iPhone 5, gated only by how fast I can tap. I put together a short video comparing the 4S and 5.

The camera launches faster, HDR images capture quicker, all around the iPhone 5 camera experience is just smoother and faster, which isn't a surprise. 

Camera Performance Comparison
Property iPhone 3GS iPhone 4 iPhone 4S iPhone 5
Camera Launch Time (seconds) 2.8 2.3 1.4 1.2
HDR Capture Time (seconds) - 4.9 3.2 1.6
Working Distance (cm) - 7.0 6.5 6.1

Apple has once again gone with a Sony CMOS for the rear camera, though this time (thanks to Chipworks) we know it ditched the IMX145 markings. Apple is frequently able to have its suppliers make specific one-offs with changes just for themselves, it’s highly likely that’s the case here. I have almost no doubt that the changes made to IMX145 accommodate this extremely high ISO (3200 is almost unheard of for that size pixels due to noise) with some tweaks to the amplifier in each active pixel (which is what we really mean when we talk about a CMOS versus a CCD). Either way I have no doubt time will tell that this is an IMX145 derivative with some tweaks to both aide the low light boost mode, and also possibly get to Apple’s desired chief ray angle if IMX145 couldn’t do it already. Unfortunately like so much in the smartphone space there’s very little in the way of open documentation for IMX145.

Apple claims that they’re aligning optical elements with even tighter tolerances now, which does make a big difference in the kinds of optical design tolerances available. There’s also a sapphire front window in the place of what was previously just optical glass. Sapphire of course has an extremely high surface hardness second only to diamond, in addition to excellent chemical resistance, and good transmittance. The real advantage here is again one of thickness — you can run thinner sapphire windows in the place of standard glass windows and get better transmittance. Sapphire windows in optical systems are colorless and chemically composed of single crystal aluminum oxide (Al2O3). Upon inspection the iPhone 5 sapphire does indeed appear to have an antireflection coating as well.

The story on the front facing camera is actually one of dramatic improvement. The iPhone 4 was the first iPhone to include a VGA front facing camera, which remained the same on the iPhone 4S as well. That system was arguably good enough for FaceTime which seemed its original reason for existing, but finally gets updated to 1280 x 960 on the iPhone 5. That particular CMOS is an OmniVision part with 1.75 micron pixels and topped with an F/2.4 optical system. Images captured on the front facing camera are dramatically better, and video is 720p now.

Before we talk about image quality though I’d like to make brief mention about user experience on the iPhone 5 camera. I touched on how the interface is even faster than the 4S thanks in part to faster A6 silicon and improved ISP onboard, and Apple continues to make things very minimalist with virtually no options for changing shooting modes manually or configuring ISO. In addition, every image taken on any Apple camera is at the highest resolution and compression mode, always. Essentially all of this functionality is abstracted away from the user leaving the shooting experience fully auto all the time. This includes the low light boost mode which kicks in below a certain threshold.

What’s puzzling about the iPhone 5 user experience is that the aspect ratio of the viewport no longer matches the aspect ratio of the CMOS or the end images. This is done purely for aesthetic reasons as far as I can tell, because of the extreme letterboxing that would happen with a 16:9 viewport and 4:3 image size. Instead of going ahead and giving you that letterboxed but 100 percent field of view preview, Apple instead crops off the top and bottom and presents a roughly 3:2 image in the preview screen.

I encountered this somewhat unexpectedly while taking images of the ISO12233 chart and trying to align the chart with the 4:3 CMOS, only to be thoroughly confused to the point of questioning my basic math skills until I realized the preview was a crop of the real image area. As of this writing in iOS 6.0 there is no way to double tap on the preview and get an aspect-correct, 100 percent preview with letterboxing like you could do with 16:9 video in video capture mode. Instead, you’re just always locked to an absurd 3:2 center crop of a 4:3 image. This makes absolutely no sense to me and will always result in image composition in the preview screen that looks nothing like the end result. I sincerely hope an update adds a double tap gesture that will give an actual 4:3 preview. Another new thing I noticed on the iPhone 5 is that if you let the phone get too hot it will disable the LED flash until the device cools down. I have never seen this behavior on the 4 or 4S.

 

Lastly, iOS 6 adds a panorama mode to both the iPhone 5 and iPhone 4S which actually has been lurking around hidden in iOS for some time now. Panorama mode in iOS continually integrates over the field of view, first for the full field, later over a small center strip until you reach the end. The mode produces results that are at maximum 10800 pixels wide and around 2590 pixels tall depending on if you swept through the horizontal field of view without any shift. In addition the mode supports portrait panoramas if you rotate the camera 90 degrees and scan upwards.

I stuck my iPhone 4S, iPhone 5, HTC One X and Samsung Galaxy S 3 in the dual camera bracket and took a number of panoramas for comparison purposes. There’s a surprising amount of difference between the approaches I see handset vendors taking for panorama. The One X takes a few exposures and stitches them together, Galaxy S 3 does continual integration but produced strangely blocky results. iOS continually stitches a small center strip together as I mentioned already.

Still Image Quality Evaluation

To evaluate still image quality we turned to our standard set of tests which seems to keep growing. That consists of a scene in a lightbox with constant controlled illumination of 1000 lux taken using the front and rear cameras with as close to the same field of view as possible, images of a distortion grid, GretagMacbeth ColorChecker card for white balance checking, and an ISO12233 test chart for gauging spatial resolution in an even more controlled manner. Because I’ve moved houses and lighting will never ever be exactly the same, I have decided to move the three test charts into my lightbox as opposed to putting them on a wall and illuminating them with studio lights. This warrants a completely new set of comparison images, hence the smartphone 2012 camera bench for the three charts and front facing camera.

Let’s start with what’s most objective first, the tangential and saggital spatial frequency crops. You can really see here that Apple’s camera design team kept performance roughly the same between the 4S and 5, I can count up to roughly 16.5 (100x lines per image height) on both devices. Samsung Galaxy S 3 appears to also be around 16, along with the HTC One X. The iPhone 4 and Galaxy Nexus are at a huge disadvantage with their 5 MP CMOS, I can see up to 15 or so before there’s a contrast reversal from us crossing through MTF of 0. The PureView 808 actually outresolves the test chart at full size and at the 8 MP on-device oversample, obviously you can’t beat that device with just an 8 MP CMOS.



The tangential frequency crops basically tell the same story which isn’t a surprise. It’s shocking how close the iPhone 4S and 5 are here. I strongly suspect that team was basically ordered to keep MTF the same and just reduce the thickness of the 4S-era optical system. You can look at the 100 percent size versions of the tangential and saggital crops as well rather than these which are resized to 600 pixels wide maximum to fit online.

From the rest of the test charts we can see the iPhone 5 has slightly more pincushion distortion than the 4S in the distortion chart, but not a whole lot. It is also evident from the GMB chart and other photos that I’ve taken over my time with the iPhone 5 that the revised ISP also has better auto white balance.

The remainder of the well-lit tests really tell the same story. In outdoors lighting (with both cameras automatically selecting the same ISO and exposure time) I can’t find any major difference in camera performance between the 5 and 4S, they’re very close. Apple also changed the LED diffuser design with iPhone 5, it is visibly different and now results in a much more even field of illumination in the lights-off lightbox test.

On the front facing camera the increase in resolution and overall quality is dramatic, however.

It is in low light performance that the 4S and 5 radically diverge thanks to the low light boost mode which kicks in automatically at a preset threshold on the iPhone 5. You can tell when this happens just looking at the preview since there’s a dramatic shift all of a sudden in exposure. The iPhone 5 does a 2x2 pixel bin, then upscales that image to the same full size resolution as normal 8 MP capture (3264 x 2448). The result is a tradeoff in spatial resolution for lower noise and an exposure without integration time that’s inordinately long. According to EXIF, the iPhone 4 will do a maximum ISO of 1000 and 1/15th of a second, the 4S will do a maximum of ISO 800 and 1/15th of a second, and finally the iPhone 5 will do between ISO 1600 and ISO 3200 and 1/15th of a second. The difference is quite dramatic as expected.


I took samples in the lightbox at a controlled 4 lux with the phones I selected for shooting with the test target and selected low light modes wherever possible in the camera UI. On the PureView 808 I manually forced the maximum ISO of 1600 since there is no low light preset. The resulting image from the PureView isn’t a mistake, that’s what it actually looks like in full and PureView modes. It’s interesting to see how the different cameras handle this extreme low light. The Samsung Galaxy S 3 shoots at ISO 640 and integrates over a full half second to produce its result, PureView 808 takes ISO 1600 which I set and integrates over a full second (according to EXIF), the One X goes to ISO 1200 and doesn’t report how long it integrates, meanwhile all three iPhones select a maximum exposure time of 1/15th of a second and their respective maximum ISOs. Considering the exposure times of some of those cameras are far too long to hand hold (I use a tripod for these comparisons) I would say that Apple setting a maximum 1/15th of a second makes a lot of sense.

 

Before we depart still image quality entirely I think it’s worth visiting the evolution of all the iPhones, from the original generation of iPhone, to the latest and greatest iPhone 5. We’ve come along way in a short time since 2007, from 2 MP cameras that basically crammed a webcam module into a smartphone to 8 MP shooters with custom optics and ISP that are now arguably good enough to take the place of a point and shoot. Things haven’t entirely plateaued yet either.


iPhone Cameras
Property iPhone iPhone 3G iPhone 3GS iPhone 4 iPhone 4S iPhone 5
Focal Length ? ? 3.9 mm 3.85 mm 4.28 mm 4.10 mm
Aperture F/2.8 F/2.8 F/2.8 F/2.8 F/2.4 F/2.4
Image Capture Size 1600 x 1200 (2 MP) 1600 x 1200 (2 MP) 2048 x 1536 (3.1 MP) 2592 x 1936 (5 MP) 3264 x 2448 (8 MP) 3264 x 2448 (8 MP)
Average File Size ~650 KB ~700 KB ~1.2 MB ~2.03 MB (AVG) ~2.77 MB (AVG) ~2.3 MB (AVG)
Test Image Full Size Link Link Link Link Link Link

 

Purple Haze

The final thing I’d like to talk about regarding still image capture on the iPhone 5 is the so called “purple haze” purple glare which sometimes appears with a bright light source placed just outside the field of view of the camera. When this started getting public attention many assumed that it was the result of light somehow picking up purple from the sapphire cover glass. I guess this assumption was the one people settled on quickly because most sapphire gemstones are purple in appearance? Regardless, the reality as I touched on earlier is that optical grade sapphire windows for either expensive wristwatches or camera systems impart no color on light passing through them. In fact, when I saw this I actually immediately tweeted that this was merely a matter of some stray light bouncing around inside the camera module and probably picking up a purple cast probably from some magnesium fluoride (Mag-Flouride is a very common AR coating choice that looks purple) or other antireflection coating. Note that these coatings are designed to work on a limited range of acceptance angles, from some angles they can indeed reflect, in spite of the name.

The iPhone 5 does exhibit this a bit more than the 4S, but such is to be expected given the wider field of view and larger chief ray angle. Most photographers are used to using either a lens hood or simply shielding cameras with their hand to block stray light from reflecting around inside an optical system and creating this type of glare, and obviously in the case of a smartphone there really isn’t any possible way people are going to attach either baffles or a lens hood (maybe there’s a market for that, though). Note that it is not correct to call this a chromatic aberration, insofar as it is just light that has picked up some color.


The two circular purple artifacts are clearly reflections

I captured two great photos which to me conclusively prove this is an internal reflection of some kind (in case you don’t believe the Apple support statement which parrots what I’ve said already). The first photo shows the purple flare that most see, in the second photo I’ve tilted the phone down slightly and the purple now shows up as two circles which to my optical engineering eyes instantly look like two visible reflections. I was actually going to set up an optical bench and track the angle until I stumbled upon this while playing with the camera during a late night trip to CVS. Again, all of this is easily mitigated by blocking the stray light.

Display: 16:9, In-Cell Touch, sRGB Coverage Video: High Profile H.264
POST A COMMENT

278 Comments

View All Comments

  • medi01 - Wednesday, October 17, 2012 - link

    1) Compare ipad2's gamut, cough
    2) Check values on toms
    http://media.bestofmicro.com/3/4/331888/original/g...
    http://www.tomshardware.com/reviews/ipad-3-benchma...

    Unlike anand, toms was beyond primitive contrast/brightness benchmarking for quite a while.
    Reply
  • thunng8 - Thursday, October 18, 2012 - link

    Not sure if I should trust Tom's figures compared to Anands's.

    In any case, both show the ipad3 has higher gamut, especially in sRGB.
    Reply
  • steven75 - Wednesday, October 17, 2012 - link

    I think what you meant to say is that AMOLEDs win on black levels and that's about it. LCDs still win in accuracy and most importantly ability to see them in outdoor settings. Reply
  • KoolAidMan1 - Tuesday, October 16, 2012 - link

    Not even close. Even the better Android displays like the Galaxy S3 has a PenTile display. Despite having more "pixels" it actually has fewer subpixels than the iPhone does. Unless you have bad eyesight the S3 display looks really bad in comparison, and this is before we get to even worse smartphone displays out there by HTC, etc. Reply
  • Sufo - Tuesday, October 16, 2012 - link

    Old pentile displays were visibly jaggy on vertical lines - even my old lumia 800 exhibited this to some extent. On the GS3 tho, it is not noticeable and it has nothing to do with eyesight.

    Your comment makes it sound (to someone who has seen many different smartphone displays in person) as though you haven't spent much time with the GS3 (read: many smartphones) at all. Simply mentioning that is uses pentile subpix config, from you, sounds like regurgitated information. Not only that, but you seem to gloss over the many benefits that amoled panels bring. It's arguable that these benefits are more important than an accurate colourspace on (specifically) a mobile phone - although it is ofc entirely subjective.

    This brings me to the last tell of ignorance I noted; your mention of HTC. Have you used a One X? For those who do not like amoled panels, the display on the one x is perhaps nicer than both the gs3 and the ip5. Ofc you may say Android is not your cup of tea, and that's a perfectly justifiable stance, however it has nothing to do with display tech.

    tl;dr You sound like you don't know what you're talking about
    Reply
  • KoolAidMan1 - Tuesday, October 16, 2012 - link

    I do know what I'm talking about given that I've seen many smartphones, and I've calibrated my share of desktop displays to sRGB.

    Differences in display tech aside, Android phones have never gotten color profiles right, EVER. They're almost always oversaturated, have too much contrast, and are inaccurate. Anand even posted a difference in color accuracy between several devices, and the profile for the S3 is totally what I expected.

    The S3 really doesn't look good, period, but then again there are people who argue that TN panels are just fine against IPS. I'm used to hearing nonsense on forums when it comes to display from people who don't know what to look for.
    Reply
  • KoolAidMan1 - Tuesday, October 16, 2012 - link

    BTW, apologies if that came out harsh, but the difference in color and contrast accuracy between something like the S3 and a properly calibrated device is a night and day difference to me. I'm pretty sensitive to display quality though; my main desktop display at home is still an NEC and my plasma is a Pioneer Elite (RIP) Reply
  • rocketbuddha - Tuesday, October 16, 2012 - link

    For Android you have the following 720p HD Displays

    SLCD - HTC Rezound (2011 tech)
    SLCD 2 - HTC One X, Sony HD
    HD SAMOLED Pentile - GS3, Galaxy Nexus, Moto Razr HD
    HD SAMOLED RGB - Galaxy Note II
    True IPS LCD - LG Optimus 4X, Optimus G
    Super IPS LCD -Asus Padphone, Sharp phones etc

    So you have big set of choices. If dark contrasts are important then SAMOLED is the way to go. SAMOLED RGB over SAMOLED Pentile.
    If overall color and whites are important go with SLCD2.
    IPS LCDs are the closest to the Retina Display and u have a choices there too. You can pick and choose what is good for you and have alternatives.
    Reply
  • Spunjji - Thursday, October 18, 2012 - link

    The HTC One X has what is hailed to be one of the best LCD smartphone displays out there. Your claim is invalid.

    Similarly, the Galaxy Note 2 has an AMOLED display without PenTile. Sure, it's lower density, but one does not hold a 5.5" screen so close to one's face.
    Reply
  • medi01 - Wednesday, October 17, 2012 - link

    ""The iPhone 5 display is better than any current Android display.""
    Why don't you go hit your dumb head with something heavy, ipad would do?
    Reply

Log in

Don't have an account? Sign up now