FlashReFocus: Interactive Image Refocusing in Seconds

Project page  ·  Paper  ·  Code  ·  Video

How to use. (1) Upload a photograph, or pick an example, and press Restore: one-step diffusion restores the all-in-focus image once. (2) Click the restored image or the depth map to focus; each click runs only the 1.3M-parameter renderer. (3) Turn the aperture, reshape the depth curve, or upload your own depth map; switch to Two focal planes (click two points) or Tilt-shift (click the row to keep sharp).

512 1536
0 1.5
Examples (Unsplash portraits and our own photographs)
0.4 2.5
0.02 0.3
Focus mode

Two planes: the first click sets A, the second B. Tilt-shift: click a row.

0 1.5