AnyBokeh: Physics-Guided Any-to-Any Bokeh Editing with Optical Fingerprint Transfer
Xinyu Hou, Xiaoming Li, Zongsheng Yue, Chen Change Loy
NeurIPS page · OpenReview · Open on the map
Category: Diffusion & Image Generation › Computational Editing · Type: new method · Keywords: bokeh editing, depth-of-field control, optical fingerprint, circle-of-confusion, disparity mapping, physics-guided synthesis
Areas: Computer Vision & 3D › Visual Diffusion and Restoration › Pixel-Space Diffusion
Summary
AnyBokeh is a physics-guided framework that estimates a source optical fingerprint from signed circle-of-confusion and disparity maps, then transfers this fingerprint to synthesize any-to-any bokeh editing while preserving original blur cues and avoiding all-in-focus reconstruction.
Explained to a 5-year-old
A picture can be blurry in some places and sharp in others. We want to change how blurry it looks without making the whole picture sharp. The method looks at how the blur is spread out and saves that information. Then it uses that saved information to make new blur effects. This helps you edit photos to have the background blur you like, keeping the original picture's feel.
Explained to a 5-year-old, longer
When you take a photo, sometimes the background is blurry and the subject is sharp. Sometimes you want to change how blurry the background is after you have already taken the picture. Existing tools often first make the whole picture sharp, which loses the original blur information. The new idea is to keep the original blur information and use it to create new blur effects. It looks at how the blur is spread out across the picture and saves that pattern. Then it uses that saved pattern to draw new blur where you want it. This way you can make the background more or less blurry without losing the original details. It also works when the original picture was already blurry in some places. The method can handle pictures taken with different cameras and settings. It helps photographers edit their pictures more flexibly and keep the feel of the original shot. The tool is designed to be easy to use, so you don't need to be an expert. By avoiding the step of making everything sharp, it reduces errors and keeps the picture looking natural.
For a technical reader
AnyBokeh is a physics-guided framework that enables editing depth-of-field in a single photograph without first reconstructing an all-in-focus version. It estimates a signed circle-of-confusion map and a disparity map to capture the source blur state and derives an optical fingerprint that encodes the camera’s blur characteristics. By transferring this fingerprint, the system synthesizes target blur conditioned on both source and target circle-of-confusion maps, allowing spatially adaptive deblurring, preservation, and defocus rendering. The approach avoids the need for all-in-focus reconstruction and test-time bokeh-level calibration, making it practical for real-world editing workflows.
Problem
Post-capture bokeh editing from a single image is challenging because existing methods assume all-in-focus inputs or discard blur information, losing useful cues and introducing artifacts. There is a need for a practical editor that can handle arbitrary focus and aperture settings without reconstructing an all-in-focus image.
Method
The approach estimates a source blur state using a signed circle-of-confusion map and a disparity map, models the linear relationship between them to derive an optical fingerprint, and transfers this fingerprint to synthesize target blur conditioned on source and target circle-of-confusion maps. A generative editor then performs spatially adaptive blur synthesis, deblurring, and defocus rendering.
Results
Experiments on real-world benchmarks demonstrate faithful and controllable editing across any-to-any bokeh editing, all-in-focus-to-bokeh rendering, and defocus deblurring, while avoiding all-in-focus reconstruction and test-time bokeh-level calibration.
Contributions
The paper introduces a physics-guided framework that leverages source blur cues via an optical fingerprint, enabling any-to-any bokeh editing without all-in-focus reconstruction, and provides a high-fidelity synthetic dataset with full EXIF metadata for supervised learning.
Practical relevance
The approach enables photographers and content creators to edit depth-of-field flexibly on existing images, preserving original blur cues and avoiding costly reconstruction steps.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction