Deblur with your own kernel in four steps
- Open the blurred photo. It is measured first, so the measured kernel is one click away.
- Get a kernel. Paint it cell by cell, start from the measured one, estimate it from the photo, or import a PNG or CSV.
- Tune and compare. Sharpness, strength and guard, with the result beside the original. A kernel that did not settle is flagged.
- Save, and keep the kernel. Save the photo at full size, and export the kernel to reuse on another photo from the same burst.
When a straight line is not the right kernel
The ordinary deblur assumes a straight smear or a round defocus. Real camera shake is often a curve, a hook or a double movement. A point-spread function — the shape a single point of light was smeared into — can describe any of those, and the frequency-domain path can undo any of them at the same cost.
| Curved shake | Estimate the kernel from the photo, or paint the curve. |
|---|---|
| A star or a light in the frame | Its streak is the kernel: paint what you see. |
| A burst with the same shake | Export the kernel from one photo, import it on the next. |
| Straight shake | The motion deblur is simpler. |
When this will not help
- Blur that differs across the frame (a subject moving against a still background) — one kernel cannot describe it.
- Patches with too little texture: the estimate will not settle, and the trace shows it.
- Very long kernels on noisy photos: the result rings or grains; lower the sharpness.
Two different movements in one photo? Fix a subject that moved. Straight camera shake? Motion deblur is quicker.
Questions
What is a kernel, or PSF?
The point-spread function is the shape a single point of light was smeared into by the blur. Deconvolving a photo with the right one undoes the smear. Here it is a square grid of weights in source pixels; brighter cells carry more weight, and the grid always sums to one.
How does the blind estimate work?
It alternates between two guesses, coarse to fine: the sharp patch given the current kernel, and the kernel that best maps that patch's strongest edges onto the blurred ones. It is classical arithmetic, not a learned model, and it can fail — the convergence trace shows whether it settled.
Which file formats can I import?
A square PNG (brightness is weight) or a CSV of numbers, one row per line, between 3 and 127 cells across. Exports use the same two formats, so a kernel can move between photos of the same burst.
Why is there a sharpness control instead of rounds?
The custom kernel always runs on the frequency-domain path, where the control sets how little the result is regularised: higher is crisper and noisier.
When won't this work?
When the blur is different in different parts of the frame, when the estimation patch is flat, or when the kernel is wrong — a wrong kernel adds artifacts rather than removing blur. Compare before saving.
Is my photo uploaded?
No. Editing, estimating and deconvolving all happen in this browser tab.
Related
- Motion deblurOpen straight into the motion kernel, and read the dial before trusting what it rebuilds.
- Fix a subject that movedTwo kernels: one for the painted subject, one for the background.
- How it worksWhich engine ran, how each verdict is reached, and the model licence chain.
- Unblur an imageDiagnose the blur, then reconstruct it, with the kernel on a dial.




