/defocustofocus

Primary LanguagePythonApache License 2.0Apache-2.0

Defocus to focus: Photo-realistic bokeh rendering by fusing defocus and radiance priors

Xianrui Luo1, Juewen Peng1, Ke Xian1, Zijin Wu1, Zhiguo Cao1

1 School of Artificial Intelligence and Automation, Huazhong University of Science and Technology

image

The link to the checkpoint trained on Ebb dataset

Stage 1: Defocus Hallucination

Stage 2: Deep Poisson Fusion

This repository is the official PyTorch implementation of the Information Fusion paper "Defocus to focus: Photo-realistic bokeh rendering by fusing defocus and radiance priors".

Usage

python test.py