In this story
Smartphone photography starts from a physical shortfall: “Cell phone cameras have small apertures, which limits the number of photons they can gather,” and “small sensor pixels, which limits the number of electrons each pixel can store,” in the words of the 2016 Google Research paper that described the HDR+ burst system (Hasinoff et al., SIGGRAPH Asia 2016). The industry’s answer has been software. Instead of one exposure, the phone records several and merges them, a practice usually called computational photography.
At a glance
- The constraint: a phone is “thickness-constrained, so making its aperture larger is difficult” (Hasinoff et al.)
- HDR+ (2014): a rapid burst of short exposures, aligned and combined into one picture (Google Research, Marc Levoy)
- Night Sight (2018): up to 15 frames of 1/15 second handheld, or 6 frames of 1 second on a support (Google Research)
- Portrait mode (2017): a neural network trained on almost a million pictures, plus a depth map from dual-pixel sensors (Google Research)
- Deep Fusion (2019): Apple’s “pixel-by-pixel processing of photos” using machine learning (Apple Newsroom)
Why a small sensor is noisy
Photons arrive at random
Light reaches a sensor as discrete photons, and their count varies from moment to moment. Google’s Night Sight team names this shot noise as a major noise source “for smartphone cameras, which have small lenses and sensors,” and states that the signal-to-noise ratio “rises with the square root of exposure time (or faster)” (Google Research, Levoy and Pritch). On that relationship, quadrupling the exposure only doubles the signal-to-noise ratio.
A larger camera gets that light through a bigger lens opening and bigger pixels. The HDR+ paper explains why a phone cannot simply copy that solution: a cell phone is thickness-constrained, so making its aperture larger is difficult (Hasinoff et al.).
Why not just expose longer
A long single exposure collects more light but blurs with hand shake and blows out bright areas. Marc Levoy’s 2014 post on HDR+ states the trade in one line: “Averaging multiple shots reduces noise, and using short exposures reduces blur” (Google Research). Short frames also keep highlights from blowing out (same source).
The comparison with older optics is useful here. Google’s portrait-mode post points out that a 50mm f/2.0 lens has an opening 25mm across, wide enough that objects a few inches from the plane of focus already look soft, while a phone’s small, fixed aperture leaves “everything more or less in focus” (Google Research). Readers who want the film-era version of the exposure problem will find it in the post on film versus digital as an archive.

HDR+ and the logic of the burst
One button, many frames
When HDR+ appeared in the Google Camera app in October 2014, it was available only on the Nexus 5 and Nexus 6 (Google Research). Pressing the shutter, according to Levoy, “actually captures a rapid burst of pictures, then quickly combines them into one” (same source). The burst lasted between a third of a second and a second, depending on how dark the scene was, and alignment started from the sharpest frame (same source).
Same exposure, raw data
The 2016 paper by Samuel Hasinoff and seven Google colleagues, presented at SIGGRAPH Asia in Macao, set out the method in technical detail (Hasinoff et al.). Two decisions stand out. The team captured frames “of constant exposure, which makes alignment more robust,” rather than the bracketed exposures of traditional HDR, and it began from Bayer raw frames rather than the processed RGB images phones normally produce (same source).
Bursts were limited in practice to two to eight images (same source). The pipeline ran in 4 seconds on the device for a 12-megapixel image and required no user intervention, and the paper states that it shipped on several mass-produced phones, marketed as HDR+ on the Nexus 6, 5X and 6P (same source).
Why constant exposure matters
Hasinoff’s team argued that “the most reliable approach to burst mode photography is to capture each image in the burst with the same exposure time” (Hasinoff et al.). Identical frames are easier to align, and Levoy’s 2014 post adds that combining enough short shots reduces noise in the shadows while the short exposure avoids blowing out highlights (Google Research). The portrait-mode post later described the same base step as a burst of underexposed frames, aligned and averaged (Google Research).
Night Sight, measured in lux
The thresholds
Night Sight, announced on 14 November 2018 by Marc Levoy and Yael Pritch, was framed around light levels. “Smartphone cameras that take a single picture begin to struggle at 30 lux,” the post states, and Night Sight was designed for “the regime between 3 lux and 0.3 lux” (Google Research). Below 0.3 lux, autofocus begins to fail (same source).
Ordinary HDR+ capped each frame at 66 milliseconds no matter how dim the scene, which kept the viewfinder close to 15 frames per second (same source).
Longer frames when the phone is still
Night Sight broke that cap. It “captures 15 frames of 1/15 second (or less) each, or 6 frames of 1 second each,” depending on hand shake, motion and brightness (Google Research). With little motion in the scene, each frame could stretch to 333 milliseconds; on a tripod or a steady surface, to as much as a second (same source).
Motion metering decided the length. The Pixel 3 used optical flow to measure movement in the scene and pick an exposure that limited blur; in Google’s example of a dog, a 73-millisecond frame with metering switched off came out blurred, while metering chose 48 milliseconds and reduced the blur (same source).
White balance by learning
Colour was the other problem. Very dim scenes confuse automatic white balance, so the team built a “learning-based AWB algorithm, trained to discriminate between a well-white-balanced image and a poorly balanced one,” using photographs from Pixel phones corrected by hand (Google Research).

What painters taught the tone curve
A night picture that looks like night
Brightening a dark scene raises a question of look as well as noise. The Night Sight team’s answer came from painting: it added “an S-curve into our tone mapping,” noting that painters “have known for centuries how to make a painting look like night” (Google Research). The example the post cites is Joseph Wright of Derby’s A Philosopher Lecturing on the Orrery of 1766 (same source).
The link ran both ways. On his Stanford page, Levoy lists a Google video under the description that Italian art influenced the look of Pixel’s photography (Marc Levoy, Stanford). He led a Gcam team at Google from 2011 through 2020 and is now a Vice President and Fellow at Adobe, according to the same page.
Who decides what a photograph is
A phone picture is assembled from many frames and adjusted by trained models before anyone sees it. That raises the question of how much processing is acceptable in documentary work, a debate covered in the post on the Steve McCurry Photoshop controversy.
Fake blur and borrowed zoom
Portrait mode on the Pixel 2
Shallow depth of field is the clearest case of software standing in for glass. Google’s October 2017 portrait-mode post describes the steps: a convolutional neural network, trained on almost a million pictures, estimates which pixels belong to a person; dual-pixel autofocus sensors split the lens into two views less than a millimetre apart, from which a stereo algorithm computes depth (Google Research, Levoy and Pritch).
The mask and depth map then set how much each pixel is blurred, with each pixel replaced by a translucent disk to approximate optical bokeh (same source). Processing took about 4 seconds (same source). The front camera, lacking dual pixels, relied on segmentation alone, so its blur could not vary with distance.
Hand tremor as a resource
Super Res Zoom, described in October 2018 by Bartlomiej Wronski and Peyman Milanfar, turned a nuisance into data (Google Research). Optical stabilization does not remove the “faster, lower magnitude, natural hand tremor” of a person holding a phone, so successive frames land slightly offset, and the system merges them onto a higher-resolution grid (same source). If the phone is held perfectly still, it can jiggle the camera deliberately to create the same offsets.
The method also sidesteps demosaicing. Each pixel on a Bayer sensor records only one colour, and the post states that “two-thirds of an RGB digital picture is actually a reconstruction” (Google Research). Google described the result as roughly competitive with the 2x optical zoom lenses on many other phones, with the feature switching on above 1.2x; the work was later published in ACM Transactions on Graphics (same source).
Apple’s version: Night mode and Deep Fusion
What Apple published in 2019
Apple describes its processing in less technical language. Its press release of 10 September 2019 stated that a new Wide sensor “with 100 percent Focus Pixels and advanced software enables Night mode” on the iPhone 11 Pro (Apple Newsroom). The same release announced Deep Fusion, “coming later this fall,” as an image processing system enabled by the Neural Engine of the A13 Bionic chip (same source).
Machine learning at the pixel level
The release says Deep Fusion “uses advanced machine learning to do pixel-by-pixel processing of photos” (Apple Newsroom). It gives no frame count. Google’s HDR+ method, by contrast, was set out in a conference paper with its burst sizes and timings (Hasinoff et al.).
Drawing on screens followed a parallel path in the same years; David Hockney’s work on a tablet is covered in the post on his iPad drawings.
Frequently asked questions
What is computational photography on a phone?
On Google’s phones it means capturing a burst of frames, aligning and merging them, and processing the result; HDR+ “captures a rapid burst of pictures, then quickly combines them into one” (Google Research).
Why do phone cameras struggle in the dark?
Small apertures limit the photons they gather and small pixels limit the electrons each can store (Hasinoff et al.); Google says single-shot phone cameras begin to struggle at 30 lux (Google Research).
How does portrait mode blur the background?
Google’s Pixel 2 combined a person-segmentation neural network with a depth map from dual-pixel sensors, then blurred each pixel by an amount set by its depth (Google Research).
How many frames does Night Sight use?
Up to 15 frames of 1/15 second or less when handheld, or 6 frames of up to 1 second when the phone is stabilized (Google Research).
Sources
- Samuel W. Hasinoff et al., “Burst photography for high dynamic range and low-light imaging on mobile cameras,” SIGGRAPH Asia 2016: http://graphics.stanford.edu/papers/hdrp/hasinoff-hdrplus-sigasia16.pdf
- Google Research, Marc Levoy, “HDR+: Low Light and High Dynamic Range photography in the Google Camera App” (27 October 2014): https://research.google/blog/hdr-low-light-and-high-dynamic-range-photography-in-the-google-camera-app/
- Google Research, Marc Levoy and Yael Pritch, “Night Sight: Seeing in the Dark on Pixel Phones” (14 November 2018): https://research.google/blog/night-sight-seeing-in-the-dark-on-pixel-phones/
- Google Research, Marc Levoy and Yael Pritch, “Portrait mode on the Pixel 2 and Pixel 2 XL smartphones” (17 October 2017): https://research.google/blog/portrait-mode-on-the-pixel-2-and-pixel-2-xl-smartphones/
- Google Research, Bartlomiej Wronski and Peyman Milanfar, “See Better and Further with Super Res Zoom on the Pixel 3” (15 October 2018): https://research.google/blog/see-better-and-further-with-super-res-zoom-on-the-pixel-3/
- Apple Newsroom, “iPhone 11 Pro and iPhone 11 Pro Max” press release (10 September 2019): https://www.apple.com/newsroom/2019/09/iphone-11-pro-and-iphone-11-pro-max-the-most-powerful-and-advanced-smartphones/
- Marc Levoy, Stanford home page: https://graphics.stanford.edu/~levoy/
