Spatially Varying Defocus Deblurring

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 139 papers42 conceptsfrozen 2026-10-04

In a perfect pinhole camera, every point in a scene maps to a single pixel. In the real world, we use lenses with wide apertures to gather enough light for a clean exposure. This creates a "thin-lens" effect: only objects at a specific distance—the focal plane—appear sharp. Everything else is projected as a "circle of confusion," resulting in defocus blur.

The fundamental challenge in restoring these images is that defocus is spatially varying. Because the degree of blur depends on an object's distance from the lens, a single image contains thousands of different blur kernels. You cannot simply "deconvolve" the image with one filter; you must first understand the 3D geometry of the scene.

The Geometry of Non-Uniform Blur

Traditional image restoration often assumes a "stationary" blur, where the same degradation applies to every pixel. However, as noted by Yuhui Quan and Hui Ji in their work on Gaussian Kernel Mixture Networks, real-world defocus is inherently depth-dependent.

This depth-dependency creates a unique set of problems:

  1. Kernel Estimation: To fix a pixel, you need to know the Point Spread Function (PSF) at that specific depth. Ali Mosleh and colleagues demonstrated that intrinsic blur kernels change not just with depth, but also with the lens's optical properties across the frame.
  2. Boundary Asymmetry: Blur isn't just a smudge; it's a physical overlap. Haoyu Ma and Qingmin Liao point out in their α-Matte Boundary model that out-of-focus foregrounds bleed into sharp backgrounds, but the reverse is rarely true.
  3. Topographical Complexity: In specialized fields like pathology, biological samples aren't perfectly flat. Lichi Zhang shows that microscopic scans suffer from varying defocus because different parts of the tissue sit at different heights relative to the objective lens.

Leveraging Hidden Sensor Data

If the problem is a lack of depth information, the solution lies in finding "hidden" depth cues within the camera hardware.

Modern smartphones often use Dual-Pixel (DP) sensors for autofocus. These sensors split each pixel into two halves, effectively capturing two slightly different views of the scene. While cameras usually discard this data after focusing, Abdullah Abuolaim and Michael S. Brown proved in Defocus Deblurring Using Dual-Pixel Data that this data acts as a stereo pair. The "disparity" between these two views is directly proportional to the amount of defocus, providing a built-in map for deblurring.

This concept has been extended to Quad-Pixel (QP) sensors. Hang Chen and Xiaodong Yang introduced LMNet, which uses four sub-aperture views to achieve even more precise restoration. By treating the sensor as a tiny light-field camera, these models can "see" the blur's structure before they attempt to remove it.

Adaptive Architectures for Localized Restoration

Since the blur changes at every pixel, the neural networks designed to fix it must be equally flexible. Researchers have moved away from standard convolutions toward adaptive layers that change their weights based on the local blur level.

  • Iterative Filters: Junyong Lee developed the Iterative Filter Adaptive Network (IFAN), which uses separable filters that adapt to the local blur scale. This allows the model to handle large blurs without the massive computational cost of large-kernel convolutions.
  • Implicit Representations: Instead of predicting a sharp image directly, INIKNet by Yuhui Quan uses Implicit Neural Representations (INR) to model "inverse kernels." The network learns a continuous function that can generate the exact deblurring kernel needed for any coordinate in the image.
  • Multi-Branch Processing: Models like BaMBNet by Pengwei Liang and Jiayi Ma use specialized processing branches. One branch might handle slight blurs (near the focal plane) while another handles heavy blurs (deep background), with a "blur-aware" gate deciding which branch to trust for each pixel.

From Reconstruction to Generation

The most recent shift in the field involves moving from pure reconstruction to generative refinement. Even with perfect depth information, some details are lost forever to blur.

Haoxuan Feng and Sixiang Chen introduced the Residual Diffusion Deblurring Model (RDDM), which uses diffusion to "hallucinate" missing textures. Unlike standard diffusion, which starts from pure noise, RDDM starts from a blurry image and learns to add only the necessary high-frequency residuals.

Similarly, Hao Yang and Liyuan Pan have explored Language-driven deblurring, using semantic prompts (like "a sharp face" or "blurry trees") to guide the restoration process. By combining low-level sensor data (DP) with high-level semantic priors (CLIP), these models can restore images that were previously considered unsalvageable.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_spatially_varying_defocus_deblurring_58dd6d0f,
  title = {Spatially Varying Defocus Deblurring},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/spatially-varying-defocus-deblurring/rdr_58dd6d0ffeb84f21a26aaa90d58f8df2},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_spatially_varying_defocus_deblurring_58dd6d0f_v1,
  title = {Spatially Varying Defocus Deblurring},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/spatially-varying-defocus-deblurring/rdr_58dd6d0ffeb84f21a26aaa90d58f8df2/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}