When a camera shakes during a photo, each pixel records a smear, the blur. Undoing it without knowing the camera's motion is called blind deblurring. The problem is ill-posed in a basic way: a blurred photo is equally well explained by "a sharp scene smeared by a long motion" and by "a scene that was already blurry, with no motion at all." Algorithms often settle on the second explanation. Coded exposure means flickering the shutter on and off in a known pattern during the exposure. It makes the blur easier to invert, but it throws away about half the light and has so far needed the motion to be known or drawn by a user. A different piece of hardware avoids that loss. The coded two-bucket sensor has two charge wells per pixel, and it steers each photon into one well or the other according to a code. No light is discarded, and one exposure yields two images: one blurred by the code, the other by its complement.
This note proposes treating that pair as a two-channel blind deconvolution problem. The pair supplies a constraint that a single photo cannot. If the two images share a scene $X$ and differ only in their blur kernels $K_0$ and $K_1$, then convolving each image with the other's kernel must give the same result. That relation involves only the kernels, so the "no-blur" explanation is ruled out by the data rather than by a hand-tuned prior. We would build a trajectory-based blind deblurrer on this constraint. We would also derive a rule for choosing the shutter code so that the constraint pins down the motion, and test where in the light-level range the approach beats both light-discarding coded exposure and ordinary deep deblurring.
Core Claim
Let $Y_b$ be the image in bucket $b \in \{0,1\}$ and $X$ the sharp scene. Let $m(t)\in\{0,1\}$ be the binary code that routes charge to bucket 1 at time $t$, and $\mathbf{T}(t)$ the camera's rotational trajectory. Let $K_1(\mathbf{T})$ be the blur produced by integrating along $\mathbf{T}$ weighted by $m(t)$, and $K_0(\mathbf{T})$ the same weighted by $1-m(t)$. Then $Y_b = X * K_b(\mathbf{T}) + N_b$ with noise $N_b$, and $K_0 + K_1$ is the ordinary open-shutter blur. Eliminating $X$ gives the cross-relation
$$Y_0 * K_1(\mathbf{T}) - Y_1 * K_0(\mathbf{T}) \approx 0 .$$
The trivial solution does not satisfy it. Setting both kernels to scaled deltas would force $Y_0 = Y_1$, which a nontrivial code prevents.
The cross-relation has a known failure mode. Any factor the two kernels share cannot be recovered from it. In frequency terms, the pair is identifiable only if $K_0$ and $K_1$ have no common zeros. This leads to our second claim. The right code for blind two-bucket imaging is not the code that makes a single kernel best-conditioned. The modified Legendre sequences of Fluttering Pattern Generation Using Modified Legendre Sequence for Coded Exposure Imaging are optimized for that single-kernel goal. What we need instead is a code whose complementary kernel pair stays coprime, with a margin, across the family of plausible trajectories. It should also be time-asymmetric, so that forward and reverse motion produce different kernel pairs.
The obvious simple split is to give the first half of the exposure to one bucket and the second half to the other. This fails the criterion. Both kernels are then the same half-length box, shifted, so they share that box's sinc zeros exactly. We therefore predict the naive split will be measurably worse than a designed code, and that prediction is directly testable.
Relation to Prior Work
Three papers each cover two of the three ingredients, and none covers all three.
Coded exposure photography: motion deblurring using fluttered shutter introduced shutter coding. It cut noise amplification from 39.67 dB to 18.9 dB. It is also the source of both limitations we address: it discards about 50% of the light, and it requires the user to specify the motion. Lightweight High-Speed Photography Built on Coded Exposure and Implicit Neural Representation of Videos motivates our asymmetry requirement. It uses an asymmetric code (11100101) as an "optical timestamp" that removes the 180° direction ambiguity. It still relies on a light-absorbing liquid-crystal shutter and has no explicit camera-motion model.
Coded Two-Bucket Cameras for Computer Vision supplies the hardware principle: per-pixel charge diversion with no light loss, prototyped at 244×160 pixels. It was evaluated on structured-light depth and photometric normals, with disparity error around 4%. It mentions suitability for deblurring but never attempts blind deblurring.
Blur2seq supplies the reconstruction machinery we reuse. It has three parts: a network that predicts a 3D rotational trajectory, a differentiable projective motion-blur renderer, an unrolled solver based on the alternating direction method of multipliers (ADMM), and test-time refinement using a reblur loss. It operates only on open-shutter images, so it inherits sinc zero-crossings and sign ambiguity. We extend its forward model to two coded kernels and add the cross-relation to its test-time objective.
Two further works constrain the design. Deblurring Text Images via L0-Regularized Intensity and Gradient Prior shows that escaping the trivial solution with priors works well for text (SSIM 0.8659 vs 0.5526) but relies on domain structure, and the file notes that such priors fail on natural textures. That is why we want a data-level constraint instead. Fundamental Limits of Blind Deconvolution Part I: Ambiguity Kernel frames the residual ambiguity we must characterize. Our common-zero analysis is the two-bucket instance of that question.
Research Program
The work has three parts.
Identifiability and code design. We will show that for kernel pairs rendered along smooth rotational trajectories with complementary codes, the cross-relation determines the trajectory up to the pair's common factor. We will then define a code-quality score: the worst-case minimum over frequency of $\max(|\hat K_0|,|\hat K_1|)$, taken over sampled trajectories and penalized when the forward and reversed trajectories give similar kernel pairs. We will search binary codes of length 8–32 to maximize this score. The designed codes will be compared against Legendre codes, random codes, and the half-split code.
The estimator. A Blur2seq-style network takes both buckets as input and predicts $\mathbf{T}$. Test-time refinement minimizes the cross-relation residual, normalized to exclude the zero-kernel solution, plus a reblur loss on each bucket. A two-channel unrolled ADMM solver then recovers $X$ from both buckets jointly. Because shake blur varies across the image, the cross-relation is applied per patch. Rotational blur is locally close to uniform, so the local residuals remain valid, and they are tied together through the single global trajectory.
Noise-aware evaluation. Two readouts mean paying read noise twice. The advantage should therefore hold when shot noise dominates and could reverse at extreme low light, where read noise dominates. We will map that crossover rather than assume it away.
Baselines
Naive reference. The sum $Y_0+Y_1$ is exactly an open-shutter photo with the same light, deblurred by Blur2seq. It shows what the second channel adds at zero photon cost. The strongest reported blind trajectory-based number in the file is Blur2seq's 23.87 dB PSNR on the Lai nonuniform dataset (previous best 22.11) and 29.01 dB on RealBlur. For generic feed-forward deblurring, Scale-Recurrent Network for Deep Image Deblurring reports 30.26 dB on GoPro. Those numbers come from real or pre-rendered open-shutter data. We will re-run Blur2seq and the recurrent network on our coded renderings rather than compare against the published figures. Beating the naive reference means a consistent PSNR gain on identical scenes and trajectories, and fewer sign-flipped trajectories.
Strongest learned competitor. We will retrain the recurrent network, and HINet, on the same two-bucket inputs with the same data and training budget. This tests whether an unconstrained network extracts the same benefit without an explicit cross-relation.
Light-discarding coded exposure. This is a single bucket with the same code, carrying half the light, processed by our trajectory estimator, plus the implicit-representation method of the Lightweight High-Speed Photography paper, which reports 30.64 dB on GoPro for its own frame-unfolding task. This comparison isolates what photon recycling contributes.
Ablations isolating the key ingredient. We will remove the cross-relation term, and we will swap the designed code for the half-split code and for a Legendre code. All methods receive the same trajectory distribution, noise model, and hyperparameter search budget.
Why not just…?
Why not just take a short exposure, or a burst? Agrawal et al. compared coded exposure against short exposures and found that short exposures lose to read and shot noise. A burst of $n$ frames pays read noise $n$ times, where two buckets pay it twice. We will include a two-frame and a four-frame burst with the same total time in the photon-level sweep. If bursts win at every light level, the proposal fails, and we will report that.
Why not just train a bigger network on ordinary blurred photos? Sinc zero-crossings remove information outright, and open exposures are symmetric in time. Blur2seq itself argues that unconstrained networks hallucinate under large rotational blur. The retrained two-bucket network baseline goes further: it tests whether the benefit comes from the extra channel or from the explicit constraint. If that network matches ours, then the constraint is unnecessary and only the hardware matters. That would still be a result, but a smaller one.
Why not just split the exposure into two halves, with no code design? This is the most serious threat, because it already gives two channels without light loss. Our analysis predicts that the shared half-box factor leaves the kernels unidentifiable at its zeros, and it leaves the absolute extent of the blur weakly determined. The half-split ablation settles this directly. If it performs as well as designed codes, the code-design contribution collapses, and we will say so.
Proposed Experiments and Decisive Checks
The main testbed is synthetic but physically grounded. We will use GoPro high-frame-rate sharp sequences and sharp images re-blurred with sampled 3D rotational trajectories, following Blur2seq's protocol. Each is rendered into two buckets with calibrated shot noise, read noise, and quantization, and swept over photon counts spanning three orders of magnitude. The metrics are PSNR and SSIM, trajectory error including the rate of sign flips, and a collapse rate: the fraction of estimates whose kernel extent falls below 20% of the true extent. RealBlur is used only to confirm that our open-shutter baseline reproduces reported behavior. For real capture, we will emulate two buckets with a high-speed camera, summing sub-frames by code and applying readout once per bucket. If a two-bucket sensor is available, we will run a small validation at its native resolution.
Three outcomes would be decisive. First, the collapse rate should drop to near zero with the cross-relation while remaining substantial without it. Second, the designed code should beat the half-split code and the Legendre code most clearly at frequencies where the half-split pair shares zeros. Third, the photon sweep should show a range of light levels where two buckets beat both the single light-discarding bucket and the matched burst, along with an honestly reported crossover where read noise erases the advantage.
References
- Fluttering Pattern Generation Using Modified Legendre Sequence for Coded Exposure Imaging
- Coded exposure photography: motion deblurring using fluttered shutter
- Lightweight High-Speed Photography Built on Coded Exposure and Implicit Neural Representation of Videos
- Coded Two-Bucket Cameras for Computer Vision
- Blur2seq: Blind Deblurring and Camera Trajectory Estimation from a Single Camera Motion-blurred Image
- Deblurring Text Images via L0-Regularized Intensity and Gradient Prior
- Fundamental Limits of Blind Deconvolution Part I: Ambiguity Kernel
- Scale-Recurrent Network for Deep Image Deblurring
- HINet: Half Instance Normalization Network for Image Restoration