Learning to Refocus with Video Diffusion Models

SaiKiran Tedla, Zhoutong Zhang, Xuaner Zhang, Shumian Xin
12/22/2025
cs.CV

No official code found. Best implementation: tedlasai/learn2refocus (27 stars, MIT, last commit 2026-03-26). 1 more below.

Abstract

Focus is a cornerstone of photography, yet autofocus systems often fail to capture the intended subject, and users frequently wish to adjust focus after capture. We introduce a novel method for realistic post-capture refocusing using video diffusion models. From a single defocused image, our approach generates a perceptually accurate focal stack, represented as a video sequence, enabling interactive refocusing and unlocking a range of downstream applications. We release a large-scale focal stack dataset acquired under diverse real-world smartphone conditions to support this work and future research. Our method consistently outperforms existing approaches in both perceptual quality and robustness across challenging scenarios, paving the way for more advanced focus-editing capabilities in everyday photography. Code and data are available at www.learn2refocus.github.io

View on arXivView PDF

Code Implementations(2)

MIT

Code for Learning to Refocus with Video Diffusion Models - SIGGRAPH ASIA 2025

272PythonNov 2, 20256 months agoMIT
MIT

Code for Learning to Refocus with Video Diffusion Models - SIGGRAPH ASIA 2025

00Roff, PythonNov 3, 202511 months agoMIT

Similar Papers

Cite this paper

@article{tedla2025learning,
  title  = {Learning to Refocus with Video Diffusion Models},
  author = {SaiKiran Tedla and Zhoutong Zhang and Xuaner Zhang and Shumian Xin},
  year   = {2025},
  eprint = {2512.19823},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.19823v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.19823.svg)](https://codeofpaper.com/paper/2512.19823)

Discussion