mlsanityData to 14 Oct 2026

DiffCamera: Arbitrary Refocusing on Images

arXiv 2509.26599 ↗First posted 30 Sep 2025cs.CVcited by 5

Not on the map. Why?

Abstract (arXiv)

The depth-of-field (DoF) effect, which introduces aesthetically pleasing blur, enhances photographic quality but is fixed and difficult to modify once the image has been created. This becomes problematic when the applied blur is undesirable~(e.g., the subject is out of focus). To address this, we propose DiffCamera, a model that enables flexible refocusing of a created image conditioned on an arbitrary new focus point and a blur level. Specifically, we design a diffusion transformer framework for refocusing learning. However, the training requires pairs of data with different focus planes and bokeh levels in the same scene, which are hard to acquire. To overcome this limitation, we develop a simulation-based pipeline to generate large-scale image pairs with varying focus planes and bokeh levels. With the simulated data, we find that training with only a vanilla diffusion objective often leads to incorrect DoF behaviors due to the complexity of the task. This requires a stronger constraint during training. Inspired by the photographic principle that photos of different focus planes can be linearly blended into a multi-focus image, we propose a stacking constraint during training to enforce precise DoF manipulation. This constraint enhances model training by imposing physically grounded refocusing behavior that the focusing results should be faithfully aligned with the scene structure and the camera conditions so that they can be combined into the correct multi-focus image. We also construct a benchmark to evaluate the effectiveness of our refocusing model. Extensive experiments demonstrate that DiffCamera supports stable refocusing across a wide range of scenes, providing unprecedented control over DoF adjustments for photography and generative AI applications.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 17 of its 43 references that are in the map. First posted on arXiv 30 Sep 2025.

Builds on

17 of 43 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  4. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  5. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  6. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  7. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
  8. 2021Restormer: Efficient Transformer for High-Resolution Image Restorationcited by 1,627
  9. 2022Exploring CLIP for Assessing the Look and Feel of Imagescited by 991
  10. 2018Synthetic Depth-of-Field with a Single-Camera Mobile Phonecited by 71
  11. 2025MotionCanvas: Cinematic Shot Design with Controllable Image-to-Video Generationcited by 50
  12. 2022BokehMe: When Neural Rendering Meets Classical Renderingcited by 48
5 more
  1. 2019Synthetic Defocus and Look-Ahead Autofocus for Casual Videographycited by 28
  2. 2019SteReFo: Efficient Image Refocusing with Stereo Visioncited by 25
  3. 2021Stacked Deep Multi-Scale Hierarchical Network for Fast Bokeh Effect Rendering from a Single Imagecited by 18
  4. 2018DeepLens: Shallow Depth Of Field From A Single Imagecited by 13
  5. 2025Bokeh Diffusion: Defocus Blur Control in Text-to-Image Diffusion Modelscited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Learning to Refocus with Video Diffusion Models
  2. 2024DifuzCam: Replacing Camera Lens with a Mask and a Diffusion Model
  3. 2024Diffusion-based Light Field Synthesis
  4. 2026Diffusion Editing with Soft Mask: Pixel Level Redo of Image and Video with Adjustable Strength
  5. 2024Diffusing Differentiable Representations
  6. 2025DiffuEraser: A Diffusion Model for Video Inpainting
  7. 2026AReA: Adaptive Receptive-Field Attention for Efficient High-Resolution Diffusion Transformers
  8. 2024Diffusion-based image inpainting with internal learning