GBSD: Generative Bokeh with Stage Diffusion

Jieren Deng, Xin Zhou, Hao Tian, Zhihong Pan, Derek Aguiar
6/14/2023
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

The bokeh effect is an artistic technique that blurs out-of-focus areas in a photograph and has gained interest due to recent developments in text-to-image synthesis and the ubiquity of smart-phone cameras and photo-sharing apps. Prior work on rendering bokeh effects have focused on post hoc image manipulation to produce similar blurring effects in existing photographs using classical computer graphics or neural rendering techniques, but have either depth discontinuity artifacts or are restricted to reproducing bokeh effects that are present in the training data. More recent diffusion based models can synthesize images with an artistic style, but either require the generation of high-dimensional masks, expensive fine-tuning, or affect global image characteristics. In this paper, we present GBSD, the first generative text-to-image model that synthesizes photorealistic images with a bokeh style. Motivated by how image synthesis occurs progressively in diffusion models, our approach combines latent diffusion models with a 2-stage conditioning algorithm to render bokeh effects on semantically defined objects. Since we can focus the effect on objects, this semantic bokeh effect is more versatile than classical rendering techniques. We evaluate GBSD both quantitatively and qualitatively and demonstrate its ability to be applied in both text-to-image and image-to-image settings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{deng2023gbsd,
  title  = {GBSD: Generative Bokeh with Stage Diffusion},
  author = {Jieren Deng and Xin Zhou and Hao Tian and Zhihong Pan and Derek Aguiar},
  year   = {2023},
  eprint = {2306.08251},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.08251v3}
}

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/2306.08251.svg)](https://codeofpaper.com/paper/2306.08251)

Discussion