
Google’s Night Sight changed what a phone can do in the dark (Liba et al., 2019). The trick isn’t a better sensor. The phone shoots a burst of short exposures, lines them up and merges them, so one handheld shot gathers the light of many frames. Average N frames and random noise drops by √N.
My cameras are far bigger than a phone, and I shoot bursts with them all the time. Yet raw processors still develop each frame on its own. I’ve been toying for a while with the idea of bringing Night Sight’s tricks to a mirrorless raw, but until now I had no way to actually try it.
What changed is Qull. It started because Lightroom was painfully slow at culling, and I was annoyed enough to write my own culling tool. (Qull. Cull. See what I did there?) Speed was its whole reason to exist, and it sat at the core of every design decision. I soon realised I could build a whole Lightroom alternative that was wickedly fast too. So that’s what Qull became: my own photo editing suite for Apple Silicon, and the platform where I play with algorithms like this one. I don’t ever plan to release it. It’s just for me. The best part is that I can have mobile apps, cloud synced all without having to pay Adobe to store every raw file, but that’s a story for a different post.
So I built burst merging into Qull. My test case is wildlife in a rainforest in the late afternoon, which means high ISO. The macaque above was shot at ISO 16,000, and at 100% the raw is more colour noise than monkey.
A big camera sets a much higher bar than a phone, though. Its sensor collects far more light per frame. And Qull already has an AI Denoise: a single-frame network (a NAFNet-style U-Net, about 20 million parameters) that demosaics and denoises the raw data in one pass. It is very good. A burst merge would only be worth having if it beat that.
Attempt one: the phone recipe
I started from the handheld merge Google published for its Pixel phones (Wronski et al., 2019). Its authors describe it as the default merge in Night Sight mode. It aligns every frame to a reference, tile by tile. Then it tests each pixel against the camera’s noise model: differences that noise can explain get merged, and differences it can’t, like motion, get rejected. Finally it merges straight to linear RGB. It needs no training. It runs on Metal in Qull’s engine, with Handheld and Tripod modes and a per-pixel noise map that tells the later noise reduction what is left.
To measure it fairly I built a harness. It makes synthetic bursts from my own clean raws, adds each camera’s measured noise, and simulates hand tremor and moving subjects. That gives a ground truth to score against.
Then came my real bursts. At 500 mm handheld, frames had moved 80 to 1,500 pixels from the reference, while the alignment only searched about 78. A coarse global search to seed it fixed that, and the merge began to work. But side by side at 100%, AI Denoise on one frame still won. On the synthetic bursts, the merge with noise reduction averaged 0.15 dB behind AI Denoise on static areas and 2.5 dB behind in moving ones.
Attempt two: let the denoiser see the burst
I didn’t throw the merge away. I kept its alignment and asked a different question: what if AI Denoise itself could see the other frames?
The burst network is AI Denoise with its input widened to eight frames. Qull’s engine does the alignment it already knows how to do. For each extra frame it hands the network:
- the frame’s difference from the reference;
- which samples clipped;
- how well each tile matched;
- whether the frame is there at all.
The weights for the new inputs start at zero, so at step zero the network is AI Denoise. Training can only teach it what the extra frames are worth.
Training ran for 60,000 steps, about ten hours on my Mac, on 50,000 synthetic bursts. They included hand shake, rotation, rolling shutter, moving subjects and lighting changes. Two rules kept it honest:
- A one-frame floor. Given only the reference, it has to reproduce AI Denoise. At run time, wherever no other frame is trusted, the output is AI Denoise.
- Frames from the wrong scene. About one training crop in six had a frame from a different scene slipped in. An earlier model’s hardest case was two scenes from the same shoot, where it lost 0.82 dB. The trained model loses 0.04 dB there.
On the synthetic bursts, it beats single-frame AI Denoise by 2.8 dB on static areas. It matches AI Denoise where things move, and gains 1.2 dB near clipped highlights. The obvious shortcut, running AI Denoise on every frame and then averaging, gained only 1.25 dB on static areas.

Shipping it
Merging is now in the app. I select a burst in the Library and choose Photo ▸ Merge Burst…. A “Merge” copy appears and merges in the background: about 10 seconds for a 45-megapixel burst and 15 to 24 seconds at 100 MP. In Develop, a Merge group changes the frames, the method (Learned (AI) or Standard, the classical merge) and the strength. Show Single Frame flips to the reference at the same zoom, so I can judge the difference myself.
What it does on real photos
The synthetic bursts are the kind of data the network trained on. My own bursts are the real test, and there the story is mixed.
At low ISO there is nothing to gain. On three OM System bird bursts at ISO 200 to 320, the learned merge is within a fraction of a percent of AI Denoise. On the pelican, the network handed nearly all the weight back to the single frame. A moving bird over moving water gave it nothing it could trust.

At high ISO the merge engages, and it is close. On three Canon R5 Mark II bursts from Borneo at ISO 12,800 to 20,000, the learned merge used other frames on 76% to 100% of the pixels. The result looks very close to AI Denoise and a touch crisper: more fur and eyelid texture on the macaque, sharper whiskers and bark on the flying squirrel. It also carries a touch more grain in flat areas.



The numbers need care. On flat areas, the learned merge measures 3 to 4 dB more variation than AI Denoise, with detail within 1 to 3%. These real bursts have no ground truth, though, so that measure can’t separate real texture from leftover noise. Some of those decibels are the crispness I can see. The crops are the real judge, and to my eye they show a trade-off, not a clear win.
The Standard merge falls well behind both. At ISO 16,000 it could align only one of the macaque’s five other frames, and every frame it refuses is light it can’t use. It ends up cleaner than the raw frame, but visibly grainy next to either AI result.

What carries over from phones
The learned merge does what it was built to do. Where it can’t trust the other frames, it falls back to single-frame AI Denoise exactly, and on static synthetic scenes it does measurably better. On my real wildlife bursts the gain is small: nothing at low ISO, and a slightly crisper, slightly grainier rendering at high ISO.
So does Night Sight’s idea carry over to a big camera? Partly. A phone’s single frame in the dark is so noisy that merging is the only way to a usable picture. A full-frame raw at ISO 320 has little noise left for a merge to remove, and a good single-frame network already removes most of it. The burst starts to pay where the single frame runs out: at ISO 12,800 and above, where my raws begin to look like a phone’s in the dark. Wildlife makes it harder still. Night Sight can ask the photographer and the subject to hold still for a moment, and a pelican over moving water won’t.
That is an honest result, and a useful one. A burst is no longer just a stack of near-duplicates to cull. At high ISO it is something I can merge, look at next to one frame, and choose.
I’m not giving up on the idea, though. The gap between +2.8 dB on synthetic bursts and a near-tie on real ones tells me there is still something here. Two experiments are next. The first is training data closer to real raws. The network learned from images downscaled four times in each direction, so every patch it saw was far busier and sharper than the same-sized patch of a full-resolution raw. Real frames look flatter to it than anything it trained on. The second is a generative stage: a diffusion prior that fills in only what the burst leaves uncertain, and leaves alone everything the frames agree on.
For the engineers
Engine. C++23 with Metal compute. Every stage has a CPU reference and a Metal kernel, and tests hold the two to each other.
Classical merge. Alignment runs tile by tile on the Bayer mosaic, with Lucas–Kanade sub-pixel refinement, seeded by a coarse global search out to 1,536 samples. The robustness test follows Wronski et al.: each local difference is shrunk by what noise alone would explain. Noise comes from tables I measured per camera and ISO, row banding included.
Network. AI Denoise (bayer_jdd_v1) is a NAFNet-style U-Net on packed, variance-stabilised Bayer data: about 20 M parameters, 180 GMAC per megapixel. The burst version has eight slots and 104 input planes: the reference keeps AI Denoise’s own 13, and each of the seven other slots adds 13 more at half resolution: differences from the reference for each colour, clipping flags, leftover sub-quad motion, validity, match quality and texture. Frames are gathered at whole Bayer quads rather than resampled, so each sample keeps its own noise. The new input weights start at zero, so at step zero the network reproduces AI Denoise to float32 rounding.
Training. 60,000 steps (9.9 hours) on 50,000 seeded synthetic bursts, with 1 to 8 frames present. With one frame, the target is AI Denoise’s own output. A held-out motion family, lens distortion, scored +1.91 dB, against +2.08 dB on validation.
Gates and run time. A separate gate used seven synthetic bursts with no motion at all, which is why it scores higher than the chart. With noise reduction, the network gained +3.55 dB over AI Denoise with 8 frames, +1.06 dB with 2 and ±0.00 dB with 1. Across seven wrong-scene tests the worst loss was 0.045 dB, on a different pair from the same-shoot one above. The engine matches the Python lab to a mean 0.001 σ on a real burst. At run time, a pixel with no trusted frame gets AI Denoise exactly. Elsewhere, a factor for each trusted-frame count tells noise reduction how much noise is left. The model ships as a 48 MB FP16 file.




